The source project of this merge request has been removed.
virgl: use atomic operations when increase sub_ctx_id
Use atomic operations to avoid competition. In addition, since sub_ctx_id 0 has been used by default, sub_ctx_id should start from 1.
Signed-off-by: Xin He hexin.op@bytedance.com Reviewed-by: Gert Wollny gert.wollny@collabora.com
Edited by hexin.op