diff options
Diffstat (limited to 'linux-core')
-rw-r--r-- | linux-core/drmP.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index e5789c65..d417f97d 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -999,6 +999,11 @@ static __inline__ struct drm_map *drm_core_findmap(struct drm_device *dev, return NULL; } +static __inline__ int drm_device_is_agp(drm_device_t *dev) +{ + return pci_find_capability(dev->pdev, PCI_CAP_ID_AGP); +} + static __inline__ void drm_core_dropmap(struct drm_map *map) { } |