diff options
author | Jack Xiao <Jack.Xiao@amd.com> | 2022-07-07 20:57:34 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-07-08 18:25:56 -0400 |
commit | 35ba8850b673050b71b17c1421079031f4fda319 (patch) | |
tree | f910e560336e78405a46460c4f482325aaa17378 /drivers/gpu/drm/drm_managed.c | |
parent | 872642edaf4228040473349ae0ee872264fa67f7 (diff) |
drm/amdgpu/mes: fix mes submission in atomic context
For some cases (accessing registers, unmap legacy queue), it needs
access mes in atomic context. Use spinlock to protect agaist mes
ring buffer race condition.
Signed-off-by: Jack Xiao <Jack.Xiao@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/drm_managed.c')
0 files changed, 0 insertions, 0 deletions