Skip to content

Commit de78859

Browse files
committed
drm/asahi: fw/channels: Identify subpipe (?) field in tvb ack
Signed-off-by: Asahi Lina <[email protected]>
1 parent bb1ea27 commit de78859

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,8 @@ pub(crate) enum DeviceControlMsg {
177177
buffer_slot: u32,
178178
vm_slot: u32,
179179
counter: u32,
180-
__pad: Pad<{ DEVICECONTROL_SZ::ver - 0x10 }>,
180+
subpipe: u32,
181+
__pad: Pad<{ DEVICECONTROL_SZ::ver - 0x14 }>,
181182
},
182183
Unk0e(Array<DEVICECONTROL_SZ::ver, u8>),
183184
Unk0f(Array<DEVICECONTROL_SZ::ver, u8>),

drivers/gpu/drm/asahi/gpu.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1248,6 +1248,7 @@ impl GpuManager for GpuManager::ver {
12481248
buffer_slot,
12491249
vm_slot,
12501250
counter,
1251+
subpipe: 0, // TODO
12511252
__pad: Default::default(),
12521253
};
12531254

0 commit comments

Comments
 (0)