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)
commitc0beefd29fcb1ca998f0f9ba41be8539f8eeba9b
tree617cd1c45aa025c0011fc0720ffca1f60359ff1e
parentbf344e8090110a70bd630563e1324b103bdfecb2
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