Searched refs:DRM_KERNEL_CONTEXT (Results 1 – 3 of 3) sorted by relevance
81 if (context != DRM_KERNEL_CONTEXT) { in drm_lock_take()177 if (lock->context == DRM_KERNEL_CONTEXT) { in drm_legacy_lock()265 if (lock->context == DRM_KERNEL_CONTEXT) { in drm_legacy_unlock()300 ret = drm_lock_take(lock_data, DRM_KERNEL_CONTEXT); in drm_legacy_idlelock_take()320 prev = cmpxchg(lock, old, DRM_KERNEL_CONTEXT); in drm_legacy_idlelock_release()
147 pos->handle != DRM_KERNEL_CONTEXT) { in drm_legacy_ctxbitmap_flush()377 if (tmp_handle == DRM_KERNEL_CONTEXT) { in drm_legacy_addctx()502 if (ctx->handle != DRM_KERNEL_CONTEXT) { in drm_legacy_rmctx()
46 #define DRM_KERNEL_CONTEXT 0 macro