[Intel-gfx] [PATCH 1/2] drm/i915/dmabuf: don't trust the dma_buf->size

Chris Wilson chris at chris-wilson.co.uk
Fri Jan 22 18:24:49 UTC 2021


Quoting Matthew Auld (2021-01-22 18:15:13)
> At least for the time being, we need to limit our object sizes such that
> the number of pages can fit within a 32b signed int. It looks like we
> should also apply the same restriction to any imported dma-buf.
> 
> Signed-off-by: Matthew Auld <matthew.auld at intel.com>

>From behind the grumbling that we really should have sorted this out by
now,
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris


More information about the Intel-gfx mailing list