summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/umc_v12_0.h
diff options
context:
space:
mode:
authorTao Zhou <tao.zhou1@amd.com>2024-10-15 13:32:08 +0300
committerAlex Deucher <alexander.deucher@amd.com>2024-12-10 18:26:45 +0300
commit150f6c903069e3c20fc0227510d532b80ea3e56a (patch)
treeac3f1ac5ebc139cfecd3657ecd5da5e478e68d7c /drivers/gpu/drm/amd/amdgpu/umc_v12_0.h
parent438b39ac74e2a9dc0a5c9d653b7d8066877e86b1 (diff)
downloadlinux-150f6c903069e3c20fc0227510d532b80ea3e56a.tar.xz
drm/amdgpu: simplify RAS page retirement in one memory row
Take R13 and column bits as a whole for UMC v12. Signed-off-by: Tao Zhou <tao.zhou1@amd.com> Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/umc_v12_0.h')
-rw-r--r--drivers/gpu/drm/amd/amdgpu/umc_v12_0.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/umc_v12_0.h b/drivers/gpu/drm/amd/amdgpu/umc_v12_0.h
index be5598d76c1d..dea42810fc53 100644
--- a/drivers/gpu/drm/amd/amdgpu/umc_v12_0.h
+++ b/drivers/gpu/drm/amd/amdgpu/umc_v12_0.h
@@ -60,6 +60,7 @@
#define UMC_V12_0_PA_C2_BIT 15
#define UMC_V12_0_PA_C4_BIT 21
/* row bits in SOC physical address */
+#define UMC_V12_0_PA_R0_BIT 22
#define UMC_V12_0_PA_R13_BIT 35
#define MCA_UMC_HWID_V12_0 0x96