diff options
author | Deepak M <m.deepak@intel.com> | 2016-03-30 10:03:40 -0400 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2016-04-26 08:49:27 -0400 |
commit | 9f7c5b17302489f4b880b9adcd7bd78e3e9fcac9 (patch) | |
tree | 04ca0487a486ecd8f1bff7effd894923c5b116c2 /drivers/gpu/drm/i915/intel_bios.h | |
parent | e7156c833903fbfc77407816af56a97945b86b3a (diff) |
drm/i915: Parsing the PWM cntrl and CABC ON/OFF fields in VBT
For dual link panel scenarios there are new fields added in the
VBT which indicate on which port the PWM cntrl and CABC ON/OFF
commands needs to be sent.
v2: Moving the comment to intel_dsi.h(Jani)
v3: Renaming the field names (Jani)
v4 by Jani: make this patch only about VBT
Cc: Jani Nikula <jani.nikula@intel.com>
Cc: Daniel Vetter <daniel.vetter@intel.com>
Cc: Yetunde Adebisi <yetundex.adebisi@intel.com>
Signed-off-by: Deepak M <m.deepak@intel.com>
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1459346623-30752-2-git-send-email-jani.nikula@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_bios.h')
-rw-r--r-- | drivers/gpu/drm/i915/intel_bios.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/drivers/gpu/drm/i915/intel_bios.h b/drivers/gpu/drm/i915/intel_bios.h index ab0ea315eddb..149c3226e895 100644 --- a/drivers/gpu/drm/i915/intel_bios.h +++ b/drivers/gpu/drm/i915/intel_bios.h | |||
@@ -113,7 +113,13 @@ struct mipi_config { | |||
113 | u16 dual_link:2; | 113 | u16 dual_link:2; |
114 | u16 lane_cnt:2; | 114 | u16 lane_cnt:2; |
115 | u16 pixel_overlap:3; | 115 | u16 pixel_overlap:3; |
116 | u16 rsvd3:9; | 116 | u16 rgb_flip:1; |
117 | #define DL_DCS_PORT_A 0x00 | ||
118 | #define DL_DCS_PORT_C 0x01 | ||
119 | #define DL_DCS_PORT_A_AND_C 0x02 | ||
120 | u16 dl_dcs_cabc_ports:2; | ||
121 | u16 dl_dcs_backlight_ports:2; | ||
122 | u16 rsvd3:4; | ||
117 | 123 | ||
118 | u16 rsvd4; | 124 | u16 rsvd4; |
119 | 125 | ||