backend-drm: Hard-code zpos values if HW doesn't exposes them
authorMarius Vlad <marius.vlad@collabora.com>
Tue, 29 Oct 2019 15:29:37 +0000 (17:29 +0200)
committerDaniel Stone <daniels@collabora.com>
Mon, 11 Nov 2019 16:51:48 +0000 (16:51 +0000)
commite83e75018301d7b8e574054af5db33f4f74934eb
treed261aa6e87f138d93efa8d1388e5a1172ad1c681
parent3dea57a9d5eed91d357bb2353fd74ee2921a0f8a
backend-drm: Hard-code zpos values if HW doesn't exposes them

This is based on the assumption that overlays are in between cursor and
primary plane and it is required to be able to assign views to planes,
even if the driver doesn't not expose such property.

As we hard-code them as immutable the commit part would not need any
further modifications.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Suggested-by: Daniel Stone <daniel.stone@collabora.com>
libweston/backend-drm/drm.c