RE: [PATCH 2/2] drm/amdgpu/debugfs: properly handle runtime pm

2020-01-12 Thread Quan, Evan
Reviewed-by: Evan Quan > -Original Message- > From: amd-gfx On Behalf Of Alex > Deucher > Sent: Saturday, January 11, 2020 7:45 AM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander > Subject: [PATCH 2/2] drm/amdgpu/debugfs: properly handle runtime pm &

[PATCH 2/2] drm/amdgpu/debugfs: properly handle runtime pm

2020-01-10 Thread Alex Deucher
If driver debugfs files are accessed, power up the GPU when necessary. Signed-off-by: Alex Deucher --- drivers/gpu/drm/amd/amdgpu/amdgpu_debugfs.c | 133 ++-- drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | 8 ++ 2 files changed, 134 insertions(+), 7 deletions(-) diff --git a/dr