X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fpanfrost%2Finclude%2Fpanfrost-job.h;h=b02d0abcde93c41d7ff00421ed40732d676dce92;hb=7ffd3946055ec2761d7a475559f580c587e7ca78;hp=0a2afc32685708e4a2297462e5acfcb35c5faee4;hpb=6148d1be4bb52039ccda57f25a9d27ecb7aa7541;p=mesa.git diff --git a/src/panfrost/include/panfrost-job.h b/src/panfrost/include/panfrost-job.h index 0a2afc32685..b02d0abcde9 100644 --- a/src/panfrost/include/panfrost-job.h +++ b/src/panfrost/include/panfrost-job.h @@ -1041,12 +1041,13 @@ struct bifrost_tiler_heap_meta { } __attribute__((packed)); struct bifrost_tiler_meta { - u64 zero0; + u32 tiler_heap_next_start; /* To be written by the GPU */ + u32 used_hierarchy_mask; /* To be written by the GPU */ u16 hierarchy_mask; /* Five values observed: 0xa, 0x14, 0x28, 0x50, 0xa0 */ u16 flags; u16 width; u16 height; - u64 zero1; + u64 zero0; mali_ptr tiler_heap_meta; /* TODO what is this used for? */ u64 zeros[20]; @@ -1347,17 +1348,18 @@ struct mali_sampler_descriptor { struct bifrost_sampler_descriptor { uint8_t unk1; - enum mali_wrap_mode wrap_s : 4; - enum mali_wrap_mode wrap_t : 4; enum mali_wrap_mode wrap_r : 4; + enum mali_wrap_mode wrap_t : 4; + enum mali_wrap_mode wrap_s : 4; uint8_t unk8 : 4; - uint8_t unk2 : 3; - uint8_t min_filter : 1; + uint8_t unk2 : 1; uint8_t norm_coords : 1; + uint8_t unk3 : 1; + uint8_t min_filter : 1; uint8_t zero1 : 1; - uint8_t mip_filter : 1; uint8_t mag_filter : 1; + uint8_t mip_filter : 1; int16_t min_lod; int16_t max_lod; @@ -1636,7 +1638,8 @@ struct mali_rt_format { unsigned nr_channels : 2; /* MALI_POSITIVE */ - unsigned unk3 : 5; + unsigned unk3 : 4; + unsigned unk4 : 1; enum mali_block_format block : 2; unsigned flags : 4;