summaryrefslogtreecommitdiff
path: root/sys/dev/pci/drm/drm_agpsupport.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/drm/drm_agpsupport.c')
-rw-r--r--sys/dev/pci/drm/drm_agpsupport.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/sys/dev/pci/drm/drm_agpsupport.c b/sys/dev/pci/drm/drm_agpsupport.c
index d33c568a928..9125cde4a7a 100644
--- a/sys/dev/pci/drm/drm_agpsupport.c
+++ b/sys/dev/pci/drm/drm_agpsupport.c
@@ -40,24 +40,6 @@ void drm_agp_remove_entry(struct drm_device *,
struct drm_agp_mem *);
int
-drm_device_is_agp(struct drm_device *dev)
-{
- if (dev->driver->device_is_agp != NULL) {
- int ret;
- /*
- * device_is_agp returns a tristate, 0 = not AGP, 1 = definitely
- * AGP, 2 = fall back to PCI capability
- */
- ret = (*dev->driver->device_is_agp)(dev);
- if (ret != DRM_MIGHT_BE_AGP)
- return (ret);
- }
-
- return (pci_get_capability(dev->pa.pa_pc, dev->pa.pa_tag, PCI_CAP_AGP,
- NULL, NULL));
-}
-
-int
drm_agp_info(struct drm_device * dev, struct drm_agp_info *info)
{
struct agp_info *kern;