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 AXE_1_16M_H 25 #define AXE_1_16M_H 26 27 #include <stdbool.h> 28 29 #include "pvr_device_info.h" 30 31 static const struct pvr_device_ident pvr_device_ident_33_V_11_3 = { 32 .device_id = 0x33011003, 33 .series_name = "A-Series", 34 .public_name = "AXE-1-16M", 35 }; 36 37 static const struct pvr_device_features pvr_device_features_33_V_11_3 = { 38 .has_common_store_size_in_dwords = true, 39 .has_compute = true, 40 .has_ipf_creq_pf = true, 41 .has_isp_max_tiles_in_flight = true, 42 .has_isp_samples_per_pixel = true, 43 .has_max_instances_per_pds_task = true, 44 .has_max_multisample = true, 45 .has_max_partitions = true, 46 .has_max_usc_tasks = true, 47 .has_num_clusters = true, 48 .has_num_raster_pipes = true, 49 .has_num_user_clip_planes = true, 50 .has_pbe2_in_xe = true, 51 .has_pbe_filterable_f16 = true, 52 .has_pbe_yuv = true, 53 .has_roguexe = true, 54 .has_screen_size8K = true, 55 .has_simple_internal_parameter_format = true, 56 .has_simple_internal_parameter_format_v2 = true, 57 .has_simple_parameter_format_version = true, 58 .has_slc_cache_line_size_bits = true, 59 .has_tile_size_16x16 = true, 60 .has_tile_size_x = true, 61 .has_tile_size_y = true, 62 .has_tpu_border_colour_enhanced = true, 63 .has_tpu_extended_integer_lookup = true, 64 .has_tpu_image_state_v2 = true, 65 .has_usc_f16sop_u8 = true, 66 .has_usc_min_output_registers_per_pix = true, 67 .has_usc_pixel_partition_mask = true, 68 .has_usc_slots = true, 69 .has_uvs_banks = true, 70 .has_uvs_pba_entries = true, 71 .has_uvs_vtx_entries = true, 72 .has_vdm_cam_size = true, 73 .has_vdm_degenerate_culling = true, 74 75 .common_store_size_in_dwords = 512U * 4U * 4U, 76 .isp_max_tiles_in_flight = 1U, 77 .isp_samples_per_pixel = 1U, 78 .max_instances_per_pds_task = 32U, 79 .max_multisample = 4U, 80 .max_partitions = 4U, 81 .max_usc_tasks = 24U, 82 .num_clusters = 1U, 83 .num_raster_pipes = 1U, 84 .num_user_clip_planes = 8U, 85 .simple_parameter_format_version = 2U, 86 .slc_cache_line_size_bits = 512U, 87 .tile_size_x = 16U, 88 .tile_size_y = 16U, 89 .usc_min_output_registers_per_pix = 1U, 90 .usc_slots = 14U, 91 .uvs_banks = 2U, 92 .uvs_pba_entries = 320U, 93 .uvs_vtx_entries = 288U, 94 .vdm_cam_size = 32U, 95 96 .has_s8xe = true, 97 }; 98 99 static const struct pvr_device_enhancements pvr_device_enhancements_33_15_11_3 = { 100 .has_ern35421 = true, 101 .has_ern38748 = true, 102 .has_ern42307 = true, 103 .has_ern45493 = true, 104 }; 105 106 static const struct pvr_device_quirks pvr_device_quirks_33_15_11_3 = { 107 .has_brn70165 = true, 108 }; 109 110 #endif /* AXE_1_16M_H */ 111