diff options
Diffstat (limited to 'drivers/char/drm/i810_dma.c')
-rw-r--r-- | drivers/char/drm/i810_dma.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/drivers/char/drm/i810_dma.c b/drivers/char/drm/i810_dma.c index 18e0b7622893..0a9ac1f2e215 100644 --- a/drivers/char/drm/i810_dma.c +++ b/drivers/char/drm/i810_dma.c | |||
@@ -1383,3 +1383,19 @@ drm_ioctl_desc_t i810_ioctls[] = { | |||
1383 | }; | 1383 | }; |
1384 | 1384 | ||
1385 | int i810_max_ioctl = DRM_ARRAY_SIZE(i810_ioctls); | 1385 | int i810_max_ioctl = DRM_ARRAY_SIZE(i810_ioctls); |
1386 | |||
1387 | /** | ||
1388 | * Determine if the device really is AGP or not. | ||
1389 | * | ||
1390 | * All Intel graphics chipsets are treated as AGP, even if they are really | ||
1391 | * PCI-e. | ||
1392 | * | ||
1393 | * \param dev The device to be tested. | ||
1394 | * | ||
1395 | * \returns | ||
1396 | * A value of 1 is always retured to indictate every i810 is AGP. | ||
1397 | */ | ||
1398 | int i810_driver_device_is_agp(drm_device_t * dev) | ||
1399 | { | ||
1400 | return 1; | ||
1401 | } | ||