]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/pm: unified lock protections in amdgpu_dpm.c
authorEvan Quan <evan.quan@amd.com>
Tue, 16 Nov 2021 06:30:20 +0000 (14:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 14 Jan 2022 22:51:15 +0000 (17:51 -0500)
commitd9b7d07491dc9c63169bbe9b4720da7444005922
treef6ed89d3197191463bc5f878e084b994c73af944
parent47e57940d6e755c61727b433e54d9a99fbaec07e
drm/amd/pm: unified lock protections in amdgpu_dpm.c

As the only entry point, it's now safe and reasonable to
enforce the lock protections in amdgpu_dpm.c. And with
this, we can drop other internal used power locks.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Lijo Lazar <lijo.lazar@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/amdgpu_dpm.c
drivers/gpu/drm/amd/pm/legacy-dpm/kv_dpm.c
drivers/gpu/drm/amd/pm/legacy-dpm/si_dpm.c