Re: [PATCH] drm/amdgpu: fix sysfs power controls with multi-GPU

2020-05-21 Thread Wang, Kevin(Yang)
_ From: amd-gfx on behalf of Quan, Evan Sent: Friday, May 22, 2020 1:35 PM To: Alex Deucher ; amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: RE: [PATCH] drm/amdgpu: fix sysfs power controls with multi-GPU [AMD Official Use Only - Internal Distribution Only] [AMD Official Use

RE: [PATCH] drm/amdgpu: fix sysfs power controls with multi-GPU

2020-05-21 Thread Quan, Evan
[AMD Official Use Only - Internal Distribution Only] Acked-by: Evan Quan -Original Message- From: amd-gfx On Behalf Of Alex Deucher Sent: Friday, May 22, 2020 5:38 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander Subject: [PATCH] drm/amdgpu: fix sysfs power controls with

[PATCH] drm/amdgpu: fix sysfs power controls with multi-GPU

2020-05-21 Thread Alex Deucher
Reset the SUPPORTED attribute. Signed-off-by: Alex Deucher --- This fixes multi-GPU, but I think we could still race without some sort of locking around the attr array. drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgp