[PATCH 3/5] drm/panfrost: Add a no execute flag for BO allocations

Alyssa Rosenzweig alyssa at rosenzweig.io
Mon Jul 22 14:05:50 UTC 2019


> Seems like almost 4GB executable
> buffer should be enough for anyone(TM).

(TM) indeed. For stats, Panfrost right now uses a single 16MB shader
buffer per context and never reallocates.

I have never seen it run out of space, not even once on a conformance
test.

Mali shader binaries are small (a HUGE shader would be several
kilobytes!!!) so... honestly if you're doing more than 32MB executable
that's super raising eyebrows.


More information about the dri-devel mailing list