---
name: "drm_modeset_lock_all"
section: "9"
platform: "linux"
package: "linux-manual-3.16"
version: "3.16.56-1+deb8u1"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/drm_modeset_lock_all"
---

# drm\_modeset\_lock\_all(9)

take all modeset locks

## NAME

drm\_modeset\_lock\_all - take all modeset locks

## SYNOPSIS

**void drm\_modeset\_lock\_all(struct drm\_device \*** *dev***);**

## ARGUMENTS

*dev*

drm device

## DESCRIPTION

This function takes all modeset locks, suitable where a more fine-grained scheme isn't (yet) implemented. Locks must be dropped with drm\_modeset\_unlock\_all.

## AUTHORS

**Jesse Barnes** \<jesse.barnes@intel.com\>\
 Intel Corporation,

Initial version

**Laurent Pinchart** \<laurent.pinchart@ideasonboard.com\>\
 Ideas on board SPRL,

Driver internals

**Daniel Vetter** \<daniel.vetter@ffwll.ch\>\
 Intel Corporation,

Contributions all over the place

## COPYRIGHT
