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

Maarten Lankhorst maarten.lankhorst at linux.intel.com
Wed Feb 28 10:04:59 UTC 2018


Op 28-02-18 om 10:22 schreef Chris Wilson:
> 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

Thanks, pushed. :)



More information about the igt-dev mailing list