Re: [PATCH 4/4] drm: Add four ioctls for managing drm mode object leases

2017-04-02 Thread Keith Packard
Daniel Vetter writes: > Should we just use fd for this? Essentially lessors would be required to > keep track of all their pending leases, and just dup() them over to the > client. Would reduce the uapi scope a bit, and if a lessor can't keep > track of it's leases there's a problem. Right now,

Re: [PATCH 4/4] drm: Add four ioctls for managing drm mode object leases

2017-04-02 Thread Daniel Vetter
On Sat, Apr 01, 2017 at 10:08:41AM -0700, Keith Packard wrote: > drm_mode_create_lease > > Creates a lease for a list of drm mode objects, returning an > fd for the new drm_master and a 64-bit identifier for the lessee > > drm_mode_list_lesees > > List the identifiers of the le