aboutsummaryrefslogtreecommitdiffstats
path: root/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0438-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0438-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch')
-rw-r--r--meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0438-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0438-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0438-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch
new file mode 100644
index 00000000..cf8e8558
--- /dev/null
+++ b/meta-amd-bsp/recipes-kernel/linux-4.19/linux-yocto-4.19.8/0438-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch
@@ -0,0 +1,28 @@
+From 97f357b6f0cfa2ba579f4dd6478fe8c7c773d02e Mon Sep 17 00:00:00 2001
+From: Rex Zhu <Rex.Zhu@amd.com>
+Date: Tue, 25 Sep 2018 13:27:00 +0800
+Subject: [PATCH 0438/2940] drm/amdgpu: Fix comments error in
+ sdma_v4_1_update_power_gating
+
+Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
+Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
+---
+ drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+index a3e2ed15fff2..12e577c14d1d 100644
+--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
++++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c
+@@ -818,7 +818,7 @@ sdma_v4_1_update_power_gating(struct amdgpu_device *adev, bool enable)
+ uint32_t def, data;
+
+ if (enable && (adev->pg_flags & AMD_PG_SUPPORT_SDMA)) {
+- /* disable idle interrupt */
++ /* enable idle interrupt */
+ def = data = RREG32(SOC15_REG_OFFSET(SDMA0, 0, mmSDMA0_CNTL));
+ data |= SDMA0_CNTL__CTXEMPTY_INT_ENABLE_MASK;
+
+--
+2.17.1
+