2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2025-01-20 03:24:03 +08:00
linux-next/drivers/gpu/drm/vc4
Eric Anholt c826a6e106 drm/vc4: Add a BO cache.
We need to allocate new BOs in the kernel as part of each frame, but
the CMA allocator is way too slow for that.  As an optimization, keep
track of recently-freed BOs and reuse them, with a 1 second timeout to
fully free them back to the system.

This improves 3D performance by about 15%.

Signed-off-by: Eric Anholt <eric@anholt.net>
2015-12-07 20:01:56 -08:00
..
Kconfig
Makefile
vc4_bo.c drm/vc4: Add a BO cache. 2015-12-07 20:01:56 -08:00
vc4_crtc.c
vc4_debugfs.c drm/vc4: Add a BO cache. 2015-12-07 20:01:56 -08:00
vc4_drv.c drm/vc4: Add a BO cache. 2015-12-07 20:01:56 -08:00
vc4_drv.h drm/vc4: Add a BO cache. 2015-12-07 20:01:56 -08:00
vc4_hdmi.c
vc4_hvs.c
vc4_kms.c
vc4_plane.c
vc4_regs.h