Skip to content

Commit 8eb140f

Browse files
asahilinajannau
authored andcommitted
drm/asahi: initdata: Document more stuff
Signed-off-by: Asahi Lina <[email protected]>
1 parent 8fdb6ad commit 8eb140f

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

drivers/gpu/drm/asahi/fw/initdata.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -793,7 +793,7 @@ pub(crate) mod raw {
793793
pub(crate) pad_b10_0: Array<0x8, u8>,
794794

795795
pub(crate) unk_b10: u32,
796-
pub(crate) pad_b14: Pad<0x8>,
796+
pub(crate) timer_offset: U64,
797797
pub(crate) unk_b1c: u32,
798798
pub(crate) unk_b20: u32,
799799
pub(crate) unk_b24: u32,
@@ -1130,6 +1130,8 @@ pub(crate) mod raw {
11301130
#[ver((G >= G14X && V < V13_3) || (G <= G14 && V >= V13_3))]
11311131
pub(crate) unk_x_pad: Array<0x4, u8>,
11321132

1133+
// bit 0: sets sgx_reg 0x17620
1134+
// bit 1: sets sgx_reg 0x17630
11331135
pub(crate) fault_control: u32,
11341136
pub(crate) do_init: u32,
11351137
pub(crate) unk_10e88: Array<0x188, u8>,
@@ -1183,7 +1185,7 @@ pub(crate) mod raw {
11831185
#[ver(V >= V13_0B4)]
11841186
pub(crate) unk_118e4_0: u32,
11851187

1186-
pub(crate) unk_118e4: u32,
1188+
pub(crate) cdm_context_store_latency_threshold: u32,
11871189
pub(crate) unk_118e8: u32,
11881190
pub(crate) unk_118ec: Array<0x400, u8>,
11891191
pub(crate) unk_11cec: Array<0x54, u8>,

drivers/gpu/drm/asahi/initdata.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -537,6 +537,7 @@ impl<'a> InitDataBuilder::ver<'a> {
537537
#[ver(V < V13_0B4)]
538538
unk_ae4: Array::new([0x0, 0xf, 0x3f, 0x3f]),
539539
unk_b10: 0x1,
540+
timer_offset: U64(0),
540541
unk_b24: 0x1,
541542
unk_b28: 0x1,
542543
unk_b2c: 0x1,

0 commit comments

Comments
 (0)