RE: [PATCH 1/3] drm/amd/powerplay: add lock protection for swSMU APIs V2

2019-10-21 Thread Deucher, Alexander
> -Original Message- > From: Quan, Evan > Sent: Sunday, October 20, 2019 10:48 PM > To: amd-gfx@lists.freedesktop.org > Cc: Deucher, Alexander ; Grodzovsky, > Andrey ; Xu, Feifei ; > Quan, Evan ; Grodzovsky, Andrey > ; Xu, Feifei > Subject: [PATCH 1/3]

[PATCH 1/3] drm/amd/powerplay: add lock protection for swSMU APIs V2

2019-10-20 Thread Quan, Evan
This is a quick and low risk fix. Those APIs which are exposed to other IPs or to support sysfs/hwmon interfaces or DAL will have lock protection. Meanwhile no lock protection is enforced for swSMU internal used APIs. Future optimization is needed. V2: strip the lock protection for all swSMU inter

RE: [PATCH 1/3] drm/amd/powerplay: add lock protection for swSMU APIs V2

2019-10-19 Thread Xu, Feifei
Acked-by: Feifei Xu Thanks, Feifei -Original Message- From: amd-gfx On Behalf Of Quan, Evan Sent: Friday, October 18, 2019 10:57 PM To: amd-gfx@lists.freedesktop.org Cc: Deucher, Alexander ; Grodzovsky, Andrey ; Quan, Evan Subject: [PATCH 1/3] drm/amd/powerplay: add lock protection

[PATCH 1/3] drm/amd/powerplay: add lock protection for swSMU APIs V2

2019-10-18 Thread Quan, Evan
This is a quick and low risk fix. Those APIs which are exposed to other IPs or to support sysfs/hwmon interfaces or DAL will have lock protection. Meanwhile no lock protection is enforced for swSMU internal used APIs. Future optimization is needed. V2: strip the lock protection for all swSMU inter