]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf35dd26c9f7c1022647002c2f1e2cdf3aa88145
treed08ccdf38871f4d778f3c6e49fa2aa8070e75cac
parent881da169e4eb9d348dff8898aa09f1a9f1a35a94
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