Skip to content

freedreno/drm: Submit should hold ref to device

Rob Clark requested to merge robclark/mesa:fd/teardown-crash into main

What does this MR do and why?

freedreno/drm: Submit should hold ref to device

Prevent the device from being deleted prior to submit cleanup.
Otherwise submit cleanup can try to reference an already free'd
device (and use already closed rendernode fd, etc).

Fixes: ("e6b2785811c2 freedreno/drm/virtio: Use userspace IOVA allocation")
Signed-off-by: Rob Clark <robdclark@chromium.org>

Merge request reports