Debian Codegraph @

src/imagination/common/device_info/ge7800.h

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