diff options
author | Peter Ujfalusi | 2018-03-21 11:20:27 +0100 |
---|---|---|
committer | Tomi Valkeinen | 2018-03-28 08:45:44 +0200 |
commit | 352f9a8419df87b925ccc7fc56f1a75aa2290e93 (patch) | |
tree | febe7e235a59526abd36ceef0a55f8131464351a /drivers/gpu/drm/rcar-du | |
parent | drm/tegra: Let core take care of normalizing the zpos (diff) | |
download | kernel-qcow2-linux-352f9a8419df87b925ccc7fc56f1a75aa2290e93.tar.gz kernel-qcow2-linux-352f9a8419df87b925ccc7fc56f1a75aa2290e93.tar.xz kernel-qcow2-linux-352f9a8419df87b925ccc7fc56f1a75aa2290e93.zip |
drm/sti: Let core take care of normalizing the zpos
Instead of re-implementing the drm_atomic_helper_check() locally with just
adding drm_atomic_normalize_zpos() into it, set the
drm_mode_config->normalize_zpos.
Note: the drm_atomic_helper_check() now includes
if (state->legacy_cursor_update)
state->async_update = !drm_atomic_helper_async_check(drm, state);
which was added after the driver moved away from using it
(38d868e41c4b9250d5a115c049dc2d48f4909581 drm: Don't force all planes to
be added to the state due to zpos)
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
CC: Benjamin Gaignard <benjamin.gaignard@linaro.org>
CC: Vincent Abriou <vincent.abriou@st.com>
Acked-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Acked-by: Benjamin Gaignard <benjamin.gaignard@linaro.org>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180321102029.15248-5-peter.ujfalusi@ti.com
Diffstat (limited to 'drivers/gpu/drm/rcar-du')
0 files changed, 0 insertions, 0 deletions