From 19bf1b661bc4f7597ec49710625fe949592b8c5e Mon Sep 17 00:00:00 2001 From: Icenowy Zheng Date: Wed, 7 Aug 2024 13:47:49 +0800 Subject: [PATCH] pvr: add tpu_dm_global_registers feature This corresponds to the RGX_FEATURE_TPU_DM_GLOBAL_REGISTERS in the DDK kernel module source code, and will introduce one more control word to compute command streams. Signed-off-by: Icenowy Zheng Reviewed-by: Frank Binns Part-of: --- src/imagination/common/device_info/bxs-4-64.h | 1 + src/imagination/common/pvr_device_info.h | 1 + 2 files changed, 2 insertions(+) diff --git a/src/imagination/common/device_info/bxs-4-64.h b/src/imagination/common/device_info/bxs-4-64.h index 45581a00fc7..61dfadc2b72 100644 --- a/src/imagination/common/device_info/bxs-4-64.h +++ b/src/imagination/common/device_info/bxs-4-64.h @@ -67,6 +67,7 @@ static const struct pvr_device_features pvr_device_features_36_V_104_796 = { .has_tile_size_x = true, .has_tile_size_y = true, .has_tpu_border_colour_enhanced = true, + .has_tpu_dm_global_registers = true, .has_tpu_extended_integer_lookup = true, .has_tpu_image_state_v2 = true, .has_usc_f16sop_u8 = true, diff --git a/src/imagination/common/pvr_device_info.h b/src/imagination/common/pvr_device_info.h index 1cb7264abdd..779923f7d20 100644 --- a/src/imagination/common/pvr_device_info.h +++ b/src/imagination/common/pvr_device_info.h @@ -289,6 +289,7 @@ struct pvr_device_features { bool has_tile_size_y : 1; bool has_tpu_array_textures : 1; bool has_tpu_border_colour_enhanced : 1; + bool has_tpu_dm_global_registers : 1; bool has_tpu_extended_integer_lookup : 1; bool has_tpu_image_state_v2 : 1; bool has_usc_f16sop_u8 : 1;