Debian Codegraph @

src/imagination/common/device_info/g6110.h

raw
1 /*
2 * Copyright © 2025 Imagination Technologies Ltd.
3 *
4 * SPDX-License-Identifier: MIT
5 */
6
7 #ifndef G6110_H
8 #define G6110_H
9
10 #include <stdbool.h>
11
12 #include "pvr_device_info.h"
13
14 #define PVR_DEVICE_IDENT_5_V_1_46 \
15 .device_id = 0x6110, .series_name = "Rogue", \
16 .public_name = "GX6110", .arch = PVR_DEVICE_ARCH_ROGUE
17
18 static const struct pvr_device_features pvr_device_features_5_V_1_46 = {
19 .has_common_store_size_in_dwords = true,
20 .has_compute = true,
21 .has_fbcdc_algorithm = true,
22 /* .has_gs_rta_support = true, */
23 .has_isp_max_tiles_in_flight = true,
24 .has_isp_samples_per_pixel = true,
25 .has_max_instances_per_pds_task = true,
26 .has_max_multisample = true,
27 .has_max_partitions = true,
28 .has_max_usc_tasks = true,
29 .has_num_clusters = true,
30 .has_num_raster_pipes = true,
31 .has_pbe_filterable_f16 = true,
32 .has_roguexe = true,
33 .has_slc_cache_line_size_bits = true,
34 .has_tile_size_x = true,
35 .has_tile_size_y = true,
36 .has_tpu_parallel_instances = true,
37 .has_unified_store_depth = true,
38 .has_usc_itr_parallel_instances = true,
39 .has_usc_min_output_registers_per_pix = true,
40 .has_usc_slots = true,
41 .has_uvs_banks = true,
42 .has_uvs_pba_entries = true,
43 .has_uvs_vtx_entries = true,
44 .has_vdm_cam_size = true,
45
46 .common_store_size_in_dwords = 1344U * 4U * 4U,
47 .fbcdc_algorithm = 2U,
48 .isp_max_tiles_in_flight = 1U,
49 .isp_samples_per_pixel = 2U,
50 .max_instances_per_pds_task = 32U,
51 .max_multisample = 4U,
52 .max_partitions = 12U,
53 .max_usc_tasks = 96U,
54 .num_clusters = 1U,
55 .num_raster_pipes = 1U,
56 .slc_cache_line_size_bits = 512U,
57 .tile_size_x = 32U,
58 .tile_size_y = 32U,
59 .tpu_parallel_instances = 4U,
60 .unified_store_depth = 208U,
61 .usc_itr_parallel_instances = 16U,
62 .usc_min_output_registers_per_pix = 2U,
63 .usc_slots = 56U,
64 .uvs_banks = 8U,
65 .uvs_pba_entries = 160U,
66 .uvs_vtx_entries = 144U,
67 .vdm_cam_size = 64U,
68
69 .has_requires_fb_cdc_zls_setup = true,
70 };
71
72 static const struct pvr_device_enhancements pvr_device_enhancements_5_9_1_46 = {
73 .has_ern35421 = true,
74 };
75
76 static const struct pvr_device_quirks pvr_device_quirks_5_9_1_46 = {
77 .has_brn44079 = true,
78 .has_brn47727 = true,
79 .has_brn48492 = true,
80 .has_brn48545 = true,
81 .has_brn49032 = true,
82 .has_brn49927 = true,
83 .has_brn51025 = true,
84 .has_brn51210 = true,
85 .has_brn52942 = true,
86 .has_brn58839 = true,
87 .has_brn62269 = true,
88 .has_brn66011 = true,
89 .has_brn70165 = true,
90 .has_brn74056 = true,
91 };
92
93 static const struct pvr_device_info pvr_device_info_5_9_1_46 = {
94 .ident = {
95 PVR_DEVICE_IDENT_5_V_1_46,
96 .b = 5,
97 .v = 9,
98 .n = 1,
99 .c = 46,
100 },
101 .features = pvr_device_features_5_V_1_46,
102 .enhancements = pvr_device_enhancements_5_9_1_46,
103 .quirks = pvr_device_quirks_5_9_1_46,
104 };
105
106 #endif /* G6110_H */