]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: fix DP AUX register definitions on Haswell
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Thu, 18 Oct 2012 14:25:08 +0000 (16:25 +0200)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 18 Oct 2012 18:43:25 +0000 (20:43 +0200)
commite5d08c510faa6daefa54d55cf774da0a714088d6
tree9d48d26fee453c547f747d2081b1ea90294c46ec
parent7f03eb52c47664c9fda164a62292a5fc39151a2f
drm/i915: fix DP AUX register definitions on Haswell

The old rule that the AUX registers are just an offset (+4 and +10)
from output_reg is not true anymore, since output_reg in on the CPU
and some AUX regs are on the PCH.

Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
[danvet: use the existing #defines as spotted by Damien Lespiau.]
Reviewed-by: Damien Lespiau <damien.lespiau@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dp.c