aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2957-drm-amdgpu-correct-ip-for-mmHDP_READ_CACHE_INVALIDAT.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2957-drm-amdgpu-correct-ip-for-mmHDP_READ_CACHE_INVALIDAT.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2957-drm-amdgpu-correct-ip-for-mmHDP_READ_CACHE_INVALIDAT.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2957-drm-amdgpu-correct-ip-for-mmHDP_READ_CACHE_INVALIDAT.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2957-drm-amdgpu-correct-ip-for-mmHDP_READ_CACHE_INVALIDAT.patch
new file mode 100644
index 00000000..6aadeadc
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2957-drm-amdgpu-correct-ip-for-mmHDP_READ_CACHE_INVALIDAT.patch
@@ -0,0 +1,29 @@
+From 8eb30f011c3f56cc96536aad8ec88e82caa9e9ef Mon Sep 17 00:00:00 2001
+From: Le Ma <le.ma@amd.com>
+Date: Mon, 20 May 2019 17:04:05 +0800
+Subject: [PATCH 2957/4256] drm/amdgpu: correct ip for
+ mmHDP_READ_CACHE_INVALIDATE register access
+
+Signed-off-by: Le Ma <le.ma@amd.com>
+Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
+Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/soc15.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c
+index 217afe23a2f6..dc09469f77c5 100644
+--- a/drivers/gpu/drm/amd/amdgpu/soc15.c
++++ b/drivers/gpu/drm/amd/amdgpu/soc15.c
+@@ -702,7 +702,7 @@ static void soc15_invalidate_hdp(struct amdgpu_device *adev,
+ struct amdgpu_ring *ring)
+ {
+ if (!ring || !ring->funcs->emit_wreg)
+- WREG32_SOC15_NO_KIQ(NBIO, 0, mmHDP_READ_CACHE_INVALIDATE, 1);
++ WREG32_SOC15_NO_KIQ(HDP, 0, mmHDP_READ_CACHE_INVALIDATE, 1);
+ else
+ amdgpu_ring_emit_wreg(ring, SOC15_REG_OFFSET(
+ HDP, 0, mmHDP_READ_CACHE_INVALIDATE), 1);
+--
+2.17.1
+