summaryrefslogtreecommitdiff
path: root/src/i830.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-05-11 13:52:00 -0700
committerKeith Packard <keithp@keithp.com>2009-05-15 17:29:13 -0700
commit87332a7cc16af82aa47e07fbf90da3635b071dbf (patch)
tree385c8367b8bce4d48a8c2c5d67c7cbd550496191 /src/i830.h
parentebe05200df381c0e6ee636f0f83440bfedea9bcb (diff)
Use drm_intel_bo_disable_reuse API to flag scanout and cursor buffers
Buffers referenced by the kernel for scanout or cursor display should not be reused by the driver. Use the new drm API to disable reuse of these buffers. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/i830.h')
-rw-r--r--src/i830.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/i830.h b/src/i830.h
index 33a92c69..0969c485 100644
--- a/src/i830.h
+++ b/src/i830.h
@@ -902,6 +902,7 @@ extern const int I830CopyROP[16];
#define NEED_NON_STOLEN 0x00000004
#define NEED_LIFETIME_FIXED 0x00000008
#define ALLOW_SHARING 0x00000010
+#define DISABLE_REUSE 0x00000020
/* Chipset registers for VIDEO BIOS memory RW access */
#define _855_DRAM_RW_CONTROL 0x58