drm/amdgpu/debugfs: properly handle runtime pm
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jan 2020 20:58:52 +0000 (15:58 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jan 2020 15:20:34 +0000 (10:20 -0500)
commita9ffe2a9833835b157a53dcc4d725f71426f55ff
treed08ccdf38871f4d778f3c6e49fa2aa8070e75cac
parentb9a9294b91efd4388db415d657626c1431316379
drm/amdgpu/debugfs: properly handle runtime pm

If driver debugfs files are accessed, power up the GPU
when necessary.

Reviewed-by: Evan Quan <evan.quan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c
drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c