drm/i915: Added port as parameter to the functions which does read/write of DSI Contr...
authorGaurav K Singh <gaurav.k.singh@intel.com>
Thu, 4 Dec 2014 05:28:48 +0000 (10:58 +0530)
committerDaniel Vetter <daniel.vetter@ffwll.ch>
Thu, 4 Dec 2014 11:21:58 +0000 (12:21 +0100)
commit8f4d2683b02ad8059bf1861acef64c022b9d5ce6
tree541c02f5ed128a8208c21f7b6f2ccd5035885f26
parent5505a244901f28e21d7267246511a1ca2ce79bcc
drm/i915: Added port as parameter to the functions which does read/write of DSI Controller

This patch is in preparation of DSI dual link panels. For dual link
panels, few packets needs to be sent to Port A or Port C or both. Based
on the portno from MIPI Sequence Block#53, these sequences needs to be
sent accordingly.

v2: Addressed review comments by Jani
    - port variables named properly

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