]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
drm/amdgpu: add new AMDGPU_PP_SENSOR_ENABLED_SMC_FEATURES_MASK sensor
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Sep 2018 03:16:45 +0000 (22:16 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:10 +0000 (21:09 -0500)
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

index 448dee481a389897fa9c5978223408d9aa628956..bd7404532029577ac80da9ecb3814502524c39d1 100644 (file)
@@ -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 {