panfrost: Create a blitter library to replace the existing preload helpers
pan_blitter.c is meant to replace the pan_blit.c which currently provides helpers to preload the tile buffer. Some changes are worth mentioning: - we use pre-frame DCDs on Bifrost (Midgard still uses a tiler job to preload the tile buffer) - the blit shaders are now stored in a hash table and created lazily - we now cache blend shader binaries and blit RSDs too This library will soon be extended to cover regular blits. Signed-off-by:Boris Brezillon <boris.brezillon@collabora.com> Reviewed-by:
Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com> Part-of: <mesa/mesa!10033>
- src/panfrost/Makefile.sources 2 additions, 0 deletionssrc/panfrost/Makefile.sources
- src/panfrost/lib/meson.build 1 addition, 0 deletionssrc/panfrost/lib/meson.build
- src/panfrost/lib/pan_blitter.c 1125 additions, 0 deletionssrc/panfrost/lib/pan_blitter.c
- src/panfrost/lib/pan_blitter.h 48 additions, 0 deletionssrc/panfrost/lib/pan_blitter.h
- src/panfrost/lib/pan_device.h 15 additions, 0 deletionssrc/panfrost/lib/pan_device.h