[igt-dev] [PATCH i-g-t v18 12/31] lib/intel_batchbuffer: Add tracking intel_buf to intel_bb
Chris Wilson
chris at chris-wilson.co.uk
Mon Feb 1 16:19:25 UTC 2021
Quoting Zbigniew Kempczyński (2021-01-29 14:44:35)
> + if (removed && !igt_list_empty(&buf->link)) {
> buf->addr.offset = INTEL_BUF_INVALID_ADDRESS;
> + buf->ibb = NULL;
> + igt_list_del(&buf->link);
> + IGT_INIT_LIST_HEAD(&buf->link);
Add igt_list_del_init(). I'm surprised we didn't already have it.
-Chris
More information about the igt-dev
mailing list