Home
last modified time | relevance | path

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

/linux-4.4.14/include/uapi/drm/
Ddrm.h409 struct drm_ctx { struct
419 struct drm_ctx __user *contexts; argument
725 #define DRM_IOCTL_ADD_CTX DRM_IOWR(0x20, struct drm_ctx)
726 #define DRM_IOCTL_RM_CTX DRM_IOWR(0x21, struct drm_ctx)
727 #define DRM_IOCTL_MOD_CTX DRM_IOW( 0x22, struct drm_ctx)
728 #define DRM_IOCTL_GET_CTX DRM_IOWR(0x23, struct drm_ctx)
729 #define DRM_IOCTL_SWITCH_CTX DRM_IOW( 0x24, struct drm_ctx)
730 #define DRM_IOCTL_NEW_CTX DRM_IOW( 0x25, struct drm_ctx)
862 typedef struct drm_ctx drm_ctx_t;
/linux-4.4.14/drivers/gpu/drm/
Ddrm_context.c328 struct drm_ctx ctx; in drm_legacy_resctx()
363 struct drm_ctx *ctx = data; in drm_legacy_addctx()
410 struct drm_ctx *ctx = data; in drm_legacy_getctx()
436 struct drm_ctx *ctx = data; in drm_legacy_switchctx()
460 struct drm_ctx *ctx = data; in drm_legacy_newctx()
486 struct drm_ctx *ctx = data; in drm_legacy_rmctx()
Ddrm_ioc32.c653 || __put_user((struct drm_ctx __user *) (unsigned long)res32.contexts, in compat_drm_resctx()