[Intel-gfx] [RFC] libdrm_intel: Rework BO allocs to avoid rounding up to bucket size
Daniel Vetter
daniel at ffwll.ch
Fri Aug 29 14:34:05 CEST 2014
On Fri, Aug 29, 2014 at 12:18:45PM +0100, Chris Wilson wrote:
> What I've done in the past is kept a global pool of used pages to avoid
> clflushing fresh allocations in the kernel. That runs afoul of the ABI
> that we need to scrub new bo. With a create2 we could specify a pool to
> use that would be filp private and so have no greater information leak
> than the current reuse. Probably will still be frowned upon, but a fun
> idea to pursue...
I think a per-filp page cache would actually be fairly sane. Presuming the
added complexity can be justified with benchmarks ofc.
-Daniel
--
Daniel Vetter
Software Engineer, Intel Corporation
+41 (0) 79 365 57 48 - http://blog.ffwll.ch
More information about the Intel-gfx
mailing list