[Mesa-dev] [PATCH] panfrost: Use tiler fast path (performance boost)

Alyssa Rosenzweig alyssa at rosenzweig.io
Thu Feb 21 16:07:03 UTC 2019


> Yes, there is a buffer for holding the results of the tiler. The way it
> works is that the userspace driver allocates a very large buffer with a
> "grow on page fault" bit, so the kernel will allocate more memory as the
> tiler asks for it.

To be clear, right now I have this magic misc_0 buffer setup that way,
too (allocating something enormous and setting GROW_ON_GPF). Although,
it's not clear to me that that is the _correct_ thing to do; IIRC, the
blob allocates "just enough", no GROW_ON_GPF needed, but I should
probably check that.


More information about the mesa-dev mailing list