diff options
Diffstat (limited to 'meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0895-drm-amd-amdgpu-Tidy-up-gfx_v9_0_rlc_stop.patch')
-rw-r--r-- | meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0895-drm-amd-amdgpu-Tidy-up-gfx_v9_0_rlc_stop.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0895-drm-amd-amdgpu-Tidy-up-gfx_v9_0_rlc_stop.patch b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0895-drm-amd-amdgpu-Tidy-up-gfx_v9_0_rlc_stop.patch new file mode 100644 index 00000000..60b01df6 --- /dev/null +++ b/meta-v1000/recipes-kernel/linux/linux-yocto-4.14.71/0895-drm-amd-amdgpu-Tidy-up-gfx_v9_0_rlc_stop.patch @@ -0,0 +1,33 @@ +From 40755766ded5a8836e556adfb6e1b718bd4fc12b Mon Sep 17 00:00:00 2001 +From: Tom St Denis <tom.stdenis@amd.com> +Date: Thu, 31 Aug 2017 09:40:38 -0400 +Subject: [PATCH 0895/4131] drm/amd/amdgpu: Tidy up gfx_v9_0_rlc_stop() + +Signed-off-by: Tom St Denis <tom.stdenis@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 7 +------ + 1 file changed, 1 insertion(+), 6 deletions(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +index 2b7baaf..c224179 100644 +--- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c +@@ -1968,13 +1968,8 @@ static void gfx_v9_0_init_pg(struct amdgpu_device *adev) + + void gfx_v9_0_rlc_stop(struct amdgpu_device *adev) + { +- u32 tmp = RREG32_SOC15(GC, 0, mmRLC_CNTL); +- +- tmp = REG_SET_FIELD(tmp, RLC_CNTL, RLC_ENABLE_F32, 0); +- WREG32_SOC15(GC, 0, mmRLC_CNTL, tmp); +- ++ WREG32_FIELD15(GC, 0, RLC_CNTL, RLC_ENABLE_F32, 0); + gfx_v9_0_enable_gui_idle_interrupt(adev, false); +- + gfx_v9_0_wait_for_rlc_serdes(adev); + } + +-- +2.7.4 + |