Skip to content

Commit 5e5e00f

Browse files
committed
drm/asahi: render: Remove sync TVB growth support
We decided we can't reasonably support this given fence forward progress requirements. Signed-off-by: Asahi Lina <[email protected]>
1 parent fc62c4f commit 5e5e00f

1 file changed

Lines changed: 3 additions & 8 deletions

File tree

drivers/gpu/drm/asahi/queue/render.rs

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,6 @@ impl super::Queue::ver {
238238
if cmdbuf.flags
239239
& !(uapi::ASAHI_RENDER_NO_CLEAR_PIPELINE_TEXTURES
240240
| uapi::ASAHI_RENDER_SET_WHEN_RELOADING_Z_OR_S
241-
| uapi::ASAHI_RENDER_SYNC_TVB_GROWTH
242241
| uapi::ASAHI_RENDER_PROCESS_EMPTY_TILES
243242
| uapi::ASAHI_RENDER_NO_VERTEX_CLUSTERING
244243
| uapi::ASAHI_RENDER_MSAA_ZS) as u64
@@ -642,8 +641,7 @@ impl super::Queue::ver {
642641
unk_50: 0x1, // fixed
643642
event_generation: self.id as u32,
644643
buffer_slot: scene.slot(),
645-
sync_grow: (cmdbuf.flags & uapi::ASAHI_RENDER_SYNC_TVB_GROWTH as u64
646-
!= 0) as u32,
644+
sync_grow: 0,
647645
event_seq: U64(ev_frag.event_seq),
648646
unk_68: 0,
649647
unk_758_flag: inner_weak_ptr!(ptr, unk_758_flag),
@@ -1022,8 +1020,7 @@ impl super::Queue::ver {
10221020
encoder_params <- try_init!(fw::job::raw::EncoderParams {
10231021
unk_8: (cmdbuf.flags & uapi::ASAHI_RENDER_SET_WHEN_RELOADING_Z_OR_S as u64
10241022
!= 0) as u32,
1025-
sync_grow: (cmdbuf.flags & uapi::ASAHI_RENDER_SYNC_TVB_GROWTH as u64
1026-
!= 0) as u32,
1023+
sync_grow: 0,
10271024
unk_10: 0x0, // fixed
10281025
encoder_id: cmdbuf.encoder_id,
10291026
unk_18: 0x0, // fixed
@@ -1492,9 +1489,7 @@ impl super::Queue::ver {
14921489
}),
14931490
unk_55c: 0,
14941491
unk_560: 0,
1495-
sync_grow: (cmdbuf.flags
1496-
& uapi::ASAHI_RENDER_SYNC_TVB_GROWTH as u64
1497-
!= 0) as u32,
1492+
sync_grow: 0,
14981493
unk_568: 0,
14991494
unk_56c: 0,
15001495
meta <- try_init!(fw::job::raw::JobMeta {

0 commit comments

Comments
 (0)