[Mesa-dev] [PATCH 09/10] i965: Softpin all buffers and never use relocations.

Chris Wilson chris at chris-wilson.co.uk
Fri May 4 06:51:52 UTC 2018


Quoting Kenneth Graunke (2018-05-04 02:12:39)
> ---
>  src/mesa/drivers/dri/i965/brw_bufmgr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> This enables it for Broadwell (with a 64-bit kernel) and Skylake+ (with
> any kernel).  Unfortunately, it doesn't enable it for Cherryview as that
> has a 32-bit GTT.  We could switch that over as well, but we'd have to
> have a single memory zone, which is kind of a special case...

I would make it conditional on gem_param(HAS_ALIASING_PPGTT) > 1 (that
is on full-ppgtt, where you don't have to care about framebuffers and
GTT mmaps conflicting).
-Chris


More information about the mesa-dev mailing list