Lines Matching refs:drm_master
32 struct drm_master *drm_lease_owner(struct drm_master *master) in drm_lease_owner()
49 static struct drm_master*
50 _drm_find_lessee(struct drm_master *master, int lessee_id) in _drm_find_lessee()
67 static int _drm_lease_held_master(struct drm_master *master, int id) in _drm_lease_held_master()
86 static bool _drm_has_leased(struct drm_master *master, int id) in _drm_has_leased()
88 struct drm_master *lessee; in _drm_has_leased()
129 struct drm_master *master; in drm_lease_held()
152 struct drm_master *master; in drm_lease_filter_crtcs()
198 static struct drm_master *drm_lease_create(struct drm_master *lessor, struct idr *leases) in drm_lease_create()
202 struct drm_master *lessee; in drm_lease_create()
265 void drm_lease_destroy(struct drm_master *master) in drm_lease_destroy()
302 static void _drm_lease_revoke(struct drm_master *top) in _drm_lease_revoke()
306 struct drm_master *master = top; in _drm_lease_revoke()
325 master = list_first_entry(&master->lessees, struct drm_master, lessee_list); in _drm_lease_revoke()
328 …while (master != top && master == list_last_entry(&master->lessor->lessees, struct drm_master, les… in _drm_lease_revoke()
344 void drm_lease_revoke(struct drm_master *top) in drm_lease_revoke()
493 struct drm_master *lessor = lessor_priv->master; in drm_mode_create_lease_ioctl()
494 struct drm_master *lessee = NULL; in drm_mode_create_lease_ioctl()
612 struct drm_master *lessor = lessor_priv->master, *lessee; in drm_mode_list_lessees_ioctl()
665 struct drm_master *lessee = lessee_priv->master; in drm_mode_get_lease_ioctl()
724 struct drm_master *lessor = lessor_priv->master; in drm_mode_revoke_lease_ioctl()
725 struct drm_master *lessee; in drm_mode_revoke_lease_ioctl()