diff options
author | 2016-04-05 20:40:54 +0000 | |
---|---|---|
committer | 2016-04-05 20:40:54 +0000 | |
commit | 7871309542786ef0e80348f785e716763308a1aa (patch) | |
tree | e3b24a62926f126a9dc0bb617f34ddca176b9027 | |
parent | Move inp_laddr assignment after in_pcbpickport(), extend in_pcbpickport() (diff) | |
download | wireguard-openbsd-7871309542786ef0e80348f785e716763308a1aa.tar.xz wireguard-openbsd-7871309542786ef0e80348f785e716763308a1aa.zip |
Remove completely out-of-date comment about locking protocol.
-rw-r--r-- | sys/dev/pci/drm/drmP.h | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/sys/dev/pci/drm/drmP.h b/sys/dev/pci/drm/drmP.h index a23fa2b23c4..257f0bb42d6 100644 --- a/sys/dev/pci/drm/drmP.h +++ b/sys/dev/pci/drm/drmP.h @@ -1,4 +1,4 @@ -/* $OpenBSD: drmP.h,v 1.202 2016/04/05 08:22:50 kettenis Exp $ */ +/* $OpenBSD: drmP.h,v 1.203 2016/04/05 20:40:54 kettenis Exp $ */ /* drmP.h -- Private header for Direct Rendering Manager -*- linux-c -*- * Created: Mon Jan 4 10:05:05 1999 by faith@precisioninsight.com */ @@ -430,23 +430,6 @@ struct drm_mem { #define DRM_ATI_GART_IGP 3 #define DRM_ATI_GART_R600 4 -/* - * Locking protocol: - * All drm object are uvm objects, as such they have a reference count and - * a lock. On the other hand, operations carries out by the drm may involve - * sleeping (waiting for rendering to finish, say), while you wish to have - * mutual exclusion on an object. For this reason, all drm-related operations - * on drm objects must acquire the DRM_BUSY flag on the object as the first - * thing that they do. If the BUSY flag is already on the object, set DRM_WANTED - * and sleep until the other locker is done with it. When the BUSY flag is - * acquired then only that flag and a reference is required to do most - * operations on the drm_object. The uvm object is still bound by uvm locking - * protocol. - * - * Subdrivers (radeon, intel, etc) may have other locking requirement, these - * requirements will be detailed in those drivers. - */ - /** * This structure defines the drm_mm memory object, which will be used by the * DRM for its buffer objects. |