diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/5478-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/5478-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/5478-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/5478-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch new file mode 100644 index 00000000..b08b46fe --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/5478-drm-amdgpu-Fix-comments-error-in-sdma_v4_1_update_po.patch @@ -0,0 +1,28 @@ +From 4514875783ccb1bcf1aef0cfe0c56b6a1b80cb38 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 5478/5725] 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 f797eaf..8a99832 100644 +--- a/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/sdma_v4_0.c +@@ -828,7 +828,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.7.4 + |