mirror of
https://github.com/torvalds/linux.git
synced 2026-07-31 11:37:06 +02:00
drm/i915/bios: Define VBT blocks 6,7,8 (register tables) contents
Define the contents for VBT blocks: - Block 6 (Extended MMIO Register Table) - Block 7 (IO Software Flag Table) - Block 8 (MMIO SWF Register Table) All of these use the same basic layout, with two known variants: - data_access_size==0xce -> offset,value tuples are u8,u8 - data_access_size==0x02 -> offset,value tuples are u32,u32 Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240503122449.27266-13-ville.syrjala@linux.intel.com Reviewed-by: Jani Nikula <jani.nikula@intel.com>
This commit is contained in:
parent
2e8b807317
commit
2318da471a
|
|
@ -634,6 +634,22 @@ struct bdb_generic_mode_table_mgm {
|
|||
struct generic_mode_timings timings[3];
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* Block 6 - Extended MMIO Register Table, VBIOS only
|
||||
* Block 7 - IO Software Flag Table, VBIOS only
|
||||
* Block 8 - MMIO SWF Register Table, VBIOS only
|
||||
*/
|
||||
struct bdb_reg_table {
|
||||
u16 table_id;
|
||||
u8 data_access_size;
|
||||
/*
|
||||
* offset,value tuples:
|
||||
* data_access_size==0xce -> u8,u8
|
||||
* data_access_size==0x02 -> u32,u32
|
||||
*/
|
||||
/* u16 table_end_marker; */
|
||||
} __packed;
|
||||
|
||||
/*
|
||||
* Block 9 - SRD Feature Block
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user