diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2279-drm-amd-powerplay-remove-duplicate-code-from-smu-hw-.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2279-drm-amd-powerplay-remove-duplicate-code-from-smu-hw-.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2279-drm-amd-powerplay-remove-duplicate-code-from-smu-hw-.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2279-drm-amd-powerplay-remove-duplicate-code-from-smu-hw-.patch new file mode 100644 index 00000000..cda9dc36 --- /dev/null +++ b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.19.8/2279-drm-amd-powerplay-remove-duplicate-code-from-smu-hw-.patch @@ -0,0 +1,33 @@ +From 4359480db540df4a7dd20251a3a30fa20164907f Mon Sep 17 00:00:00 2001 +From: Kevin Wang <kevin1.wang@amd.com> +Date: Tue, 19 Mar 2019 11:00:41 +0800 +Subject: [PATCH 2279/2940] drm/amd/powerplay: remove duplicate code from smu + hw init + +remove duplicate code (un-used) in smu + +Signed-off-by: Kevin Wang <kevin1.wang@amd.com> +Reviewed-by: Xiaojie Yuan <xiaojie.yuan@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/powerplay/amdgpu_smu.c | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +index 2de67e16e5e3..a48ca6a4353c 100644 +--- a/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c ++++ b/drivers/gpu/drm/amd/powerplay/amdgpu_smu.c +@@ -637,10 +637,6 @@ static int smu_smc_table_hw_init(struct smu_context *smu, + if (ret) + return ret; + +- ret = smu_get_clk_info_from_vbios(smu); +- if (ret) +- return ret; +- + /* + * check if the format_revision in vbios is up to pptable header + * version, and the structure size is not 0. +-- +2.17.1 + |