Re: [PATCH] drm/amd/powerplay: minor cleanups

2020-08-13 Thread Alex Deucher
On Mon, Aug 10, 2020 at 11:38 PM Evan Quan wrote: > > Drop unnecessary lock protections during hw setup which was confirmed > to have no race condition. Drop also unnecessary null pointer checker. > I think this would be cleaner as 4 patches: 1. remove the feature mutex locking and explain why i

RE: [PATCH] drm/amd/powerplay: minor cleanups

2020-08-13 Thread Quan, Evan
[AMD Official Use Only - Internal Distribution Only] Ping.. -Original Message- From: Quan, Evan Sent: Tuesday, August 11, 2020 11:38 AM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Quan, Evan Subject: [PATCH] drm/amd/powerplay: minor cleanups Drop unnecessary lock

[PATCH] drm/amd/powerplay: minor cleanups

2020-08-10 Thread Evan Quan
Drop unnecessary lock protections during hw setup which was confirmed to have no race condition. Drop also unnecessary null pointer checker. Change-Id: Ida301ae7bad1abae15285c4e019eda4f7dc6e297 Signed-off-by: Evan Quan --- drivers/gpu/drm/amd/powerplay/amdgpu_smu.c| 20 drivers/gpu/