[igt-dev] [PATCH i-g-t] lib/igt_draw: Fix bo leak in gpu draw routines

Chris Wilson chris at chris-wilson.co.uk
Wed Feb 28 09:22:12 UTC 2018


Quoting Maarten Lankhorst (2018-02-28 09:14:03)
> gem_handle_to_libdrm_bo creates a new handle through the use of flink,
> which makes kms_frontbuffer_tracking through a single run not complete
> when it starts leaking 50MB objects. Add the missing bo_unref to kill
> the duplicated handle and fix the leaks!
> 
> Signed-off-by: Maarten Lankhorst <maarten.lankhorst at linux.intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>

3 gem_handle_to_libdrm_bo, 3 unrefs.
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the igt-dev mailing list