drm/amdgpu/pm: properly handle runtime pm
authorAlex Deucher <alexander.deucher@amd.com>
Fri, 10 Jan 2020 20:31:27 +0000 (15:31 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 14 Jan 2020 15:20:34 +0000 (10:20 -0500)
commitb9a9294b91efd4388db415d657626c1431316379
tree809e681162eb558ca0c07bc5bd99b1ea44c77a59
parentf81110b8520a4ed1062b044b1704b4fe31593ebe
drm/amdgpu/pm: properly handle runtime pm

If power management sysfs or 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_pm.c