The source project of this merge request has been removed.
virgl:Fix the leak of hw_res used as fence
Fence destroy hw_res not dec reference.Lead leak. Call virgl_drm_resource_reference() to release hw_res instead of calling virgl_hw_res_destroy() directly.
Fixes: c54fb6ef (virgl: Don't destroy resource while it's in use.)
Signed-off-by: cheyang cheyang@bytedance.com
Edited by cheyang