[igt-dev] [PATCH i-g-t v23 37/37] tests/gem_linear_blits: Use intel allocator

Zbigniew Kempczyński zbigniew.kempczynski at intel.com
Tue Mar 16 13:18:36 UTC 2021


On Tue, Mar 16, 2021 at 11:23:25AM +0000, Chris Wilson wrote:

<cut>

> > +               do_relocs = !gem_uses_ppgtt(fd);
> >  
> >                 count = gem_aperture_size(fd);
> >                 if (count >> 32)
> >                         count = MAX_32b;
> > +               else
> > +                       do_relocs = true;
> 
> So this catches Braswell (has a 32b full-ppgtt) and only Braswell.
> Any reason why the simple allocator cannot handle less than 32b of
> address space?
> 

No, but do we really need this in that series? I'm not good in all
i915 history and I don't have knowledge about all previous gen 
limitations so I left above check intact. 

--
Zbigniew


More information about the igt-dev mailing list