summaryrefslogtreecommitdiff
path: root/linux-core/drmP.h
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2008-05-05 10:51:49 -0700
committerKeith Packard <keithp@keithp.com>2008-05-05 10:51:49 -0700
commitb6f173c4300e90be9bdd3b24003b800afd8819c5 (patch)
treefdf6eada1ac11f8a7ff6ca49bf991700cba11fb0 /linux-core/drmP.h
parent166ff364fb09ec9885a164fca517c079a1d88718 (diff)
Add i915_dispatch_gem_execbuffer (broken).
This function submits a gem-based execbuffer to the ring. It doesn't work yet.
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r--linux-core/drmP.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h
index 12e093e3..21a4dcd0 100644
--- a/linux-core/drmP.h
+++ b/linux-core/drmP.h
@@ -90,6 +90,10 @@
struct drm_device;
struct drm_file;
+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,24)
+typedef unsigned long uintptr_t;
+#endif
+
/* If you want the memory alloc debug functionality, change define below */
/* #define DEBUG_MEMORY */