diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2013-02-28 21:51:43 +0100 |
---|---|---|
committer | Mark Kettenis <kettenis@openbsd.org> | 2013-02-28 21:51:43 +0100 |
commit | 6d3a4d90fe2a50572382a88da687747d23eeb4eb (patch) | |
tree | 7f9133947f9223d28f82cd936835a018272d1703 /sys/dev/pci/drm/i915_drv.h | |
parent | b7590de66413a57437517815dfd93b94efc534e1 (diff) |
Implement i915_gem_release_mmap() and i915_gem_object_finish_gtt(), and call
them when appropriate.
Diffstat (limited to 'sys/dev/pci/drm/i915_drv.h')
-rw-r--r-- | sys/dev/pci/drm/i915_drv.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/dev/pci/drm/i915_drv.h b/sys/dev/pci/drm/i915_drv.h index 9d50f98fc92..71c1b716e0d 100644 --- a/sys/dev/pci/drm/i915_drv.h +++ b/sys/dev/pci/drm/i915_drv.h @@ -920,6 +920,14 @@ struct drm_i915_gem_object { */ unsigned int map_and_fenceable:1; + /** + * Whether the current gtt mapping needs to be mappable (and isn't just + * mappable by accident). Track pin and fault separate for a more + * accurate mappable working set. + */ + unsigned int fault_mappable:1; + unsigned int pin_mappable:1; + /* * Is the GPU currently using a fence to access this buffer, */ |