Debian Codegraph @

src/imagination/common/device_info/bxe-2-32.h

raw
1 /*
2 * Copyright © 2025 Imagination Technologies Ltd.
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7 #ifndef BXE_2_32_H
8 #define BXE_2_32_H
9
10 #include <stdbool.h>
11
12 #include "pvr_device_info.h"
13
14 #define PVR_DEVICE_IDENT_36_V_52_182 \
15 .device_id = 0x36052182, .series_name = "B-Series", \
16 .public_name = "BXE-2-32", .arch = PVR_DEVICE_ARCH_ROGUE
17
18 static const struct pvr_device_features pvr_device_features_36_V_52_182 = {
19 .has_astc = true,
20 .has_common_store_size_in_dwords = true,
21 .has_compute = true,
22 .has_compute_overlap = true,
23 .has_fbcdc_algorithm = true,
24 .has_gpu_multicore_support = true,
25 /* .has_gs_rta_support = true, */
26 .has_ipf_creq_pf = true,
27 .has_isp_max_tiles_in_flight = true,
28 .has_isp_samples_per_pixel = true,
29 .has_max_instances_per_pds_task = true,
30 .has_max_multisample = true,
31 .has_max_partitions = true,
32 .has_max_usc_tasks = true,
33 .has_num_clusters = true,
34 .has_num_raster_pipes = true,
35 .has_paired_tiles = true,
36 .has_pbe2_in_xe = true,
37 .has_pbe_filterable_f16 = true,
38 .has_pbe_yuv = true,
39 .has_pds_ddmadt = true,
40 .has_roguexe = true,
41 .has_screen_size8K = true,
42 .has_simple_internal_parameter_format = true,
43 .has_simple_internal_parameter_format_v2 = true,
44 .has_simple_parameter_format_version = true,
45 .has_slc_cache_line_size_bits = true,
46 .has_tile_size_16x16 = true,
47 .has_tile_size_x = true,
48 .has_tile_size_y = true,
49 .has_tpu_border_colour_enhanced = true,
50 .has_tpu_extended_integer_lookup = true,
51 .has_tpu_image_state_v2 = true,
52 .has_tpu_parallel_instances = true,
53 .has_unified_store_depth = true,
54 .has_usc_alu_roundingmode_rne = true,
55 .has_usc_f16sop_u8 = true,
56 .has_usc_itrsmp = true,
57 .has_usc_itrsmp_enhanced = true,
58 .has_usc_itr_parallel_instances = true,
59
60 .has_usc_min_output_registers_per_pix = true,
61 .has_usc_pixel_partition_mask = true,
62 .has_usc_slots = true,
63 .has_uvs_banks = true,
64 .has_uvs_pba_entries = true,
65 .has_uvs_vtx_entries = true,
66 .has_vdm_cam_size = true,
67 .has_xpu_max_slaves = true,
68
69 .common_store_size_in_dwords = 832U * 4U * 4U,
70 .fbcdc_algorithm = 50U,
71 .isp_max_tiles_in_flight = 2U,
72 .isp_samples_per_pixel = 1U,
73 .max_instances_per_pds_task = 32U,
74 .max_multisample = 4U,
75 .max_partitions = 8U,
76 .max_usc_tasks = 72U,
77 .num_clusters = 1U,
78 .num_raster_pipes = 1U,
79 .simple_parameter_format_version = 2U,
80 .slc_cache_line_size_bits = 512U,
81 .tile_size_x = 16U,
82 .tile_size_y = 16U,
83 .tpu_parallel_instances = 2U,
84 .unified_store_depth = 128U,
85 .usc_itr_parallel_instances = 8U,
86 .usc_min_output_registers_per_pix = 2U,
87 .usc_slots = 32U,
88 .uvs_banks = 4U,
89 .uvs_pba_entries = 320U,
90 .uvs_vtx_entries = 288U,
91 .vdm_cam_size = 64U,
92 .xpu_max_slaves = 3U,
93
94 .has_s8xe = true,
95 };
96
97 static const struct pvr_device_enhancements
98 pvr_device_enhancements_36_29_52_182 = {
99 .has_ern35421 = true,
100 .has_ern38748 = true,
101 .has_ern42307 = true,
102 .has_ern45493 = true,
103 };
104
105 static const struct pvr_device_quirks pvr_device_quirks_36_29_52_182 = {
106 .has_brn70165 = true,
107 .has_brn72168 = true,
108 .has_brn72463 = true,
109 .has_brn74056 = true,
110 };
111
112 static const struct pvr_device_info pvr_device_info_36_29_52_182 = {
113 .ident = {
114 PVR_DEVICE_IDENT_36_V_52_182,
115 .b = 36,
116 .v = 29,
117 .n = 52,
118 .c = 182,
119 },
120 .features = pvr_device_features_36_V_52_182,
121 .enhancements = pvr_device_enhancements_36_29_52_182,
122 .quirks = pvr_device_quirks_36_29_52_182,
123 };
124
125 #endif /* BXE_2_32_H */