]> 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)
commit9680774998818f935caa1b31012b6708228d6b5e
treec70bd6cbff1e3d4ce5ae91e2119ce15ce77807db
parent88466d2aa3aefc8b59cca97b254dc3c93011b5ec
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