[Public]

Before calling into psp_cmd_submit_buf, a mutex psp->cmd_buf_mutex is there, 
and after entering psp_cmd_submit_buf, there is another mutex psp->mutex, is it 
a bit redundant?

Regards,
Guchun

From: Clements, John <[email protected]>
Sent: Tuesday, August 3, 2021 5:50 PM
To: [email protected]
Cc: Zhang, Hawking <[email protected]>; Li, Candice <[email protected]>; 
Lazar, Lijo <[email protected]>; Chen, Guchun <[email protected]>
Subject: [PATCH] drm/amdgpu: added synchronization for psp cmd buf access


[AMD Official Use Only]

Submitting patch to synchronize access to psp cmd submission memory to resolve 
potential race conditions.

Reply via email to