drm/amd/smu: unify smu ppt callback macros
authorKevin Wang <kevin1.wang@amd.com>
Tue, 16 Jun 2020 05:51:04 +0000 (13:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 1 Jul 2020 05:59:22 +0000 (01:59 -0400)
commite26ffda81bd19dc347ee4fa1aa656146de8dc8bc
tree73e5b63ebc3cf10c8fbaebdc7cc089288b23988e
parent1fc87b4599a7cbab54c988f0cb55d52e4ec121df
drm/amd/smu: unify smu ppt callback macros

v1: add the new macro "smu_ppt_xxx()" to unify smu callback interfaces
v2: rename the macro smu_ppt_xxx to smu_ppt_funcs.

Signed-off-by: Kevin Wang <kevin1.wang@amd.com>
Reviewed-by: Huang Rui <ray.huang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/smu_internal.h