Debian Codegraph @

src/imagination/common/device_info/axe-1-16m.h

raw
1 /*
2 * Copyright © 2023 Imagination Technologies Ltd.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a copy
5 * of this software and associated documentation files (the "Software"), to deal
6 * in the Software without restriction, including without limitation the rights
7 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 * copies of the Software, and to permit persons to whom the Software is
9 * furnished to do so, subject to the following conditions:
10 *
11 * The above copyright notice and this permission notice (including the next
12 * paragraph) shall be included in all copies or substantial portions of the
13 * Software.
14 *
15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 * SOFTWARE.
22 */
23
24 #ifndef AXE_1_16M_H
25 #define AXE_1_16M_H
26
27 #include <stdbool.h>
28
29 #include "pvr_device_info.h"
30
31 #define PVR_DEVICE_IDENT_33_V_11_3 \
32 .device_id = 0x33011003, .series_name = "A-Series", \
33 .public_name = "AXE-1-16M", .arch = PVR_DEVICE_ARCH_ROGUE
34
35
36 static const struct pvr_device_features pvr_device_features_33_V_11_3 = {
37 .has_common_store_size_in_dwords = true,
38 .has_compute = true,
39 .has_ipf_creq_pf = true,
40 .has_isp_max_tiles_in_flight = true,
41 .has_isp_samples_per_pixel = true,
42 .has_max_instances_per_pds_task = true,
43 .has_max_multisample = true,
44 .has_max_partitions = true,
45 .has_max_usc_tasks = true,
46 .has_num_clusters = true,
47 .has_num_raster_pipes = true,
48 .has_pbe2_in_xe = true,
49 .has_pbe_filterable_f16 = true,
50 .has_pbe_yuv = true,
51 .has_roguexe = true,
52 .has_screen_size8K = true,
53 .has_simple_internal_parameter_format = true,
54 .has_simple_internal_parameter_format_v2 = true,
55 .has_simple_parameter_format_version = true,
56 .has_slc_cache_line_size_bits = true,
57 .has_tile_size_16x16 = true,
58 .has_tile_size_x = true,
59 .has_tile_size_y = true,
60 .has_tpu_border_colour_enhanced = true,
61 .has_tpu_extended_integer_lookup = true,
62 .has_tpu_image_state_v2 = true,
63 .has_tpu_parallel_instances = true,
64 .has_unified_store_depth = true,
65 .has_usc_f16sop_u8 = true,
66 .has_usc_itr_parallel_instances = true,
67 .has_usc_min_output_registers_per_pix = true,
68 .has_usc_pixel_partition_mask = true,
69 .has_usc_slots = true,
70 .has_uvs_banks = true,
71 .has_uvs_pba_entries = true,
72 .has_uvs_vtx_entries = true,
73 .has_vdm_cam_size = true,
74 .has_vdm_degenerate_culling = true,
75
76 .common_store_size_in_dwords = 512U * 4U * 4U,
77 .isp_max_tiles_in_flight = 1U,
78 .isp_samples_per_pixel = 1U,
79 .max_instances_per_pds_task = 32U,
80 .max_multisample = 4U,
81 .max_partitions = 4U,
82 .max_usc_tasks = 24U,
83 .num_clusters = 1U,
84 .num_raster_pipes = 1U,
85 .simple_parameter_format_version = 2U,
86 .slc_cache_line_size_bits = 512U,
87 .tile_size_x = 16U,
88 .tile_size_y = 16U,
89 .tpu_parallel_instances = 1U,
90 .unified_store_depth = 64U,
91 .usc_itr_parallel_instances = 4U,
92 .usc_min_output_registers_per_pix = 1U,
93 .usc_slots = 14U,
94 .uvs_banks = 2U,
95 .uvs_pba_entries = 320U,
96 .uvs_vtx_entries = 288U,
97 .vdm_cam_size = 32U,
98
99 .has_s8xe = true,
100 };
101
102 static const struct pvr_device_enhancements pvr_device_enhancements_33_15_11_3 = {
103 .has_ern35421 = true,
104 .has_ern38748 = true,
105 .has_ern42307 = true,
106 .has_ern45493 = true,
107 };
108
109 static const struct pvr_device_quirks pvr_device_quirks_33_15_11_3 = {
110 .has_brn70165 = true,
111 .has_brn74056 = true,
112 };
113
114 static const struct pvr_device_info pvr_device_info_33_15_11_3 = {
115 .ident = {
116 PVR_DEVICE_IDENT_33_V_11_3,
117 .b = 33,
118 .v = 15,
119 .n = 11,
120 .c = 3,
121 },
122 .features = pvr_device_features_33_V_11_3,
123 .enhancements = pvr_device_enhancements_33_15_11_3,
124 .quirks = pvr_device_quirks_33_15_11_3,
125 };
126
127 #endif /* AXE_1_16M_H */