summaryrefslogtreecommitdiff
path: root/bsd-core/drmP.h
diff options
context:
space:
mode:
authorIan Romanick <idr@us.ibm.com>2005-05-27 23:42:11 +0000
committerIan Romanick <idr@us.ibm.com>2005-05-27 23:42:11 +0000
commit4a84416c458027462ee6112a5fa442415597f6c2 (patch)
treecd39aea11afea9b04442e5a818b220e40b3c70b9 /bsd-core/drmP.h
parentc9abd2fec509c271339d1ca3addd95df884df80a (diff)
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
Diffstat (limited to 'bsd-core/drmP.h')
-rw-r--r--bsd-core/drmP.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/bsd-core/drmP.h b/bsd-core/drmP.h
index 9943a4f6..8d648f65 100644
--- a/bsd-core/drmP.h
+++ b/bsd-core/drmP.h
@@ -644,8 +644,10 @@ struct drm_device {
*
* \param dev DRM device handle
*
- * \returns true if the card really is attached to AGP, false
- * otherwise.
+ * \returns
+ * One of three values is returned depending on whether or not the
+ * card is absolutely \b not AGP (return of 0), absolutely \b is AGP
+ * (return of 1), or may or may not be AGP (return of 2).
*/
int (*device_is_agp) (struct drm_device * dev);