drm/amdgpu: implement ENABLED_SMC_FEATURES_MASK sensor for vega10
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Sep 2018 03:34:42 +0000 (22:34 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:10 +0000 (21:09 -0500)
commit1f6c52ed09f28da249c00ebc55d112cf7c7f4dc7
treec3156168cf975d5980e0c4d0d72f273a89fb9b96
parente0c3d04747ee162f7eff5c14b5c4526ca6b9dc74
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>
drivers/gpu/drm/amd/powerplay/hwmgr/vega10_hwmgr.c
drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.c
drivers/gpu/drm/amd/powerplay/smumgr/vega10_smumgr.h