aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_drv.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/i915/intel_drv.h')
-rw-r--r--drivers/gpu/drm/i915/intel_drv.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/intel_drv.h b/drivers/gpu/drm/i915/intel_drv.h
index 2f47dcf0b367..7b330e76a435 100644
--- a/drivers/gpu/drm/i915/intel_drv.h
+++ b/drivers/gpu/drm/i915/intel_drv.h
@@ -184,6 +184,22 @@ struct intel_crtc {
184#define DIP_VERSION_AVI 0x2 184#define DIP_VERSION_AVI 0x2
185#define DIP_LEN_AVI 13 185#define DIP_LEN_AVI 13
186 186
187#define DIP_TYPE_SPD 0x3
188#define DIP_VERSION_SPD 0x1
189#define DIP_LEN_SPD 25
190#define DIP_SPD_UNKNOWN 0
191#define DIP_SPD_DSTB 0x1
192#define DIP_SPD_DVDP 0x2
193#define DIP_SPD_DVHS 0x3
194#define DIP_SPD_HDDVR 0x4
195#define DIP_SPD_DVC 0x5
196#define DIP_SPD_DSC 0x6
197#define DIP_SPD_VCD 0x7
198#define DIP_SPD_GAME 0x8
199#define DIP_SPD_PC 0x9
200#define DIP_SPD_BD 0xa
201#define DIP_SPD_SCD 0xb
202
187struct dip_infoframe { 203struct dip_infoframe {
188 uint8_t type; /* HB0 */ 204 uint8_t type; /* HB0 */
189 uint8_t ver; /* HB1 */ 205 uint8_t ver; /* HB1 */
@@ -208,6 +224,11 @@ struct dip_infoframe {
208 uint16_t left_bar_end; 224 uint16_t left_bar_end;
209 uint16_t right_bar_start; 225 uint16_t right_bar_start;
210 } avi; 226 } avi;
227 struct {
228 uint8_t vn[8];
229 uint8_t pd[16];
230 uint8_t sdi;
231 } spd;
211 uint8_t payload[27]; 232 uint8_t payload[27];
212 } __attribute__ ((packed)) body; 233 } __attribute__ ((packed)) body;
213} __attribute__((packed)); 234} __attribute__((packed));