]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Software workaround for getting the HW status of DSI Port C on BYT
authorGaurav K Singh <gaurav.k.singh@intel.com>
Tue, 9 Dec 2014 05:29:20 +0000 (10:59 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Wed, 10 Dec 2014 16:47:22 +0000 (17:47 +0100)
commita936c429b04468c8191d0808e6d280c9346df708
tree617cd1c45aa025c0011fc0720ffca1f60359ff1e
parent17ae3f5e2a0003bd18fed19ed42b01531a4aa5f2
drm/i915: Software workaround for getting the HW status of DSI Port C on BYT

Due to hardware limitations on BYT, MIPI Port C DPI Enable bit
does not get set. To check whether DSI Port C was enabled in BIOS,
check the Pipe B enable bit for DSI Port C. In hardware, DSI Port C
is linked with Pipe B.

v2: Addressed review comments of Jani, Nikula
    - Used platform checks for this software workaround for BYT

Signed-off-by: Gaurav K Singh <gaurav.k.singh@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
drivers/gpu/drm/i915/intel_dsi.c