diff options
author | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-10-22 18:59:37 +0200 |
---|---|---|
committer | Thomas Hellstrom <thomas-at-tungstengraphics-dot-com> | 2007-10-22 18:59:37 +0200 |
commit | 919c886b2b7728768720aac93e0f6fd1acb8b2df (patch) | |
tree | baa2598b79f5133f91acb30374def4eea9c0e0df /shared-core/i915_drv.h | |
parent | d4ce4be0dad516caa43fddcd8a56c28f264c9c2a (diff) |
A cmdbuf mutex to implement validate-submit-fence atomicity in the absence
of a hardware lock.
Diffstat (limited to 'shared-core/i915_drv.h')
-rw-r--r-- | shared-core/i915_drv.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h index e8f18798..817288b6 100644 --- a/shared-core/i915_drv.h +++ b/shared-core/i915_drv.h @@ -139,6 +139,7 @@ typedef struct drm_i915_private { #ifdef I915_HAVE_BUFFER void *agp_iomap; unsigned int max_validate_buffers; + struct mutex cmdbuf_mutex; #endif DRM_SPINTYPE swaps_lock; |