diff options
author | Tom St Denis <tom.stdenis@amd.com> | 2016-07-28 09:40:07 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2016-08-08 11:32:36 -0400 |
commit | e95a14a9094a8e6396fba22cbdea9201824d6fd1 (patch) | |
tree | fff4770630ed0bf8802b4bc8f4c3d23099ff3537 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | |
parent | 70bb246154229550e5c9095d484b39fb82047907 (diff) |
drm/amd/amdgpu: add mutex locking for both DPM and PP based powergating for UVD/VCE
This adds a mutex lock for both DPM/PP around the changes in
power gating state so that userspace can poll registers without
a race condition on power state.
Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reviewed-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions