]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc5efd3aeeb0133dac4306c6d5ade242703611d1b
tree809e681162eb558ca0c07bc5bd99b1ea44c77a59
parent6c79597f77b13ca5705a4292eac99290aa7b5a1b
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