drm/amd/pm: use adverse selection for dpm features unsupported by driver
authorEvan Quan <evan.quan@amd.com>
Thu, 1 Sep 2022 03:45:02 +0000 (11:45 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Sep 2022 21:47:07 +0000 (17:47 -0400)
commitb9caeadf5cb89566412b94b14a1583419aeba45e
treeb55448aee8e310f703c37d84a1b31ee8eed17791
parent3c480531a4b1652561fd16824c16be8b8a3ba8f1
drm/amd/pm: use adverse selection for dpm features unsupported by driver

It's vbios and pmfw instead of driver who decide whether some dpm features
is supported or not. Driver just de-selects those features which are not
permitted on user's request. Thus, we use adverse selects model.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c