]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/amdgpu: add pm lock to debugfs mmio entry
authorTom St Denis <tom.stdenis@amd.com>
Thu, 28 Jul 2016 13:39:22 +0000 (09:39 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 8 Aug 2016 15:32:37 +0000 (11:32 -0400)
commitf61c5639fc1894db0afbfdcdbe6bd6064da3622b
tree10266645e128653595bb7f779fb04262deafd930
parent5e2c23dc9f67106711817d2f69211d1e712e1f5a
drm/amd/amdgpu: add pm lock to debugfs mmio entry

Adds support for PM locks around access to registers that might
have race conditions on PG transistions.

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>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c