commit | e95a14a9094a8e6396fba22cbdea9201824d6fd1 | [log] [tgz] |
---|---|---|
author | Tom St Denis <tom.stdenis@amd.com> | Thu Jul 28 09:40:07 2016 -0400 |
committer | Alex Deucher <alexander.deucher@amd.com> | Mon Aug 08 11:32:36 2016 -0400 |
tree | fff4770630ed0bf8802b4bc8f4c3d23099ff3537 | |
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>