drm/i915: disable DIP while changing the port
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 28 May 2012 19:42:54 +0000 (16:42 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 May 2012 21:01:09 +0000 (23:01 +0200)
commit72b78c9d19ee3e69988424c499498e50eaba0859
treea4a17ef09db2926718f53b9779b5638726193e3b
parent0dd87d2084fc9e1f663d3a2c24f0e3f94b7f20e4
drm/i915: disable DIP while changing the port

The register specification says we need to do this.

V2: Only write the register if the port is enabled.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c