]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Dual link needs Shutdown and Turn on packet for both ports
authorGaurav K Singh <gaurav.k.singh@intel.com>
Thu, 4 Dec 2014 05:28:51 +0000 (10:58 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 5 Dec 2014 14:28:26 +0000 (15:28 +0100)
commit4510cd779e5897eeb8691aecbd639bb62ec27d55
tree4c131f818cd98a0a4cd14315830d93432ed4f7cd
parenta9da9bce88ee842c7904b5670c035ca759e77238
drm/i915: Dual link needs Shutdown and Turn on packet for both ports

For dual link MIPI panels, SHUTDOWN packet needs to send to both Ports
A & C during MIPI encoder disabling sequence. Similarly, TURN ON packet
to be sent to both Ports during MIPI encoder enabling sequence.

v2: Address review comments by Jani
    - Used a for loop instead of do-while loop.

v3: Used for_each_dsi_port macro instead of for loop

Signed-off-by: Gaurav K Singh <gaurav.k.singh@intel.com>
Signed-off-by: Shobhit Kumar <shobhit.kumar@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_cmd.c