mirror of
https://github.com/torvalds/linux.git
synced 2026-05-29 17:43:52 +02:00
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:
parent
0761902578
commit
49b4b0c6af
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user