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 static const struct pvr_device_ident pvr_device_ident_36_V_104_796 = { 32 .device_id = 0x36104796, 33 .series_name = "B-Series", 34 .public_name = "BXS-4-64", 35 }; 36 37 static const struct pvr_device_features pvr_device_features_36_V_104_796 = { 38 .has_astc = true, 39 .has_common_store_size_in_dwords = true, 40 .has_compute = true, 41 .has_compute_overlap = true, 42 .has_fbcdc_algorithm = true, 43 .has_gpu_multicore_support = true, 44 .has_gs_rta_support = true, 45 .has_ipf_creq_pf = true, 46 .has_isp_max_tiles_in_flight = true, 47 .has_isp_samples_per_pixel = true, 48 .has_max_instances_per_pds_task = true, 49 .has_max_multisample = true, 50 .has_max_partitions = true, 51 .has_max_usc_tasks = true, 52 .has_num_clusters = true, 53 .has_num_raster_pipes = true, 54 .has_num_user_clip_planes = true, 55 .has_paired_tiles = true, 56 .has_pbe2_in_xe = true, 57 .has_pbe_filterable_f16 = true, 58 .has_pbe_yuv = true, 59 .has_pds_ddmadt = true, 60 .has_roguexe = true, 61 .has_screen_size8K = true, 62 .has_simple_internal_parameter_format = true, 63 .has_simple_internal_parameter_format_v2 = true, 64 .has_simple_parameter_format_version = true, 65 .has_slc_cache_line_size_bits = true, 66 .has_tile_size_16x16 = true, 67 .has_tile_size_x = true, 68 .has_tile_size_y = true, 69 .has_tpu_border_colour_enhanced = true, 70 .has_tpu_dm_global_registers = true, 71 .has_tpu_extended_integer_lookup = true, 72 .has_tpu_image_state_v2 = true, 73 .has_usc_f16sop_u8 = true, 74 .has_usc_min_output_registers_per_pix = true, 75 .has_usc_pixel_partition_mask = true, 76 .has_usc_slots = true, 77 .has_uvs_banks = true, 78 .has_uvs_pba_entries = true, 79 .has_uvs_vtx_entries = true, 80 .has_vdm_cam_size = true, 81 .has_vdm_degenerate_culling = true, 82 .has_xpu_max_slaves = true, 83 84 .common_store_size_in_dwords = 1344U * 4U * 4U, 85 .fbcdc_algorithm = 50U, 86 .isp_max_tiles_in_flight = 6U, 87 .isp_samples_per_pixel = 4U, 88 .max_instances_per_pds_task = 32U, 89 .max_multisample = 4U, 90 .max_partitions = 16U, 91 .max_usc_tasks = 156U, 92 .num_clusters = 1U, 93 .num_raster_pipes = 1U, 94 .num_user_clip_planes = 8U, 95 .simple_parameter_format_version = 2U, 96 .slc_cache_line_size_bits = 512U, 97 .tile_size_x = 16U, 98 .tile_size_y = 16U, 99 .usc_min_output_registers_per_pix = 2U, 100 .usc_slots = 64U, 101 .uvs_banks = 8U, 102 .uvs_pba_entries = 160U, 103 .uvs_vtx_entries = 144U, 104 .vdm_cam_size = 64U, 105 .xpu_max_slaves = 3U, 106 107 .has_s8xe = true, 108 }; 109 110 static const struct pvr_device_enhancements 111 pvr_device_enhancements_36_53_104_796 = { 112 .has_ern35421 = true, 113 .has_ern38748 = true, 114 .has_ern42307 = true, 115 .has_ern45493 = true, 116 }; 117 118 static const struct pvr_device_quirks pvr_device_quirks_36_53_104_796 = { 119 .has_brn44079 = true, 120 .has_brn70165 = true, 121 }; 122 123 #endif /* BXS_4_64_H */ 124