Message ID | 20240503122449.27266-30-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 51 (Fixed Set Mode Table). > > 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 | 11 +++++++++++ > 1 file changed, 11 insertions(+) > > diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h > index 5f1f485f8bf7..8b4f76c54829 100644 > --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h > +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h > @@ -179,6 +179,7 @@ enum bdb_block_id { > BDB_LFP_POWER = 44, > BDB_EDP_BFI = 45, /* 160+ */ > BDB_CHROMATICITY = 46, /* 169+ */ > + BDB_FIXED_SET_MODE = 51, /* 172+ */ > BDB_MIPI_CONFIG = 52, /* 175+ */ > BDB_MIPI_SEQUENCE = 53, /* 177+ */ > BDB_COMPRESSION_PARAMETERS = 56, /* 213+ */ > @@ -1390,6 +1391,16 @@ struct bdb_chromaticity { > struct chromaticity chromaticity[16]; > } __packed; > > +/* > + * Block 51 - Fixed Set Mode Table > + */ > + > +struct bdb_fixed_set_mode { > + u8 enable; > + u32 x_res; > + u32 y_res; > +} __packed; > + > /* > * Block 52 - MIPI Configuration Block > */
diff --git a/drivers/gpu/drm/i915/display/intel_vbt_defs.h b/drivers/gpu/drm/i915/display/intel_vbt_defs.h index 5f1f485f8bf7..8b4f76c54829 100644 --- a/drivers/gpu/drm/i915/display/intel_vbt_defs.h +++ b/drivers/gpu/drm/i915/display/intel_vbt_defs.h @@ -179,6 +179,7 @@ enum bdb_block_id { BDB_LFP_POWER = 44, BDB_EDP_BFI = 45, /* 160+ */ BDB_CHROMATICITY = 46, /* 169+ */ + BDB_FIXED_SET_MODE = 51, /* 172+ */ BDB_MIPI_CONFIG = 52, /* 175+ */ BDB_MIPI_SEQUENCE = 53, /* 177+ */ BDB_COMPRESSION_PARAMETERS = 56, /* 213+ */ @@ -1390,6 +1391,16 @@ struct bdb_chromaticity { struct chromaticity chromaticity[16]; } __packed; +/* + * Block 51 - Fixed Set Mode Table + */ + +struct bdb_fixed_set_mode { + u8 enable; + u32 x_res; + u32 y_res; +} __packed; + /* * Block 52 - MIPI Configuration Block */