Home
last modified time | relevance | path

Searched refs:DRM_KERNEL_CONTEXT (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/gpu/drm/
Ddrm_lock.c81 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()
Ddrm_context.c147 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()
Ddrm_legacy.h46 #define DRM_KERNEL_CONTEXT 0 macro