Re: [PATCH 2/2] drm/amd/swsmu: correct smu lock type on smu_read_sensor()

2020-07-26 Thread Wang, Kevin(Yang)
Best Regards, Kevin From: Quan, Evan Sent: Monday, July 27, 2020 12:01 PM To: Wang, Kevin(Yang) ; amd-gfx@lists.freedesktop.org Cc: Wang, Kevin(Yang) ; Feng, Kenneth Subject: RE: [PATCH 2/2] drm/amd/swsmu: correct smu lock type on smu_read_sensor() [AMD Official Use Only - Internal Distri

RE: [PATCH 2/2] drm/amd/swsmu: correct smu lock type on smu_read_sensor()

2020-07-26 Thread Quan, Evan
[AMD Official Use Only - Internal Distribution Only] It's OK to drop sensor_lock. But please keep smu->mutex in smu_read_sensor. All top APIs from amdgpu_smu.c come with smu->mutex to avoid potential race issue. -Original Message- From: amd-gfx On Behalf Of Kevin Wang Sent: Monday, July