aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/i915_drv.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-12-19 15:38:34 +1000
committerDave Airlie <airlied@redhat.com>2008-12-19 15:38:34 +1000
commitac5c4e76180a74c7f922f6fa71ace0cef45fa433 (patch)
tree04ba893ac3b43fb24fa413f1ad8f37bff5cb7ee5 /drivers/gpu/drm/i915/i915_drv.h
parentdrm/i915: Don't return busy for buffers left on the flushing list. (diff)
downloadlinux-dev-ac5c4e76180a74c7f922f6fa71ace0cef45fa433.tar.xz
linux-dev-ac5c4e76180a74c7f922f6fa71ace0cef45fa433.zip
drm/i915: GEM on PAE has problems - disable it for now.
On PAE systems, GEM allocates pages using shmem, and passes these pages to be bound into AGP, however the AGP interfaces + the x86 set_memory interfaces all take unsigned long not dma_addr_t. The initial fix for this was a mess, so we need to do this correctly for 2.6.29. Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_drv.h')
-rw-r--r--drivers/gpu/drm/i915/i915_drv.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/gpu/drm/i915/i915_drv.h b/drivers/gpu/drm/i915/i915_drv.h
index adc972cc6bfc..b3cc4731aa7c 100644
--- a/drivers/gpu/drm/i915/i915_drv.h
+++ b/drivers/gpu/drm/i915/i915_drv.h
@@ -106,6 +106,8 @@ struct intel_opregion {
typedef struct drm_i915_private {
struct drm_device *dev;
+ int has_gem;
+
void __iomem *regs;
drm_local_map_t *sarea;