diff options
Diffstat (limited to 'meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0925-drm-amd-powerplay-Simplify-vega10_acg_disable.patch')
-rw-r--r-- | meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0925-drm-amd-powerplay-Simplify-vega10_acg_disable.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0925-drm-amd-powerplay-Simplify-vega10_acg_disable.patch b/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0925-drm-amd-powerplay-Simplify-vega10_acg_disable.patch deleted file mode 100644 index 31b1de9d..00000000 --- a/meta-amd-bsp/recipes-kernel/linux/linux-yocto-4.14.71/0925-drm-amd-powerplay-Simplify-vega10_acg_disable.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 0a9faf1e7fdcc0c26f55ea10591eabc8b1f84f27 Mon Sep 17 00:00:00 2001 -From: Tom St Denis <tom.stdenis@amd.com> -Date: Tue, 5 Sep 2017 12:33:58 -0400 -Subject: [PATCH 0925/4131] drm/amd/powerplay: Simplify vega10_acg_disable() - -Signed-off-by: Tom St Denis <tom.stdenis@amd.com> -Reviewed-by: Rex Zhu <Rex.Zhu@amd.com> ---- - drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c | 10 ++++------ - 1 file changed, 4 insertions(+), 6 deletions(-) - -diff --git a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c -index d1d0ec2..5762d6d 100644 ---- a/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c -+++ b/drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c -@@ -2313,13 +2313,11 @@ static int vega10_acg_disable(struct pp_hwmgr *hwmgr) - struct vega10_hwmgr *data = - (struct vega10_hwmgr *)(hwmgr->backend); - -- if (data->smu_features[GNLD_ACG].supported) { -- if (data->smu_features[GNLD_ACG].enabled) { -- if (0 == vega10_enable_smc_features(hwmgr->smumgr, false, -- data->smu_features[GNLD_ACG].smu_feature_bitmap)) -+ if (data->smu_features[GNLD_ACG].supported && -+ data->smu_features[GNLD_ACG].enabled) -+ if (!vega10_enable_smc_features(hwmgr->smumgr, false, -+ data->smu_features[GNLD_ACG].smu_feature_bitmap)) - data->smu_features[GNLD_ACG].enabled = false; -- } -- } - - return 0; - } --- -2.7.4 - |