| 1 |
/* |
| 2 |
* Copyright © 2025 Imagination Technologies Ltd. |
| 3 |
* |
| 4 |
* SPDX-License-Identifier: MIT |
| 5 |
*/ |
| 6 |
|
| 7 |
#ifndef GX6650_H |
| 8 |
#define GX6650_H |
| 9 |
|
| 10 |
#include <stdbool.h> |
| 11 |
|
| 12 |
#include "pvr_device_info.h" |
| 13 |
|
| 14 |
#define PVR_DEVICE_IDENT_4_V_6_62 \ |
| 15 |
.device_id = 0x6650, .series_name = "Rogue", \ |
| 16 |
.public_name = "GX6650", .arch = PVR_DEVICE_ARCH_ROGUE |
| 17 |
|
| 18 |
static const struct pvr_device_features pvr_device_features_4_V_6_62 = { |
| 19 |
.has_astc = true, |
| 20 |
.has_cluster_grouping = true, |
| 21 |
.has_common_store_size_in_dwords = true, |
| 22 |
.has_compute = true, |
| 23 |
.has_compute_morton_capable = true, |
| 24 |
.has_compute_overlap = true, |
| 25 |
.has_eight_output_registers = true, |
| 26 |
.has_fbcdc_algorithm = true, |
| 27 |
/* .has_gs_rta_support = true, */ |
| 28 |
.has_isp_max_tiles_in_flight = true, |
| 29 |
.has_isp_samples_per_pixel = true, |
| 30 |
.has_max_instances_per_pds_task = true, |
| 31 |
.has_max_multisample = true, |
| 32 |
.has_max_partitions = true, |
| 33 |
.has_max_usc_tasks = true, |
| 34 |
.has_num_clusters = true, |
| 35 |
.has_num_raster_pipes = true, |
| 36 |
.has_pbe_filterable_f16 = true, |
| 37 |
.has_pbe_yuv = true, |
| 38 |
.has_slc_cache_line_size_bits = true, |
| 39 |
.has_slc_mcu_cache_controls = true, |
| 40 |
.has_tf_bicubic_filter = true, |
| 41 |
.has_tile_size_x = true, |
| 42 |
.has_tile_size_y = true, |
| 43 |
.has_tpu_array_textures = true, |
| 44 |
.has_tpu_extended_integer_lookup = true, |
| 45 |
.has_tpu_image_state_v2 = true, |
| 46 |
.has_tpu_parallel_instances = true, |
| 47 |
.has_unified_store_depth = true, |
| 48 |
.has_usc_f16sop_u8 = true, |
| 49 |
.has_usc_itrsmp = true, |
| 50 |
.has_usc_itr_parallel_instances = true, |
| 51 |
.has_usc_min_output_registers_per_pix = true, |
| 52 |
.has_usc_slots = true, |
| 53 |
.has_uvs_banks = true, |
| 54 |
.has_uvs_pba_entries = true, |
| 55 |
.has_uvs_vtx_entries = true, |
| 56 |
.has_vdm_cam_size = true, |
| 57 |
.has_xt_top_infrastructure = true, |
| 58 |
.has_zls_subtile = true, |
| 59 |
|
| 60 |
.common_store_size_in_dwords = 1280U * 4U * 4U, |
| 61 |
.fbcdc_algorithm = 2U, |
| 62 |
.isp_max_tiles_in_flight = 8U, |
| 63 |
.isp_samples_per_pixel = 2U, |
| 64 |
.max_instances_per_pds_task = 32U, |
| 65 |
.max_multisample = 8U, |
| 66 |
.max_partitions = 8U, |
| 67 |
.max_usc_tasks = 56U, |
| 68 |
.num_clusters = 6U, |
| 69 |
.num_raster_pipes = 2U, |
| 70 |
.slc_cache_line_size_bits = 512U, |
| 71 |
.tile_size_x = 32U, |
| 72 |
.tile_size_y = 32U, |
| 73 |
.tpu_parallel_instances = 4U, |
| 74 |
.unified_store_depth = 256U, |
| 75 |
.usc_itr_parallel_instances = 8U, |
| 76 |
.usc_min_output_registers_per_pix = 2U, |
| 77 |
.usc_slots = 32U, |
| 78 |
.uvs_banks = 8U, |
| 79 |
.uvs_pba_entries = 320U, |
| 80 |
.uvs_vtx_entries = 288U, |
| 81 |
.vdm_cam_size = 256U, |
| 82 |
|
| 83 |
.has_requires_fb_cdc_zls_setup = true, |
| 84 |
}; |
| 85 |
|
| 86 |
static const struct pvr_device_enhancements pvr_device_enhancements_4_46_6_62 = { |
| 87 |
.has_ern35421 = true, |
| 88 |
.has_ern38020 = true, |
| 89 |
.has_ern38748 = true, |
| 90 |
.has_ern42064 = true, |
| 91 |
.has_ern42307 = true, |
| 92 |
.has_ern45493 = true, |
| 93 |
}; |
| 94 |
|
| 95 |
static const struct pvr_device_quirks pvr_device_quirks_4_46_6_62 = { |
| 96 |
.has_brn44079 = true, |
| 97 |
.has_brn49927 = true, |
| 98 |
.has_brn51025 = true, |
| 99 |
.has_brn51210 = true, |
| 100 |
.has_brn51764 = true, |
| 101 |
.has_brn52354 = true, |
| 102 |
.has_brn52942 = true, |
| 103 |
.has_brn58839 = true, |
| 104 |
.has_brn62269 = true, |
| 105 |
.has_brn66011 = true, |
| 106 |
.has_brn70165 = true, |
| 107 |
.has_brn74056 = true, |
| 108 |
}; |
| 109 |
|
| 110 |
static const struct pvr_device_info pvr_device_info_4_46_6_62 = { |
| 111 |
.ident = { |
| 112 |
PVR_DEVICE_IDENT_4_V_6_62, |
| 113 |
.b = 4, |
| 114 |
.v = 46, |
| 115 |
.n = 6, |
| 116 |
.c = 62, |
| 117 |
}, |
| 118 |
.features = pvr_device_features_4_V_6_62, |
| 119 |
.enhancements = pvr_device_enhancements_4_46_6_62, |
| 120 |
.quirks = pvr_device_quirks_4_46_6_62, |
| 121 |
}; |
| 122 |
|
| 123 |
#endif /* GX6650_H */ |