Lines Matching refs:drm_master
74 struct drm_master *drm_lease_owner(struct drm_master *master) in drm_lease_owner()
81 static struct drm_master*
82 _drm_find_lessee(struct drm_master *master, int lessee_id) in _drm_find_lessee()
88 static int _drm_lease_held_master(struct drm_master *master, int id) in _drm_lease_held_master()
97 static bool _drm_has_leased(struct drm_master *master, int id) in _drm_has_leased()
99 struct drm_master *lessee; in _drm_has_leased()
112 struct drm_master *master; in _drm_lease_held()
128 struct drm_master *master; in drm_lease_held()
156 struct drm_master *master; in drm_lease_filter_crtcs()
207 static struct drm_master *drm_lease_create(struct drm_master *lessor, struct idr *leases) in drm_lease_create()
211 struct drm_master *lessee; in drm_lease_create()
265 void drm_lease_destroy(struct drm_master *master) in drm_lease_destroy()
298 static void _drm_lease_revoke(struct drm_master *top) in _drm_lease_revoke()
302 struct drm_master *master = top; in _drm_lease_revoke()
321 master = list_first_entry(&master->lessees, struct drm_master, lessee_list); in _drm_lease_revoke()
324 …while (master != top && master == list_last_entry(&master->lessor->lessees, struct drm_master, les… in _drm_lease_revoke()
336 void drm_lease_revoke(struct drm_master *top) in drm_lease_revoke()
480 struct drm_master *lessor; in drm_mode_create_lease_ioctl()
481 struct drm_master *lessee = NULL; in drm_mode_create_lease_ioctl()
592 struct drm_master *lessor, *lessee; in drm_mode_list_lessees_ioctl()
639 struct drm_master *lessee; in drm_mode_get_lease_ioctl()
695 struct drm_master *lessor; in drm_mode_revoke_lease_ioctl()
696 struct drm_master *lessee; in drm_mode_revoke_lease_ioctl()