Searched refs:surf_id_idr (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_cmd.c | 427 idr_ret = idr_alloc(&qdev->surf_id_idr, NULL, 1, 0, GFP_NOWAIT); in qxl_surface_id_alloc() 436 idr_remove(&qdev->surf_id_idr, handle); in qxl_surface_id_alloc() 453 idr_remove(&qdev->surf_id_idr, surface_id); in qxl_surface_id_dealloc() 499 idr_replace(&qdev->surf_id_idr, surf, surf->surface_id); in qxl_hw_surface_alloc() 524 idr_replace(&qdev->surf_id_idr, NULL, surf->surface_id); in qxl_hw_surface_dealloc() 637 objptr = idr_find(&qdev->surf_id_idr, surfid); in qxl_reap_surface_id()
|
H A D | qxl_kms.c | 233 idr_init_base(&qdev->surf_id_idr, 1); in qxl_device_init()
|
H A D | qxl_drv.h | 236 struct idr surf_id_idr; member
|