drm/amd/pm: fix enabled features retrieving on Renoir and Cyan Skillfish
authorEvan Quan <evan.quan@amd.com>
Wed, 9 Feb 2022 03:54:04 +0000 (11:54 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 11 Feb 2022 21:07:56 +0000 (16:07 -0500)
commitcc188a73addc8188d73ad11901b697acdc7fd0b0
treefc548bc9a92b4e032a87b5c92f2c94f66c838c3b
parent63b5fa9dbb711e245e59cc14eaae0106eb716447
drm/amd/pm: fix enabled features retrieving on Renoir and Cyan Skillfish

For Cyan Skillfish and Renoir, there is no interface provided by PMFW
to retrieve the enabled features. So, we assume all features are enabled.

Fixes: 7ade3ca9cdb5 ("drm/amd/pm: correct the usage for 'supported' member of smu_feature structure")

Signed-off-by: Evan Quan <evan.quan@amd.com>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/cyan_skillfish_ppt.c
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
drivers/gpu/drm/amd/pm/swsmu/smu_internal.h