Skip to content

freedreno/drm: Fix teardown crash harder

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

What does this MR do and why?

freedreno/drm: Fix teardown crash harder

We need to unref the device *after* submit cleanup, so that
fd_submit_sp_destory() can still reference the device.

Fixes: d558cb664a68 ("freedreno/drm: Submit should hold ref to device")
Signed-off-by: Rob Clark <robdclark@chromium.org>

Merge request reports