| 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 BXS_4_64_H |
| 25 |
#define BXS_4_64_H |
| 26 |
|
| 27 |
#include <stdbool.h> |
| 28 |
|
| 29 |
#include "pvr_device_info.h" |
| 30 |
|
| 31 |
#define PVR_DEVICE_IDENT_36_V_104_796 \ |
| 32 |
.device_id = 0x36104796, .series_name = "B-Series", \ |
| 33 |
.public_name = "BXS-4-64", .arch = PVR_DEVICE_ARCH_ROGUE |
| 34 |
|
| 35 |
static const struct pvr_device_features pvr_device_features_36_V_104_796 = { |
| 36 |
.has_astc = true, |
| 37 |
.has_common_store_size_in_dwords = true, |
| 38 |
.has_compute = true, |
| 39 |
.has_compute_overlap = true, |
| 40 |
.has_fbcdc_algorithm = true, |
| 41 |
.has_gpu_multicore_support = true, |
| 42 |
/* .has_gs_rta_support = true, */ |
| 43 |
.has_ipf_creq_pf = true, |
| 44 |
.has_isp_max_tiles_in_flight = true, |
| 45 |
.has_isp_samples_per_pixel = true, |
| 46 |
.has_max_instances_per_pds_task = true, |
| 47 |
.has_max_multisample = true, |
| 48 |
.has_max_partitions = true, |
| 49 |
.has_max_usc_tasks = true, |
| 50 |
.has_num_clusters = true, |
| 51 |
.has_num_raster_pipes = true, |
| 52 |
.has_paired_tiles = true, |
| 53 |
.has_pbe2_in_xe = true, |
| 54 |
.has_pbe_filterable_f16 = true, |
| 55 |
.has_pbe_yuv = true, |
| 56 |
.has_pds_ddmadt = true, |
| 57 |
.has_roguexe = true, |
| 58 |
.has_screen_size8K = true, |
| 59 |
.has_simple_internal_parameter_format = true, |
| 60 |
.has_simple_internal_parameter_format_v2 = true, |
| 61 |
.has_simple_parameter_format_version = true, |
| 62 |
.has_slc_cache_line_size_bits = true, |
| 63 |
.has_tile_size_16x16 = true, |
| 64 |
.has_tile_size_x = true, |
| 65 |
.has_tile_size_y = true, |
| 66 |
.has_tpu_border_colour_enhanced = true, |
| 67 |
.has_tpu_dm_global_registers = true, |
| 68 |
.has_tpu_extended_integer_lookup = true, |
| 69 |
.has_tpu_image_state_v2 = true, |
| 70 |
.has_tpu_parallel_instances = true, |
| 71 |
.has_unified_store_depth = true, |
| 72 |
.has_usc_alu_roundingmode_rne = true, |
| 73 |
.has_usc_f16sop_u8 = true, |
| 74 |
.has_usc_itrsmp = true, |
| 75 |
.has_usc_itrsmp_enhanced = true, |
| 76 |
.has_usc_itr_parallel_instances = true, |
| 77 |
.has_usc_min_output_registers_per_pix = true, |
| 78 |
.has_usc_pixel_partition_mask = true, |
| 79 |
.has_usc_slots = true, |
| 80 |
.has_uvs_banks = true, |
| 81 |
.has_uvs_pba_entries = true, |
| 82 |
.has_uvs_vtx_entries = true, |
| 83 |
.has_vdm_cam_size = true, |
| 84 |
.has_vdm_degenerate_culling = true, |
| 85 |
.has_xpu_max_slaves = true, |
| 86 |
|
| 87 |
.common_store_size_in_dwords = 1344U * 4U * 4U, |
| 88 |
.fbcdc_algorithm = 50U, |
| 89 |
.isp_max_tiles_in_flight = 6U, |
| 90 |
.isp_samples_per_pixel = 4U, |
| 91 |
.max_instances_per_pds_task = 32U, |
| 92 |
.max_multisample = 4U, |
| 93 |
.max_partitions = 16U, |
| 94 |
.max_usc_tasks = 156U, |
| 95 |
.num_clusters = 1U, |
| 96 |
.num_raster_pipes = 1U, |
| 97 |
.simple_parameter_format_version = 2U, |
| 98 |
.slc_cache_line_size_bits = 512U, |
| 99 |
.tile_size_x = 16U, |
| 100 |
.tile_size_y = 16U, |
| 101 |
.tpu_parallel_instances = 4U, |
| 102 |
.unified_store_depth = 256U, |
| 103 |
.usc_itr_parallel_instances = 16U, |
| 104 |
.usc_min_output_registers_per_pix = 2U, |
| 105 |
.usc_slots = 64U, |
| 106 |
.uvs_banks = 8U, |
| 107 |
.uvs_pba_entries = 160U, |
| 108 |
.uvs_vtx_entries = 144U, |
| 109 |
.vdm_cam_size = 64U, |
| 110 |
.xpu_max_slaves = 3U, |
| 111 |
|
| 112 |
.has_s8xe = true, |
| 113 |
}; |
| 114 |
|
| 115 |
static const struct pvr_device_enhancements |
| 116 |
pvr_device_enhancements_36_53_104_796 = { |
| 117 |
.has_ern35421 = true, |
| 118 |
.has_ern38748 = true, |
| 119 |
.has_ern42307 = true, |
| 120 |
.has_ern45493 = true, |
| 121 |
}; |
| 122 |
|
| 123 |
static const struct pvr_device_quirks pvr_device_quirks_36_53_104_796 = { |
| 124 |
.has_brn44079 = true, |
| 125 |
.has_brn70165 = true, |
| 126 |
.has_brn72168 = true, |
| 127 |
.has_brn72463 = true, |
| 128 |
.has_brn74056 = true, |
| 129 |
}; |
| 130 |
|
| 131 |
static const struct pvr_device_info pvr_device_info_36_53_104_796 = { |
| 132 |
.ident = { |
| 133 |
PVR_DEVICE_IDENT_36_V_104_796, |
| 134 |
.b = 36, |
| 135 |
.v = 53, |
| 136 |
.n = 104, |
| 137 |
.c = 796, |
| 138 |
}, |
| 139 |
.features = pvr_device_features_36_V_104_796, |
| 140 |
.enhancements = pvr_device_enhancements_36_53_104_796, |
| 141 |
.quirks = pvr_device_quirks_36_53_104_796, |
| 142 |
}; |
| 143 |
|
| 144 |
#endif /* BXS_4_64_H */ |