Quoting Matthew Auld (2018-01-04 17:20:16)
> On 4 January 2018 at 16:38, Chris Wilson <[email protected]> wrote:
> > In some iommu, e.g. swiotlb, the available space can be quite limited.
> > So we employ a trial-and-error approach to seeing if our large
> > contiguous chunks can fit, and if that fails we try again with smaller
> > chunks after trying to free our own lazily allocated blobs. As we use a
> > trial-and-error approach, we do not want dma_map_sg() to emit a WARN of
> > its own accord, we want to gracefully report the error back to the caller
> > instead.
> >
> > Note that our noisy culprit, swiotlb, doesn't honour the flag, yet.
> >
> > Signed-off-by: Chris Wilson <[email protected]>
> > Cc: Joonas Lahtinen <[email protected]>
> > Cc: Matthew Auld <[email protected]>
> Reviewed-by: Matthew Auld <[email protected]>

Thanks, pushed the small tweak for a silent future.
-Chris
_______________________________________________
Intel-gfx mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/intel-gfx

Reply via email to