File tree Expand file tree Collapse file tree
drivers/gpu/drm/asahi/queue Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -504,7 +504,10 @@ impl super::Queue::ver {
504504 unks. aux_fb_unk = 0x100000 ;
505505 }
506506 if unks. flags & uapi:: ASAHI_RENDER_UNK_SET_G14_UNK as u64 == 0 {
507+ #[ ver( G >= G14 ) ]
507508 unks. g14_unk = 0x4040404 ;
509+ #[ ver( G < G14 ) ]
510+ unks. g14_unk = 0 ;
508511 }
509512 if unks. flags & uapi:: ASAHI_RENDER_UNK_SET_FRG_UNK_140 as u64 == 0 {
510513 unks. frg_unk_140 = 0x8c60 ;
@@ -518,7 +521,7 @@ impl super::Queue::ver {
518521 }
519522 if unks. flags & uapi:: ASAHI_RENDER_UNK_SET_LOAD_BGOBJVALS as u64 == 0 {
520523 unks. load_bgobjvals = cmdbuf. isp_bgobjvals . into ( ) ;
521- #[ ver( G < G14X ) ]
524+ #[ ver( G < G14 ) ]
522525 unks. load_bgobjvals |= 0x400 ;
523526 }
524527 if unks. flags & uapi:: ASAHI_RENDER_UNK_SET_FRG_UNK_38 as u64 == 0 {
@@ -946,10 +949,7 @@ impl super::Queue::ver {
946949 address: U64 ( cmdbuf. partial_reload_pipeline as u64 ) ,
947950 } ,
948951 zls_ctrl: U64 ( unks. reload_zlsctrl) ,
949- #[ ver( G >= G14X ) ]
950952 unk_290: U64 ( unks. g14_unk) ,
951- #[ ver( G < G14X ) ]
952- unk_290: U64 ( 0x0 ) ,
953953 depth_buffer_ptr1: U64 ( cmdbuf. depth_buffer_load) ,
954954 unk_2a0: U64 ( 0x0 ) ,
955955 unk_2a8: U64 ( 0x0 ) ,
You can’t perform that action at this time.
0 commit comments