Searched refs:tmp_handle (Results 1 – 1 of 1) sorted by relevance
364 int tmp_handle; in drm_legacy_addctx() local369 tmp_handle = drm_legacy_ctxbitmap_next(dev); in drm_legacy_addctx()370 if (tmp_handle == DRM_KERNEL_CONTEXT) { in drm_legacy_addctx()372 tmp_handle = drm_legacy_ctxbitmap_next(dev); in drm_legacy_addctx()374 DRM_DEBUG("%d\n", tmp_handle); in drm_legacy_addctx()375 if (tmp_handle < 0) { in drm_legacy_addctx()378 return tmp_handle; in drm_legacy_addctx()381 ctx->handle = tmp_handle; in drm_legacy_addctx()