drm/i915: Disable VGA output when doing DRM_MODE_DPMS_OFF.
authorling.ma@intel.com <ling.ma@intel.com>
Thu, 25 Jun 2009 03:55:57 +0000 (11:55 +0800)
committerEric Anholt <eric@anholt.net>
Tue, 7 Jul 2009 18:49:01 +0000 (11:49 -0700)
Signed-off-by: Ma Ling <ling.ma@intel.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
drivers/gpu/drm/i915/intel_crt.c

index af26028c2514dc346390e62a8eeaf1ab72a73716..954b8599fc76113821991c9b7093346c3d81d67b 100644 (file)
@@ -46,7 +46,7 @@ static void intel_crt_dpms(struct drm_encoder *encoder, int mode)
 
        temp = I915_READ(reg);
        temp &= ~(ADPA_HSYNC_CNTL_DISABLE | ADPA_VSYNC_CNTL_DISABLE);
-       temp |= ADPA_DAC_ENABLE;
+       temp &= ~ADPA_DAC_ENABLE;
 
        switch(mode) {
        case DRM_MODE_DPMS_ON: