diff options
author | Jani Nikula <jani.nikula@intel.com> | 2014-11-14 16:54:22 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2014-12-03 09:35:25 +0100 |
commit | 17af40a835f1805e8d0523dddf1fbabe06abf230 (patch) | |
tree | 33f7eac1f4302bca7faa116f8e941782812353a3 /drivers/gpu/drm/i915/intel_dsi.h | |
parent | e7d7cad08d35329a5a783a0aa620560223fe0eb8 (diff) | |
download | lwn-17af40a835f1805e8d0523dddf1fbabe06abf230.tar.gz lwn-17af40a835f1805e8d0523dddf1fbabe06abf230.zip |
drm/i915/dsi: add ports to intel_dsi to describe the ports being driven
Later on this can include multiple ports (e.g. (1 << PORT_A) | (1 <<
PORT_C)) to describe dual link DSI.
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Gaurav K Singh <gaurav.k.singh@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'drivers/gpu/drm/i915/intel_dsi.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_dsi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_dsi.h b/drivers/gpu/drm/i915/intel_dsi.h index 97a6f621774f..7f5d0280b9d7 100644 --- a/drivers/gpu/drm/i915/intel_dsi.h +++ b/drivers/gpu/drm/i915/intel_dsi.h @@ -78,6 +78,9 @@ struct intel_dsi { struct intel_connector *attached_connector; + /* bit mask of ports being driven */ + u16 ports; + /* if true, use HS mode, otherwise LP */ bool hs; |