summaryrefslogtreecommitdiff
path: root/src/i830_tv.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@mandolin.keithp.com>2006-12-06 00:13:57 -0800
committerKeith Packard <keithp@mandolin.keithp.com>2006-12-06 00:13:57 -0800
commit56f71194157ef929b62fe34a89c840bd59e56301 (patch)
treef55491abc5de7debabf2af225a78c00df647814d /src/i830_tv.c
parentffd8aacbe7c72b696ff7257609e3c1d45c057609 (diff)
Use xf86 structures for default config instead of RandR.
To avoid requiring RandR 1.2 in the X server, use the xf86 Crtc and Output structures as the basis for the default configuration computation (and, eventually, the config-file based configuration as well).
Diffstat (limited to 'src/i830_tv.c')
-rw-r--r--src/i830_tv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c
index f5716f8b..e05bc4cb 100644
--- a/src/i830_tv.c
+++ b/src/i830_tv.c
@@ -544,7 +544,7 @@ i830_tv_detect_type (xf86CrtcPtr crtc,
* Currently this always returns OUTPUT_STATUS_UNKNOWN, as we need to be sure
* we have a pipe programmed in order to probe the TV.
*/
-static enum detect_status
+static xf86OutputStatus
i830_tv_detect(xf86OutputPtr output)
{
xf86CrtcPtr crtc;
@@ -567,11 +567,11 @@ i830_tv_detect(xf86OutputPtr output)
switch (dev_priv->type) {
case TV_TYPE_NONE:
- return OUTPUT_STATUS_DISCONNECTED;
+ return XF86OutputStatusDisconnected;
case TV_TYPE_UNKNOWN:
- return OUTPUT_STATUS_UNKNOWN;
+ return XF86OutputStatusUnknown;
default:
- return OUTPUT_STATUS_CONNECTED;
+ return XF86OutputStatusConnected;
}
}