Searched refs:DRM_RESERVED_CONTEXTS (Results 1 – 2 of 2) sorted by relevance
85 ret = idr_alloc(&dev->ctx_idr, NULL, DRM_RESERVED_CONTEXTS, 0, in drm_legacy_ctxbitmap_next()342 if (res->count >= DRM_RESERVED_CONTEXTS) { in drm_legacy_resctx()344 for (i = 0; i < DRM_RESERVED_CONTEXTS; i++) { in drm_legacy_resctx()350 res->count = DRM_RESERVED_CONTEXTS; in drm_legacy_resctx()
85 #define DRM_RESERVED_CONTEXTS 1 macro