diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0887-drm-amd-amdgpu-Tidy-up-gfx_v9_0_enable_save_restore_.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0887-drm-amd-amdgpu-Tidy-up-gfx_v9_0_enable_save_restore_.patch | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0887-drm-amd-amdgpu-Tidy-up-gfx_v9_0_enable_save_restore_.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0887-drm-amd-amdgpu-Tidy-up-gfx_v9_0_enable_save_restore_.patch deleted file mode 100644 index 2fa6b7a0..00000000 --- a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0887-drm-amd-amdgpu-Tidy-up-gfx_v9_0_enable_save_restore_.patch +++ /dev/null @@ -1,32 +0,0 @@ -From a9fb0edd5d35526a709b08f8e8051439327fcda6 Mon Sep 17 00:00:00 2001 -From: Tom St Denis <tom.stdenis@amd.com> -Date: Thu, 31 Aug 2017 08:59:00 -0400 -Subject: [PATCH 0887/4131] drm/amd/amdgpu: Tidy up - gfx_v9_0_enable_save_restore_machine() - -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 | 6 +----- - 1 file changed, 1 insertion(+), 5 deletions(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c -index 544cc87..4bae178 100644 ---- a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c -+++ b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c -@@ -1764,11 +1764,7 @@ static int gfx_v9_0_init_rlc_save_restore_list(struct amdgpu_device *adev) - - static void gfx_v9_0_enable_save_restore_machine(struct amdgpu_device *adev) - { -- u32 tmp = 0; -- -- tmp = RREG32(SOC15_REG_OFFSET(GC, 0, mmRLC_SRM_CNTL)); -- tmp |= RLC_SRM_CNTL__SRM_ENABLE_MASK; -- WREG32(SOC15_REG_OFFSET(GC, 0, mmRLC_SRM_CNTL), tmp); -+ WREG32_FIELD15(GC, 0, RLC_SRM_CNTL, SRM_ENABLE, 1); - } - - static void pwr_10_0_gfxip_control_over_cgpg(struct amdgpu_device *adev, --- -2.7.4 - |