]> git.baikalelectronics.ru Git - kernel.git/commit
drm: Add drm_mode_config->normalize_zpos boolean
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Wed, 21 Mar 2018 10:20:24 +0000 (12:20 +0200)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Wed, 28 Mar 2018 06:45:43 +0000 (09:45 +0300)
commit42b0771423b1ae20e8ce6727db8946760b4bee91
treec70bd6cbff1e3d4ce5ae91e2119ce15ce77807db
parent07f602b6941491032c5cbba1709af9359e0810d5
drm: Add drm_mode_config->normalize_zpos boolean

Instead of drivers duplicating the drm_atomic_helper_check() code to be
able to normalize the zpos they can use the normalize_zpos flag to let the
drm core to do it.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180321102029.15248-2-peter.ujfalusi@ti.com
drivers/gpu/drm/drm_atomic_helper.c
include/drm/drm_mode_config.h
include/drm/drm_plane.h