]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: enable dip before writing data on gen4
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 3 May 2012 01:55:43 +0000 (22:55 -0300)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 3 May 2012 13:55:38 +0000 (15:55 +0200)
commit5de1e7f0903e07d071e802f1ce5a3893f6412566
tree2dbb851688b0494ada3828816a60f2e1b2fa4e38
parent9210ee2b54ef001ff289ffd78209044285b3b1ec
drm/i915: enable dip before writing data on gen4

While testing with the intel_infoframes tool on gen4, I see that when
video DIP is disabled, what we write to the DATA memory is not exactly
what we read back later.

This regression has been introduce in

commit 2f8fa3027c539f53f56f0ef86cfd24d7778fc6f6
Author: Jesse Barnes <jbarnes@virtuousgeek.org>
Date:   Thu Sep 22 11:16:00 2011 +0530

    drm/i915: fix ILK+ infoframe support

That commit was setting VIDEO_DIP_CTL to 0 when initializing, which
caused the problem.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=43947
Cc: stable@kernel.org
Tested-by: Yang Guang <guang.a.yang@intel.com>
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Eugeni Dodonov <eugeni.dodonov@intel.com>
[danvet: Pimped commit message by using the usual commit citation
layout.]
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_hdmi.c