summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <anholt@FreeBSD.org>2006-06-18 19:47:29 -0700
committerEric Anholt <anholt@FreeBSD.org>2006-06-18 19:47:51 -0700
commit76aaf7eae7409162c5ed2963f2e27d019cb30263 (patch)
treefb2b92dcacf2b7653063167d65a5d8498db64321
parent6aaf0e5b581b06fc73e56f863a26cd9d684eb9c0 (diff)
Add a couple of (doxygen) comments I wrote while looking at modesetting.
-rw-r--r--hw/xfree86/ddc/xf86DDC.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/hw/xfree86/ddc/xf86DDC.c b/hw/xfree86/ddc/xf86DDC.c
index c989cd232..8822bacc1 100644
--- a/hw/xfree86/ddc/xf86DDC.c
+++ b/hw/xfree86/ddc/xf86DDC.c
@@ -130,6 +130,17 @@ DDCAvailableOptions(void *unused)
}
#endif
+/**
+ * Attempts to probe the monitor for EDID information, if NoDDC and NoDDC1 are
+ * unset. EDID information blocks are interpreted and the results returned in
+ * an xf86MonPtr.
+ *
+ * This function does not affect the list of modes used by drivers -- it is up
+ * to the driver to decide policy on what to do with EDID information.
+ *
+ * @return pointer to a new xf86MonPtr containing the EDID information.
+ * @return NULL if no monitor attached or failure to interpret the EDID.
+ */
xf86MonPtr
xf86DoEDID_DDC1(
int scrnIndex, DDC1SetSpeedProc DDC1SetSpeed,
@@ -170,6 +181,17 @@ xf86DoEDID_DDC1(
return tmp;
}
+/**
+ * Attempts to probe the monitor for EDID information, if NoDDC and NoDDC2 are
+ * unset. EDID information blocks are interpreted and the results returned in
+ * an xf86MonPtr.
+ *
+ * This function does not affect the list of modes used by drivers -- it is up
+ * to the driver to decide policy on what to do with EDID information.
+ *
+ * @return pointer to a new xf86MonPtr containing the EDID information.
+ * @return NULL if no monitor attached or failure to interpret the EDID.
+ */
xf86MonPtr
xf86DoEDID_DDC2(int scrnIndex, I2CBusPtr pBus)
{