drm/atomic: If margins are updated, update all planes.
authorDave Stevenson <dave.stevenson@raspberrypi.com>
Fri, 1 Apr 2022 16:10:37 +0000 (17:10 +0100)
committerPhil Elwell <8911409+pelwell@users.noreply.github.com>
Fri, 13 May 2022 10:37:20 +0000 (11:37 +0100)
commit1125a6a115b2de606584f5edb37daa5f40902489
treebfefa20d0081cd43d1ba687c39f029691634b154
parent0bb04abcfdaa4d284fbd13324d15fd12db0f1948
drm/atomic: If margins are updated, update all planes.

Margins may be implemented by scaling the planes, but as there
is no way of intercepting the set_property for a standard property,
and all planes are checked in drm_atomic_check_only before the
connectors, there's now way to add the planes into the state
from the driver.

If the margin properties change, add all corresponding planes to
the state.

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