[igt-dev] [PATCH i-g-t v18 10/31] lib/intel_bufops: Add init with handle and size function

Chris Wilson chris at chris-wilson.co.uk
Mon Feb 1 16:14:18 UTC 2021


Quoting Zbigniew Kempczyński (2021-01-29 14:44:33)
> For some cases (fb with compression) fb size is bigger than calculated
> intel_buf what lead to execbuf failure when allocator is used
> along with EXEC_OBJECT_PINNED flag set for all objects.
> 
> We need to create intel_buf with size equal to fb so new function
> in which we pass handle and size is required.
> 
> Signed-off-by: Zbigniew Kempczyński <zbigniew.kempczynski at intel.com>
> Cc: Dominik Grzegorzek <dominik.grzegorzek at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the igt-dev mailing list