From 53e950b344d84a98fda4cff6d03b90651a625f18 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Thu, 16 Jun 2005 19:58:00 +0000 Subject: Force AGP always for Intel chipsets. Fixes bug #3552 --- linux-core/i830_dma.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'linux-core/i830_dma.c') diff --git a/linux-core/i830_dma.c b/linux-core/i830_dma.c index 90ce43ea..75480ccf 100644 --- a/linux-core/i830_dma.c +++ b/linux-core/i830_dma.c @@ -1568,3 +1568,19 @@ drm_ioctl_desc_t i830_ioctls[] = { }; int i830_max_ioctl = DRM_ARRAY_SIZE(i830_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 i8xx is AGP. + */ +int i830_driver_device_is_agp(drm_device_t * dev) +{ + return 1; +} -- cgit v1.2.3