summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-16 14:22:27 +0200
committerThomas Hellstrom <thomas-at-tungstengraphics-dot-com>2006-10-16 14:22:27 +0200
commit5b2a60f550090a41c13483ceaaa1a84d3a9257f8 (patch)
tree94b0fafda51f626f6b3e831b5e8516f7669d695f
parent540c64c378daafaad1c3f63faf5af81f39388665 (diff)
Change Intel AGP memory type numbers.
l---------linux-core/drm_drawable.c1
-rw-r--r--linux-core/i915_buffer.c4
2 files changed, 2 insertions, 3 deletions
diff --git a/linux-core/drm_drawable.c b/linux-core/drm_drawable.c
deleted file mode 120000
index d64bbe10..00000000
--- a/linux-core/drm_drawable.c
+++ /dev/null
@@ -1 +0,0 @@
-../shared-core/drm_drawable.c \ No newline at end of file
diff --git a/linux-core/i915_buffer.c b/linux-core/i915_buffer.c
index 8016bb1b..8a3d7bf7 100644
--- a/linux-core/i915_buffer.c
+++ b/linux-core/i915_buffer.c
@@ -33,8 +33,8 @@
#include "i915_drm.h"
#include "i915_drv.h"
-#define INTEL_AGP_MEM_USER (1 << 16)
-#define INTEL_AGP_MEM_UCACHED (2 << 16)
+#define INTEL_AGP_MEM_USER 3
+#define INTEL_AGP_MEM_UCACHED 4
drm_ttm_backend_t *i915_create_ttm_backend_entry(drm_device_t *dev)
{