[PATCH 07/18] drm/amdgpu:add hdp golden setting register name hint

Monk Liu Monk.Liu at amd.com
Mon Sep 18 06:11:51 UTC 2017


Change-Id: I3a43901f5757b9fab629824a74ad9a4770a47b38
Signed-off-by: Monk Liu <Monk.Liu at amd.com>
---
 drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
index 7ca9cbe..7a20ba8 100644
--- a/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
+++ b/drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c
@@ -59,16 +59,16 @@
 
 static const u32 golden_settings_vega10_hdp[] =
 {
-	0xf64, 0x0fffffff, 0x00000000,
-	0xf65, 0x0fffffff, 0x00000000,
-	0xf66, 0x0fffffff, 0x00000000,
-	0xf67, 0x0fffffff, 0x00000000,
-	0xf68, 0x0fffffff, 0x00000000,
-	0xf6a, 0x0fffffff, 0x00000000,
-	0xf6b, 0x0fffffff, 0x00000000,
-	0xf6c, 0x0fffffff, 0x00000000,
-	0xf6d, 0x0fffffff, 0x00000000,
-	0xf6e, 0x0fffffff, 0x00000000,
+	0xf64, 0x0fffffff, 0x00000000,//surface0_low_bound
+	0xf65, 0x0fffffff, 0x00000000,//surface0_upper_bound
+	0xf66, 0x0fffffff, 0x00000000,//surface0_base
+	0xf67, 0x0fffffff, 0x00000000,//surface0_info
+	0xf68, 0x0fffffff, 0x00000000,//surface0_base_hi
+	0xf6a, 0x0fffffff, 0x00000000,//surface1_low_bound
+	0xf6b, 0x0fffffff, 0x00000000,//surface1_upper_bound
+	0xf6c, 0x0fffffff, 0x00000000,//surface1_base
+	0xf6d, 0x0fffffff, 0x00000000,//surface1_info
+	0xf6e, 0x0fffffff, 0x00000000,//surface1_base_hi
 };
 
 static int gmc_v9_0_vm_fault_interrupt_state(struct amdgpu_device *adev,
-- 
2.7.4



More information about the amd-gfx mailing list