diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2018-09-21 06:34:42 +0300 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2018-09-27 05:09:10 +0300 |
commit | 1f6c52ed09f28da249c00ebc55d112cf7c7f4dc7 (patch) | |
tree | c3156168cf975d5980e0c4d0d72f273a89fb9b96 /drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.h | |
parent | e0c3d04747ee162f7eff5c14b5c4526ca6b9dc74 (diff) | |
download | linux-1f6c52ed09f28da249c00ebc55d112cf7c7f4dc7.tar.xz |
drm/amdgpu: implement ENABLED_SMC_FEATURES_MASK sensor for vega10
So we can query what features are enabled for debugging.
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.h')
-rw-r--r-- | drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.h b/drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.h index 630c0ae4c03d..bad760f22624 100644 --- a/drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.h +++ b/drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.h @@ -44,6 +44,8 @@ struct vega10_smumgr { int vega10_enable_smc_features(struct pp_hwmgr *hwmgr, bool enable, uint32_t feature_mask); +int vega10_get_enabled_smc_features(struct pp_hwmgr *hwmgr, + uint64_t *features_enabled); #endif |