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)
commitbd12267dd896ff8e3dfd25ac31cbc255e9184715
tree10266645e128653595bb7f779fb04262deafd930
parente95a14a9094a8e6396fba22cbdea9201824d6fd1
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