diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.14.71/4877-drm-amdgpu-drop-mmRLC_PG_CNTL-clear-v2.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.14.71/4877-drm-amdgpu-drop-mmRLC_PG_CNTL-clear-v2.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.14.71/4877-drm-amdgpu-drop-mmRLC_PG_CNTL-clear-v2.patch b/common/recipes-kernel/linux/linux-yocto-4.14.71/4877-drm-amdgpu-drop-mmRLC_PG_CNTL-clear-v2.patch new file mode 100644 index 00000000..fff4d5a6 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.14.71/4877-drm-amdgpu-drop-mmRLC_PG_CNTL-clear-v2.patch @@ -0,0 +1,35 @@ +From 0608446c9ecb074f32eadaf07251b8501fb7edd5 Mon Sep 17 00:00:00 2001 +From: Evan Quan <evan.quan@amd.com> +Date: Wed, 4 Jul 2018 17:06:38 +0800 +Subject: [PATCH 4877/5725] drm/amdgpu: drop mmRLC_PG_CNTL clear v2 + +SMU owns this register so the driver should not set it +to avoid breaking gfxoff. + +v2: update description + +Signed-off-by: Evan Quan <evan.quan@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher at amd.com> +Reviewed-by: Huang Rui <ray.huang at amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 3 --- + 1 file changed, 3 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +index b322714..99d6005 100644 +--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +@@ -2309,9 +2309,6 @@ static int gfx_v9_0_rlc_resume(struct amdgpu_device *adev) + /* disable CG */ + WREG32_SOC15(GC, 0, mmRLC_CGCG_CGLS_CTRL, 0); + +- /* disable PG */ +- WREG32_SOC15(GC, 0, mmRLC_PG_CNTL, 0); +- + gfx_v9_0_rlc_reset(adev); + + gfx_v9_0_init_pg(adev); +-- +2.7.4 + |