]> git.karo-electronics.de Git - karo-tx-linux.git/commit
drm/i915: set CPT FDI RX polarity bits based on VBT
authorPaulo Zanoni <paulo.r.zanoni@intel.com>
Mon, 8 Apr 2013 18:48:07 +0000 (15:48 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 11 May 2013 20:54:02 +0000 (13:54 -0700)
commit12622510457a776e4871e314c99ca1e279f8c399
tree66b3744b4d6c90a56e290374a418141283cc6254
parentcbb83bb7bea7effffbd4097b3b355780e07f273d
drm/i915: set CPT FDI RX polarity bits based on VBT

commit 3f704fa2778d3fe45e6529825a5c7a8bcbc686f4 upstream.

Check the VBT to see if the machine has inverted FDI RX polarity on
CPT. Based on this bit, set the appropriate bit on the TRANS_CHICKEN2
registers.

This should fix some machines that were showing black screens on all
outputs.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=60029
Signed-off-by: Paulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_bios.c
drivers/gpu/drm/i915/intel_bios.h
drivers/gpu/drm/i915/intel_pm.c