summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drmP.h
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2016-04-05 20:40:55 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2016-04-05 20:40:55 +0000
commit6773b8a1ba43761256de2e9bcfc455d91ecb8914 (patch)
tree3f9ebef5413ef50be9d42497b5a71d55c43876ee /sys/dev/pci/drm/drmP.h
parentd684f0a714e60b08c477146e82df2b9756645763 (diff)
Remove completely out-of-date comment about locking protocol.
Diffstat (limited to 'sys/dev/pci/drm/drmP.h')
-rw-r--r--sys/dev/pci/drm/drmP.h19
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.