Skip to content

virgl: also destroy all read-transfers

Erik Faye-Lund requested to merge kusma/mesa:virgl-destroy-read-transfers into master

For write-transfers, we either free them on the transfer-queue or right away. But for read-transfers, we currently only destroy them in case they used a temp-resource. This leads to occasional resource-leaks.

Let's add a call to virgl_resource_destroy_transfer in the missing case.

Signed-off-by: Erik Faye-Lund erik.faye-lund@collabora.com Fixes: f0e71b10 ("virgl: use transfer queue")

Edited by Erik Faye-Lund

Merge request reports

Loading