Commit 2318da47 authored by Ville Syrjälä's avatar Ville Syrjälä

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: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240503122449.27266-13-ville.syrjala@linux.intel.comReviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 2e8b8073
......@@ -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
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment