Searched refs:surf_id_idr (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_cmd.c | 428 idr_ret = idr_alloc(&qdev->surf_id_idr, NULL, 1, 0, GFP_NOWAIT); in qxl_surface_id_alloc() 438 idr_remove(&qdev->surf_id_idr, handle); in qxl_surface_id_alloc() 455 idr_remove(&qdev->surf_id_idr, surface_id); in qxl_surface_id_dealloc() 501 idr_replace(&qdev->surf_id_idr, surf, surf->surface_id); in qxl_hw_surface_alloc() 526 idr_replace(&qdev->surf_id_idr, NULL, surf->surface_id); in qxl_hw_surface_dealloc() 639 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 | 237 struct idr surf_id_idr; member
|