Message ID | 20240503122449.27266-27-ville.syrjala@linux.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | drm/i915/bios: Define (almost) all BDB blocks | expand |
On Fri, 03 May 2024, Ville Syrjala <ville.syrjala@linux.intel.com> wrote: > From: Ville Syrjälä <ville.syrjala@linux.intel.com> > > Define the contents of VBT block 28 (EFP DTD). > > Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> > --- > drivers/gpu/drm/i915/display/intel_vbt_defs.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > > diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h > index 1b94d4aba00a..716a339f6e2a 100644 > --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h > +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h > @@ -167,6 +167,7 @@ enum bdb_block_id { > BDB_SDVO_LVDS_PPS = 25, > BDB_TV_OPTIONS = 26, > BDB_EDP = 27, > + BDB_EFP_DTD = 28, /* 161+ */ > BDB_DISPLAY_SELECT_IVB = 29, /* 164+ */ > BDB_DISPLAY_REMOVE_IVB = 30, /* 164+ */ > BDB_DISPLAY_SELECT_HSW = 31, /* 166+ */ > @@ -1072,6 +1073,14 @@ struct bdb_edp { > u16 edp_dsc_disable; /* 251+ */ > } __packed; > > +/* > + * Block 28 - EFP DTD Block > + */ > + > +struct bdb_efp_dtd { > + struct bdb_edid_dtd dtd[3]; > +} __packed; > + > /* > * Block 29 - Toggle List Block (IVB) > */
diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h index 1b94d4aba00a..716a339f6e2a 100644 --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h @@ -167,6 +167,7 @@ enum bdb_block_id { BDB_SDVO_LVDS_PPS = 25, BDB_TV_OPTIONS = 26, BDB_EDP = 27, + BDB_EFP_DTD = 28, /* 161+ */ BDB_DISPLAY_SELECT_IVB = 29, /* 164+ */ BDB_DISPLAY_REMOVE_IVB = 30, /* 164+ */ BDB_DISPLAY_SELECT_HSW = 31, /* 166+ */ @@ -1072,6 +1073,14 @@ struct bdb_edp { u16 edp_dsc_disable; /* 251+ */ } __packed; +/* + * Block 28 - EFP DTD Block + */ + +struct bdb_efp_dtd { + struct bdb_edid_dtd dtd[3]; +} __packed; + /* * Block 29 - Toggle List Block (IVB) */