summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_dsi.h
diff options
context:
space:
mode:
authorShobhit Kumar2014-04-14 07:48:24 +0200
committerDaniel Vetter2014-05-15 22:43:48 +0200
commitdfba2e2d3302b509fbf8bccd71ca5b2e0b47fefa (patch)
tree7fd8b6c34b4d90b42e03d32dcabf8f4c9d1ccc4c /drivers/gpu/drm/i915/intel_dsi.h
parentdrm/i915: add null render states for gen6, gen7 and gen8 (diff)
downloadkernel-qcow2-linux-dfba2e2d3302b509fbf8bccd71ca5b2e0b47fefa.tar.gz
kernel-qcow2-linux-dfba2e2d3302b509fbf8bccd71ca5b2e0b47fefa.tar.xz
kernel-qcow2-linux-dfba2e2d3302b509fbf8bccd71ca5b2e0b47fefa.zip
drm/i915: Correct MIPI operation mode as per expected values from VBT
In VBT fields operation mode is 0 for Video mode and 1 for command mode. This field will be directly used as is in generic panel driver. So adjust accordingly. Signed-off-by: Shobhit Kumar <shobhit.kumar@intel.com> Reviewed-by: Damien Lespiau <damien.lespiau@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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_dsi.h b/drivers/gpu/drm/i915/intel_dsi.h
index 550714c7860e..16494225ed14 100644
--- a/drivers/gpu/drm/i915/intel_dsi.h
+++ b/drivers/gpu/drm/i915/intel_dsi.h
@@ -31,7 +31,6 @@
struct intel_dsi_device {
unsigned int panel_id;
const char *name;
- int type;
const struct intel_dsi_dev_ops *dev_ops;
void *dev_priv;
};
@@ -85,6 +84,9 @@ struct intel_dsi {
/* virtual channel */
int channel;
+ /* Video mode or command mode */
+ u16 operation_mode;
+
/* number of DSI lanes */
unsigned int lane_count;