linux_dsm_epyc7002/drivers/gpu/drm/vc4
Boris Brezillon 0a038c1c29 drm/vc4: Move LBM creation out of vc4_plane_mode_set()
We are about to use vc4_plane_mode_set() in the async check path, and
async updates require that LBM size stay the same since they reuse the
LBM from the previous state. So we definitely don't want to allocate a
new LBM region that we know for sure will be free right away.

Move the LBM allocation out of vc4_plane_mode_set() and call the new
function (vc4_plane_update_lbm()) from vc4_plane_atomic_check().

Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
Link: https://patchwork.freedesktop.org/patch/msgid/20181130090254.594-2-boris.brezillon@bootlin.com
2018-11-30 10:34:29 +01:00
..
Kconfig
Makefile
vc4_bo.c
vc4_crtc.c drm: extract drm_atomic_uapi.c 2018-09-09 14:19:18 +02:00
vc4_debugfs.c
vc4_dpi.c
vc4_drv.c drm/vc4: Use drm_atomic_helper_shutdown 2018-10-05 18:04:10 +02:00
vc4_drv.h drm/vc4: Move LBM creation out of vc4_plane_mode_set() 2018-11-30 10:34:29 +01:00
vc4_dsi.c
vc4_fence.c
vc4_gem.c dma-buf: allow reserving more than one shared fence slot 2018-10-25 13:45:07 +02:00
vc4_hdmi.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00
vc4_hvs.c
vc4_irq.c
vc4_kms.c drm/vc4: Set ->legacy_cursor_update to false when doing non-async updates 2018-11-15 17:57:06 +01:00
vc4_packet.h
vc4_perfmon.c
vc4_plane.c drm/vc4: Move LBM creation out of vc4_plane_mode_set() 2018-11-30 10:34:29 +01:00
vc4_qpu_defines.h
vc4_regs.h drm/vc4: Define missing PITCH0_SINK_PIX field 2018-10-24 17:58:08 +02:00
vc4_render_cl.c
vc4_trace_points.c
vc4_trace.h
vc4_txp.c
vc4_v3d.c
vc4_validate_shaders.c
vc4_validate.c
vc4_vec.c drm: drop _mode_ from drm_mode_connector_attach_encoder 2018-07-13 18:40:27 +02:00