[Intel-gfx] [PATCH 13/14] drm/i915: ibx_write_infoframe can disable AVI
Paulo Zanoni
przanoni at gmail.com
Fri May 4 22:18:25 CEST 2012
From: Paulo Zanoni <paulo.r.zanoni at intel.com>
IBX does not need the workaround used in cpt_write_infoframe that
requires the AVI frame to be enabled while being updated.
Signed-off-by: Paulo Zanoni <paulo.r.zanoni at intel.com>
---
drivers/gpu/drm/i915/intel_hdmi.c | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
diff --git a/drivers/gpu/drm/i915/intel_hdmi.c b/drivers/gpu/drm/i915/intel_hdmi.c
index 6c9c901..e49cd22 100644
--- a/drivers/gpu/drm/i915/intel_hdmi.c
+++ b/drivers/gpu/drm/i915/intel_hdmi.c
@@ -201,13 +201,7 @@ static void ibx_write_infoframe(struct drm_encoder *encoder,
val &= ~(VIDEO_DIP_SELECT_MASK | 0xf); /* clear DIP data offset */
val |= intel_infoframe_index(frame);
- /* The DIP control register spec says that we need to update the AVI
- * infoframe without clearing its enable bit */
- if (frame->type == DIP_TYPE_AVI)
- val |= VIDEO_DIP_ENABLE_AVI;
- else
- val &= ~intel_infoframe_enable(frame);
-
+ val &= ~intel_infoframe_enable(frame);
val |= VIDEO_DIP_ENABLE;
I915_WRITE(reg, val);
--
1.7.10
More information about the Intel-gfx
mailing list