Re: [PATCH 4/6] drm: Add drm_object lease infrastructure [v3]

2017-10-04 Thread Dave Airlie
> + * > + * drm_master at the top of the tree (i.e, with lessor NULL > + */ > +struct drm_master *drm_lease_owner(struct drm_master *master) { ^ there's a couple of misplaced braces around. start of next line please. > + while (master->lessor != NULL) > + master =

[PATCH 4/6] drm: Add drm_object lease infrastructure [v3]

2017-07-05 Thread Keith Packard
This provides new data structures to hold "lease" information about drm mode setting objects, and provides for creating new drm_masters which have access to a subset of the available drm resources. An 'owner' is a drm_master which is not leasing the objects from another drm_master, and hence