drm/amd/pm: Add mutex lock for metrics table

Add metrics table mutex lock in smu table context struct

Signed-off-by: Asad Kamal <asad.kamal@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
This commit is contained in:
Asad Kamal 2026-01-31 18:05:31 +08:00 committed by Alex Deucher
parent 0761902578
commit 49b4b0c6af

View File

@ -389,6 +389,7 @@ struct smu_table_context {
void *metrics_table;
void *clocks_table;
void *watermarks_table;
struct mutex metrics_lock;
void *max_sustainable_clocks;
struct smu_bios_boot_up_values boot_values;