diff options
Diffstat (limited to 'common/recipes-kernel/linux/linux-yocto-4.19.8/0394-drm-amdgpu-add-new-AMDGPU_PP_SENSOR_ENABLED_SMC_FEAT.patch')
-rw-r--r-- | common/recipes-kernel/linux/linux-yocto-4.19.8/0394-drm-amdgpu-add-new-AMDGPU_PP_SENSOR_ENABLED_SMC_FEAT.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/linux-yocto-4.19.8/0394-drm-amdgpu-add-new-AMDGPU_PP_SENSOR_ENABLED_SMC_FEAT.patch b/common/recipes-kernel/linux/linux-yocto-4.19.8/0394-drm-amdgpu-add-new-AMDGPU_PP_SENSOR_ENABLED_SMC_FEAT.patch new file mode 100644 index 00000000..7ecda373 --- /dev/null +++ b/common/recipes-kernel/linux/linux-yocto-4.19.8/0394-drm-amdgpu-add-new-AMDGPU_PP_SENSOR_ENABLED_SMC_FEAT.patch @@ -0,0 +1,29 @@ +From 2d651449b372df3a99f5832c8bfa6e2752b53b89 Mon Sep 17 00:00:00 2001 +From: Alex Deucher <alexander.deucher@amd.com> +Date: Thu, 20 Sep 2018 22:16:45 -0500 +Subject: [PATCH 0394/2940] drm/amdgpu: add new + AMDGPU_PP_SENSOR_ENABLED_SMC_FEATURES_MASK sensor + +For getting the 64 bit enabled smc feature mask from vega parts. + +Reviewed-by: Rex Zhu <Rex.Zhu@amd.com> +Signed-off-by: Alex Deucher <alexander.deucher@amd.com> +--- + drivers/gpu/drm/amd/include/kgd_pp_interface.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/amd/include/kgd_pp_interface.h b/drivers/gpu/drm/amd/include/kgd_pp_interface.h +index 448dee481a38..bd7404532029 100644 +--- a/drivers/gpu/drm/amd/include/kgd_pp_interface.h ++++ b/drivers/gpu/drm/amd/include/kgd_pp_interface.h +@@ -113,6 +113,7 @@ enum amd_pp_sensors { + AMDGPU_PP_SENSOR_GPU_POWER, + AMDGPU_PP_SENSOR_STABLE_PSTATE_SCLK, + AMDGPU_PP_SENSOR_STABLE_PSTATE_MCLK, ++ AMDGPU_PP_SENSOR_ENABLED_SMC_FEATURES_MASK, + }; + + enum amd_pp_task { +-- +2.17.1 + |