]> git.karo-electronics.de Git - linux-beck.git/commit
drm/i915: Add support for port enable/disable for dual link configuration
authorGaurav K Singh <gaurav.k.singh@intel.com>
Fri, 5 Dec 2014 08:39:28 +0000 (14:09 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Fri, 5 Dec 2014 14:28:04 +0000 (15:28 +0100)
commit369602d370fac9d3bda125c8cc36c8f779910bf1
tree7324c558abe88680e873a6342c34656c47f60ecb
parent8edfbb8bfc7ef291b12f683f40de8cf274ae8ed3
drm/i915: Add support for port enable/disable for dual link configuration

For Dual Link MIPI Panels, both Port A and Port C should be enabled
during the MIPI encoder enabling sequence. Similarly, during the
disabling sequence, both ports needs to be disabled.

v2: Used for_each_dsi_port macro instead of for loop

v3: Used intel_dsi->ports instead of dual_link var for dual link configuration check

v4: Masking of the required MIPI port bits before writing proper values

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/i915_reg.h
drivers/gpu/drm/i915/intel_dsi.c
drivers/gpu/drm/i915/intel_dsi.h
drivers/gpu/drm/i915/intel_dsi_panel_vbt.c