drm/amd/pm: add plpd_mode in smu_context to indicate current mode
authorLe Ma <le.ma@amd.com>
Tue, 29 Aug 2023 11:38:48 +0000 (19:38 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 26 Sep 2023 21:00:23 +0000 (17:00 -0400)
commit10d9ee96ce058eea6b9bb670d2dff69694bb99d4
treef6ef4eb091e20bb732a50301b7e8452fc6f5cd36
parentca2ce4cc080e197b0374099b3e4b98bb14d4f273
drm/amd/pm: add plpd_mode in smu_context to indicate current mode

Add enum pp_xgmi_plpd_mode to describe PLPD policies.

v2: move the enum from amdgpu_smu.h to kgd_pp_interface.h

Signed-off-by: Le Ma <le.ma@amd.com>
Reviewed-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/include/kgd_pp_interface.h
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h