drm/i915: enable DIP before enabling each InfoFrame
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 28 May 2012 19:42:51 +0000 (16:42 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 30 May 2012 19:51:03 +0000 (21:51 +0200)
commit822974aea875348e69fb6b6d2078ae8372eeec66
treed4723dfee4362d1b30dbc8a83fb7b04357056d67
parentf278d97215d3cca43aa1569b5ae712cc17e74702
drm/i915: enable DIP before enabling each InfoFrame

So the write_infoframe function can assume the DIP is on.

V2: Be more defensive and add WARN().

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