[PATCH v3 0/2] send message to pmfw when SMT changes
Wenyou Yang
WenYou.Yang at amd.com
Wed Mar 29 01:51:47 UTC 2023
When the CPU SMT changes on the fly, send the message to pmfw
to notify the SMT status changed.
Changes in v3
1./ Because it is only required for Vangogh, move registering notifier
to vangogh_ppt.c, then remove the patch 2, and the number of patches
decreased to 2.
Changes in v2:
1/. Embed the smt notifer callback into "struct smu_context" structure.
2/. Correct the PPSMC_Message_Count value.
3/. Improve several code styles and others.
Wenyou Yang (2):
cpu/smt: add a notifier to notify the SMT changes
drm/amd/pm: vangogh: send the SMT enable message to pmfw
drivers/gpu/drm/amd/pm/swsmu/amdgpu_smu.c | 5 +++
drivers/gpu/drm/amd/pm/swsmu/inc/amdgpu_smu.h | 7 +++
.../pm/swsmu/inc/pmfw_if/smu_v11_5_ppsmc.h | 3 +-
drivers/gpu/drm/amd/pm/swsmu/inc/smu_types.h | 3 +-
.../gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c | 43 +++++++++++++++++++
include/linux/cpu.h | 5 +++
kernel/cpu.c | 10 ++++-
7 files changed, 73 insertions(+), 3 deletions(-)
--
2.39.2
More information about the amd-gfx
mailing list