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)
commit49efffc7fbd48d5ea3d0dd60c218c7502d4a179d
treec70bd6cbff1e3d4ce5ae91e2119ce15ce77807db
parentf4392860b4fe55d7d7cadaa64743c9b2466e4fd8
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