[igt-dev] [PATCH i-g-t 3/6] aubdump: For gen10+ support addresses up to 4GB
Jordan Justen
jordan.l.justen at intel.com
Thu Feb 22 01:49:33 UTC 2018
On 2018-02-21 16:58:16, Scott D Phillips wrote:
> Jordan Justen <jordan.l.justen at intel.com> writes:
>
> > For gen10, we now add mappings for buffers as they are needed.
> >
> > Instead of doing this dynamically, we could always map the entire 4GB.
> > With 4KB pages, the tables would take up 8MB in every AUB. AUBs are
> > often quite huge compared to 8MB, but they can also be just a few
> > hundred KB.
> >
> > This should allow the AUB to create up to about 4GB of allocated
> > buffers, whereas before we were limited to about 64MB.
> >
> > While it is unlikely that we'll try to capture AUBs that generate
> > buffers up to 4GB in size, this change also should allow pinned
> > buffers to be used anywhere in the first 4GB. (I tested a pinned
> > buffer at 0xf0000000.)
>
> Will we need to do PIPE_CONTROL with TLB Invalidate as entries get added
> for the simulator to do the right thing with the generated file?
Maybe? Since we only add mappings (never change or delete), I wouldn't
expect an invalidate would be required.
-Jordan
More information about the igt-dev
mailing list