Skip to content

Commit b6f6fae

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 <lina@asahilina.net>
1 parent fded4da commit b6f6fae

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
@@ -639,8 +638,7 @@ impl super::Queue::ver {
639638
unk_50: 0x1, // fixed
640639
event_generation: self.id as u32,
641640
buffer_slot: scene.slot(),
642-
sync_grow: (cmdbuf.flags & uapi::ASAHI_RENDER_SYNC_TVB_GROWTH as u64
643-
!= 0) as u32,
641+
sync_grow: 0,
644642
event_seq: U64(ev_frag.event_seq),
645643
unk_68: 0,
646644
unk_758_flag: inner_weak_ptr!(ptr, unk_758_flag),
@@ -1019,8 +1017,7 @@ impl super::Queue::ver {
10191017
encoder_params <- try_init!(fw::job::raw::EncoderParams {
10201018
unk_8: (cmdbuf.flags & uapi::ASAHI_RENDER_SET_WHEN_RELOADING_Z_OR_S as u64
10211019
!= 0) as u32,
1022-
sync_grow: (cmdbuf.flags & uapi::ASAHI_RENDER_SYNC_TVB_GROWTH as u64
1023-
!= 0) as u32,
1020+
sync_grow: 0,
10241021
unk_10: 0x0, // fixed
10251022
encoder_id: cmdbuf.encoder_id,
10261023
unk_18: 0x0, // fixed
@@ -1489,9 +1486,7 @@ impl super::Queue::ver {
14891486
}),
14901487
unk_55c: 0,
14911488
unk_560: 0,
1492-
sync_grow: (cmdbuf.flags
1493-
& uapi::ASAHI_RENDER_SYNC_TVB_GROWTH as u64
1494-
!= 0) as u32,
1489+
sync_grow: 0,
14951490
unk_568: 0,
14961491
unk_56c: 0,
14971492
meta <- try_init!(fw::job::raw::JobMeta {

0 commit comments

Comments
 (0)