diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/2269-drm-amd-powerplay-modify-the-feature-mask-to-enable-.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/2269-drm-amd-powerplay-modify-the-feature-mask-to-enable-.patch | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/2269-drm-amd-powerplay-modify-the-feature-mask-to-enable-.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/2269-drm-amd-powerplay-modify-the-feature-mask-to-enable-.patch new file mode 100644 index 00000000..d50ae7a0 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/2269-drm-amd-powerplay-modify-the-feature-mask-to-enable-.patch @@ -0,0 +1,33 @@ +From 08dc177c290977417b2aea05d84b75807466c039 Mon Sep 17 00:00:00 2001 +From: Huang Rui <ray.huang@amd.com> +Date: Wed, 20 Feb 2019 20:17:23 +0800 +Subject: [PATCH 2269/2940] drm/amd/powerplay: modify the feature mask to + enable gfx/soc dpm + +So far, the gfx/soc dpm is enabled with feature mask set. + +Signed-off-by: Huang Rui <ray.huang@amd.com> +Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/powerplay/navi10_ppt.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c +index a97072cc0396..3327af2376d7 100644 +--- a/drivers/gpu/drm/amd/powerplay/navi10_ppt.c ++++ b/drivers/gpu/drm/amd/powerplay/navi10_ppt.c +@@ -119,8 +119,8 @@ navi10_get_unallowed_feature_mask(struct smu_context *smu, + if (num > 2) + return -EINVAL; + +- feature_mask[0] = 0x0C677844; +- feature_mask[1] = 0xFFFFFF28; /* bit32~bit63 is Unsupported */ ++ feature_mask[0] = 0xffffffe4; ++ feature_mask[1] = 0xffffffff; /* bit32~bit63 is Unsupported */ + + return 0; + } +-- +2.17.1 + |