diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2632-drm-amdgpu-sdma5-set-clock-gating-for-navi14.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2632-drm-amdgpu-sdma5-set-clock-gating-for-navi14.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2632-drm-amdgpu-sdma5-set-clock-gating-for-navi14.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2632-drm-amdgpu-sdma5-set-clock-gating-for-navi14.patch new file mode 100644 index 00000000..ecc0454e --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2632-drm-amdgpu-sdma5-set-clock-gating-for-navi14.patch @@ -0,0 +1,29 @@ +From 9d053c013aa87cfd8490bc447b683303b0357f88 Mon Sep 17 00:00:00 2001 +From: Xiaojie Yuan <xiaojie.yuan@amd.com> +Date: Fri, 22 Mar 2019 13:14:25 +0800 +Subject: [PATCH 2632/2940] drm/amdgpu/sdma5: set clock gating for navi14 + +same as navi10. + +Signed-off-by: Xiaojie Yuan <xiaojie.yuan@amd.com> +Reviewed-by: Alex Deucher <alexander.deucher@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c b/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c +index dbfb1845297d..89893261f145 100644 +--- a/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c ++++ b/drivers/gpu/drm/amd/amdgpu/sdma_v5_0.c +@@ -1493,6 +1493,7 @@ static int sdma_v5_0_set_clockgating_state(void *handle, + + switch (adev->asic_type) { + case CHIP_NAVI10: ++ case CHIP_NAVI14: + sdma_v5_0_update_medium_grain_clock_gating(adev, + state == AMD_CG_STATE_GATE ? true : false); + sdma_v5_0_update_medium_grain_light_sleep(adev, +-- +2.17.1 + |