]> git.baikalelectronics.ru Git - kernel.git/commit
drm: xlnx: zynqmp_dpsub: Expose plane ordering to userspace
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 7 Mar 2021 00:56:58 +0000 (02:56 +0200)
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Sun, 8 Aug 2021 23:28:05 +0000 (02:28 +0300)
commita37a9fdbe12041698345edeebdd8d330cb4dfa07
tree4460a46a389162911e7e9a757dd6864e9da0f948
parent63b0b44bd0decdf91143b96c439f926aa13cc865
drm: xlnx: zynqmp_dpsub: Expose plane ordering to userspace

While the DPSUB has a fixed plane order, it still makes sense to expose
it to userspace to avoid hardcoding assumptions. Do so by adding an
immutable zpos property to planes.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
drivers/gpu/drm/xlnx/zynqmp_disp.c