Skip to content

virgl:Fix the leak of hw_res used as fence

cheyang requested to merge (removed):virgl_fence into main

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

Merge request reports