[PATCH] drm/amdgpu: added synchronization for psp cmd buf access

Chen, Guchun Guchun.Chen at amd.com
Tue Aug 3 13:58:29 UTC 2021


[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 <John.Clements at amd.com>
Sent: Tuesday, August 3, 2021 5:50 PM
To: amd-gfx at lists.freedesktop.org
Cc: Zhang, Hawking <Hawking.Zhang at amd.com>; Li, Candice <Candice.Li at amd.com>; Lazar, Lijo <Lijo.Lazar at amd.com>; Chen, Guchun <Guchun.Chen at amd.com>
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/amd-gfx/attachments/20210803/8141e47f/attachment-0001.htm>


More information about the amd-gfx mailing list