summaryrefslogtreecommitdiff
path: root/linux-core/i810_dma.c
diff options
context:
space:
mode:
authorAlan Hourihane <alanh@fairlite.demon.co.uk>2005-06-16 19:58:00 +0000
committerAlan Hourihane <alanh@fairlite.demon.co.uk>2005-06-16 19:58:00 +0000
commit53e950b344d84a98fda4cff6d03b90651a625f18 (patch)
tree9ede9791774f2e09541cdd2b38a99d2e766d48a7 /linux-core/i810_dma.c
parent1567753415d420c626ae145457539bfee1414df8 (diff)
Force AGP always for Intel chipsets.
Fixes bug #3552
Diffstat (limited to 'linux-core/i810_dma.c')
-rw-r--r--linux-core/i810_dma.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/linux-core/i810_dma.c b/linux-core/i810_dma.c
index 81c084f1..a99a4a61 100644
--- a/linux-core/i810_dma.c
+++ b/linux-core/i810_dma.c
@@ -1386,3 +1386,19 @@ drm_ioctl_desc_t i810_ioctls[] = {
};
int i810_max_ioctl = DRM_ARRAY_SIZE(i810_ioctls);
+
+/**
+ * Determine if the device really is AGP or not.
+ *
+ * All Intel graphics chipsets are treated as AGP, even if they are really
+ * PCI-e.
+ *
+ * \param dev The device to be tested.
+ *
+ * \returns
+ * A value of 1 is always retured to indictate every i810 is AGP.
+ */
+int i810_driver_device_is_agp(drm_device_t * dev)
+{
+ return 1;
+}