drm/vc4: Force trigger of dlist update on margins change
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 1 Apr 2022 10:31:38 +0000 (11:31 +0100)
committerDom Cobley <popcornmix@gmail.com>
Mon, 19 Feb 2024 11:31:26 +0000 (11:31 +0000)
commitf041f16677e5dfbb798155937c4840596af454e8
tree4f2b46f43b74220a885583be2db6939edca3bb69
parent71ccc6dd4adf1f95bf264bdfe8d259c013b33ece
drm/vc4: Force trigger of dlist update on margins change

When the margins are changed, the dlist needs to be regenerated
with the changed updated dest regions for each of the planes.

Setting the zpos_changed flag is sufficient to trigger that
without doing a full modeset, therefore set it should the
margins be changed.

Signed-off-by: Dave Stevenson <dave.stevenson@raspberrypi.com>
drivers/gpu/drm/vc4/vc4_crtc.c
drivers/gpu/drm/vc4/vc4_drv.h