From 4a84416c458027462ee6112a5fa442415597f6c2 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Fri, 27 May 2005 23:42:11 +0000 Subject: Modify drm_driver::device_is_agp to return a tri-state value to indicate that a device absolutely is, absolutely is not, or may or may not be AGP. Modify the i915 DRM to use this to force all i9x5 devices to be "AGP" (even the PCI-e devices). Reported by: Lukas Hejtmanek --- shared-core/i915_drv.h | 1 + 1 file changed, 1 insertion(+) (limited to 'shared-core/i915_drv.h') diff --git a/shared-core/i915_drv.h b/shared-core/i915_drv.h index b9615341..75480c16 100644 --- a/shared-core/i915_drv.h +++ b/shared-core/i915_drv.h @@ -80,6 +80,7 @@ typedef struct drm_i915_private { extern void i915_kernel_lost_context(drm_device_t * dev); extern void i915_driver_pretakedown(drm_device_t * dev); extern void i915_driver_prerelease(drm_device_t * dev, DRMFILE filp); +extern int i915_driver_device_is_agp(drm_device_t * dev); /* i915_irq.c */ extern int i915_irq_emit(DRM_IOCTL_ARGS); -- cgit v1.2.3