other versions
- jessie 3.16.56-1+deb8u1
DRM_MODESET_LOCK(9) | DRM Core | DRM_MODESET_LOCK(9) |
NAME¶
drm_modeset_lock - take modeset lockSYNOPSIS¶
int
drm_modeset_lock(struct drm_modeset_lock * lock,
struct drm_modeset_acquire_ctx * ctx);
ARGUMENTS¶
locklock to take
ctx
acquire ctx
DESCRIPTION¶
If ctx is not NULL, then its ww acquire context is used and the lock will be tracked by the context and can be released by calling drm_modeset_drop_locks. If -EDEADLK is returned, this means a deadlock scenario has been detected and it is an error to attempt to take any more locks without first calling drm_modeset_backoff.AUTHORS¶
Jesse Barnes <jesse.barnes@intel.com>Initial version
Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Driver internals
Daniel Vetter <daniel.vetter@ffwll.ch>
Contributions all over the place
COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |