dri-devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* RFE: DRM_IOCTL_MODE_EXPOSE_LEASE
@ 2018-09-22  2:55 Troll Berserker
  2018-09-22  8:45 ` Daniel Vetter
  0 siblings, 1 reply; 4+ messages in thread
From: Troll Berserker @ 2018-09-22  2:55 UTC (permalink / raw)
  To: dri-devel

Goal: simplify multiseat support.

A new parameter was added to the Xorg server to make it use a passed file descriptor instead of /dev/dri/card*.
This enables  one to start the Xorg server with leased FD.
Although it is possible to organize multiseat using this approach, it does not integrate well with existing seat infrastructure (udev, logind).

It would be great to have a way to expose a DRM Lessee as /dev/dri/card* node and relevant /sys nodes etc., which would enable one to write an udev rule to create a new seat.
This new node should represent leased resources and *should support DRM_IOCTL_SET_MASTER/DRM_IOCTL_DROP_MASTER* as if it were a "real" device.

Interface: DRM_IOCTL_MODE_EXPOSE_LEASE ioctl request to DRM Lessor with lease FD as the ioctl parameter.
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-09-24 14:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-09-22  2:55 RFE: DRM_IOCTL_MODE_EXPOSE_LEASE Troll Berserker
2018-09-22  8:45 ` Daniel Vetter
2018-09-22 13:34   ` Troll Berserker
2018-09-24 14:59     ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox