Commit 113d0f9d authored by Marek Olšák's avatar Marek Olšák Committed by Alex Deucher

drm/radeon: allow TA_CS_BC_BASE_ADDR on SI

Required for border colors in compute shaders.
Reviewed-by: default avatarEdward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
Signed-off-by: default avatarMarek Olšák <marek.olsak@amd.com>
Signed-off-by: default avatarAlex Deucher <alexander.deucher@amd.com>
parent ce199ad6
...@@ -96,9 +96,10 @@ ...@@ -96,9 +96,10 @@
* 2.45.0 - Allow setting shader registers using DMA/COPY packet3 on SI * 2.45.0 - Allow setting shader registers using DMA/COPY packet3 on SI
* 2.46.0 - Add PFP_SYNC_ME support on evergreen * 2.46.0 - Add PFP_SYNC_ME support on evergreen
* 2.47.0 - Add UVD_NO_OP register support * 2.47.0 - Add UVD_NO_OP register support
* 2.48.0 - TA_CS_BC_BASE_ADDR allowed on SI
*/ */
#define KMS_DRIVER_MAJOR 2 #define KMS_DRIVER_MAJOR 2
#define KMS_DRIVER_MINOR 47 #define KMS_DRIVER_MINOR 48
#define KMS_DRIVER_PATCHLEVEL 0 #define KMS_DRIVER_PATCHLEVEL 0
int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags); int radeon_driver_load_kms(struct drm_device *dev, unsigned long flags);
int radeon_driver_unload_kms(struct drm_device *dev); int radeon_driver_unload_kms(struct drm_device *dev);
......
...@@ -4431,6 +4431,7 @@ static bool si_vm_reg_valid(u32 reg) ...@@ -4431,6 +4431,7 @@ static bool si_vm_reg_valid(u32 reg)
case SPI_CONFIG_CNTL: case SPI_CONFIG_CNTL:
case SPI_CONFIG_CNTL_1: case SPI_CONFIG_CNTL_1:
case TA_CNTL_AUX: case TA_CNTL_AUX:
case TA_CS_BC_BASE_ADDR:
return true; return true;
default: default:
DRM_ERROR("Invalid register 0x%x in CS\n", reg); DRM_ERROR("Invalid register 0x%x in CS\n", reg);
......
...@@ -1145,6 +1145,7 @@ ...@@ -1145,6 +1145,7 @@
#define SPI_LB_CU_MASK 0x9354 #define SPI_LB_CU_MASK 0x9354
#define TA_CNTL_AUX 0x9508 #define TA_CNTL_AUX 0x9508
#define TA_CS_BC_BASE_ADDR 0x950C
#define CC_RB_BACKEND_DISABLE 0x98F4 #define CC_RB_BACKEND_DISABLE 0x98F4
#define BACKEND_DISABLE(x) ((x) << 16) #define BACKEND_DISABLE(x) ((x) << 16)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment