From: ling.ma@intel.com Date: Thu, 25 Jun 2009 03:55:57 +0000 (+0800) Subject: drm/i915: Disable VGA output when doing DRM_MODE_DPMS_OFF. X-Git-Tag: MMI-PSA29.97-13-9~27424^2~12 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=febc7694a55277b70cd662de05ed8a957685959c;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git drm/i915: Disable VGA output when doing DRM_MODE_DPMS_OFF. Signed-off-by: Ma Ling Signed-off-by: Eric Anholt --- diff --git a/drivers/gpu/drm/i915/intel_crt.c b/drivers/gpu/drm/i915/intel_crt.c index af26028c2514..954b8599fc76 100644 --- a/drivers/gpu/drm/i915/intel_crt.c +++ b/drivers/gpu/drm/i915/intel_crt.c @@ -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: