diff options
author | Neil Armstrong <[email protected]> | 2021-11-17 15:19:20 +0100 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2021-12-08 10:04:33 +0200 |
commit | c21134b042ef9eb1662fd856941f031eb76d77b1 (patch) | |
tree | 3c6fb440637e658d036c6cd5dd7023b414e7fffc /lib/mpi/mpi-sub-ui.c | |
parent | fe4d0b6317e35a9a371d1107c9b753becc81e968 (diff) |
drm/omap: add sanity plane state check
Call drm_atomic_helper_check_plane_state() from the plane
atomic_check() callback in order to add plane state sanity
checking.
It will permit filtering out totally bad scaling factors, even
if the real check are done later in the atomic commit.
Calling drm_atomic_helper_check_plane_state() also sets
plane_state->visible which will be useful when dynamically
assigning hw overlays to planes.
Signed-off-by: Benoit Parrot <[email protected]>
Signed-off-by: Neil Armstrong <[email protected]>
Reviewed-by: Tomi Valkeinen <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions