mirror of https://gitee.com/openkylin/linux.git
553c942f8b
Until now, we've had to limit Raspberry Pi to 256MB of CMA memory to keep from triggering the hardware addressing bug between the tile binner and the tile alloc memory (where the top 4 bits come from the tile state data array's address). To work around that and allow more memory to be reserved for graphics, allocate a single BO to store tile state data arrays and tile alloc/overflow memory while the GPU is active, and make sure that that one BO doesn't happen to cross a 256MB boundary. With that in place, we can allocate textures and shaders anywhere in system memory (still contiguous, of course). Signed-off-by: Eric Anholt <eric@anholt.net> Link: http://patchwork.freedesktop.org/patch/msgid/20170327231025.19391-1-eric@anholt.net Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
vc4_bo.c | ||
vc4_crtc.c | ||
vc4_debugfs.c | ||
vc4_dpi.c | ||
vc4_drv.c | ||
vc4_drv.h | ||
vc4_dsi.c | ||
vc4_fence.c | ||
vc4_gem.c | ||
vc4_hdmi.c | ||
vc4_hvs.c | ||
vc4_irq.c | ||
vc4_kms.c | ||
vc4_packet.h | ||
vc4_plane.c | ||
vc4_qpu_defines.h | ||
vc4_regs.h | ||
vc4_render_cl.c | ||
vc4_trace.h | ||
vc4_trace_points.c | ||
vc4_v3d.c | ||
vc4_validate.c | ||
vc4_validate_shaders.c | ||
vc4_vec.c |