drm/amd/pm: revise the implementation of smu_cmn_disable_all_features_with_exception
authorEvan Quan <evan.quan@amd.com>
Wed, 8 Dec 2021 07:47:58 +0000 (15:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 7 Feb 2022 23:01:16 +0000 (18:01 -0500)
commitf69c15e15e74fb0250049c5532d8322c75f423ad
treec489f61a7822dd3bb77dc590b0b7f09d6a3eb207
parenta89ef0448c9b59c524499663eeb92a43c8bc67fd
drm/amd/pm: revise the implementation of smu_cmn_disable_all_features_with_exception

As there is no internal cache for enabled ppfeatures now. Thus the 2nd
parameter will be not needed any more.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.c
drivers/gpu/drm/amd/pm/swsmu/smu_cmn.h
drivers/gpu/drm/amd/pm/swsmu/smu_internal.h