Skip to content

Commit

Permalink
drm/i915: start writing infoframes at address 0 on gen 4
Browse files Browse the repository at this point in the history
Make sure we're doing the right thing, just like we do on gen5+.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
  • Loading branch information
Paulo Zanoni authored and Daniel Vetter committed May 8, 2012
1 parent 22509ec commit 1d4f85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/i915/intel_hdmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ static void i9xx_write_infoframe(struct drm_encoder *encoder,
else
return;

val &= ~VIDEO_DIP_SELECT_MASK;
val &= ~(VIDEO_DIP_SELECT_MASK | 0xf); /* clear DIP data offset */
val |= intel_infoframe_index(frame);

val |= VIDEO_DIP_ENABLE;
Expand Down

0 comments on commit 1d4f85a

Please sign in to comment.