summaryrefslogtreecommitdiff
path: root/src/i830_tv.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-01-15 08:05:32 +1100
committerKeith Packard <keithp@neko.keithp.com>2007-01-15 08:05:32 +1100
commitbfeda3bfc59d309772398f688d29452ba97f3973 (patch)
treed1ee5f4430098d64f413b991ee54b35a6a34558d /src/i830_tv.c
parentda6a00f787e4d13e6b75768c1976f1c44ae5bf72 (diff)
Convert I830PipeSetMode to xf86CrtcSetMode. Add rotation structures.
Makes the mode setting logic device independent. Magic rename hooks allow multiple drivers to provide the generic code without name conflicts. Rotation code requires special pixmap creation hook, and uses Render to perform the actual rotation.
Diffstat (limited to 'src/i830_tv.c')
-rw-r--r--src/i830_tv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_tv.c b/src/i830_tv.c
index 92e417e0..a76cbffa 100644
--- a/src/i830_tv.c
+++ b/src/i830_tv.c
@@ -1065,7 +1065,7 @@ i830_tv_detect(xf86OutputPtr output)
/* we only need the pixel clock set correctly here */
mode = reported_modes[0];
xf86SetModeCrtc (&mode, INTERLACE_HALVE_V);
- i830PipeSetMode (crtc, &mode, FALSE);
+ xf86CrtcSetMode (crtc, &mode, RR_Rotate_0);
}
i830_tv_detect_type (crtc, output);
i830ReleaseLoadDetectPipe (output);