OSDN Git Service

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)
commit8c772f0b2b8e94bfd68f9bf19d7aba293332e4bf
tree4460a46a389162911e7e9a757dd6864e9da0f948
parent650f12042b85322e1459b7e49d50ae09c60e28d3
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