pvr: add device info for additional iterator features

Signed-off-by: Simon Perretta <simon.perretta@imgtec.com>
Acked-by: Frank Binns <frank.binns@imgtec.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32258>
This commit is contained in:
Simon Perretta
2024-09-10 20:06:45 +01:00
committed by Marge Bot
parent 898dd3bdf6
commit 8f1613accf
4 changed files with 17 additions and 0 deletions
@@ -96,6 +96,9 @@ static const struct pvr_device_features pvr_device_features_33_V_11_3 = {
.vdm_cam_size = 32U,
.has_s8xe = true,
.has_usc_itr_parallel_instances = true,
.usc_itr_parallel_instances = 4U,
};
static const struct pvr_device_enhancements pvr_device_enhancements_33_15_11_3 = {
@@ -72,6 +72,8 @@ static const struct pvr_device_features pvr_device_features_36_V_104_796 = {
.has_tpu_image_state_v2 = true,
.has_unified_store_depth = true,
.has_usc_f16sop_u8 = true,
.has_usc_itrsmp = true,
.has_usc_itrsmp_enhanced = true,
.has_usc_min_output_registers_per_pix = true,
.has_usc_pixel_partition_mask = true,
.has_usc_slots = true,
@@ -107,6 +109,9 @@ static const struct pvr_device_features pvr_device_features_36_V_104_796 = {
.xpu_max_slaves = 3U,
.has_s8xe = true,
.has_usc_itr_parallel_instances = true,
.usc_itr_parallel_instances = 16U,
};
static const struct pvr_device_enhancements
@@ -65,6 +65,7 @@ static const struct pvr_device_features pvr_device_features_4_V_2_51 = {
.has_tpu_image_state_v2 = true,
.has_unified_store_depth = true,
.has_usc_f16sop_u8 = true,
.has_usc_itrsmp = true,
.has_usc_min_output_registers_per_pix = true,
.has_usc_slots = true,
.has_uvs_banks = true,
@@ -97,6 +98,9 @@ static const struct pvr_device_features pvr_device_features_4_V_2_51 = {
.vdm_cam_size = 256U,
.has_requires_fb_cdc_zls_setup = true,
.has_usc_itr_parallel_instances = true,
.usc_itr_parallel_instances = 8U,
};
static const struct pvr_device_enhancements pvr_device_enhancements_4_40_2_51 = {
+5
View File
@@ -294,6 +294,8 @@ struct pvr_device_features {
bool has_tpu_image_state_v2 : 1;
bool has_unified_store_depth : 1;
bool has_usc_f16sop_u8 : 1;
bool has_usc_itrsmp : 1;
bool has_usc_itrsmp_enhanced : 1;
bool has_usc_min_output_registers_per_pix : 1;
bool has_usc_pixel_partition_mask : 1;
bool has_usc_slots : 1;
@@ -333,6 +335,9 @@ struct pvr_device_features {
/* Derived features. */
bool has_requires_fb_cdc_zls_setup : 1;
bool has_s8xe : 1;
bool has_usc_itr_parallel_instances : 1;
uint32_t usc_itr_parallel_instances;
};
struct pvr_device_enhancements {