summaryrefslogtreecommitdiff
path: root/src/i830_crt.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@neko.keithp.com>2007-01-16 12:14:55 +1100
committerKeith Packard <keithp@neko.keithp.com>2007-01-16 12:14:55 +1100
commit37946c9c8a4afa4a4fc1fe9864a8eec1c4571d2c (patch)
tree21d113f08fc8ba07a4995ac441e5af186ce0ccfa /src/i830_crt.c
parentbfeda3bfc59d309772398f688d29452ba97f3973 (diff)
Interim work on rotation support with new xf86 code.
Yes, there are lots of bits tied together here, and we should split this patch apart. Move I830 mode setting to xf86 mode setting. Make mode setting function also set the base address. This should fix problems where the base gets set incorrectly at times. Add driver-independent rotation support, requires driver-specific hooks for shadow pixmap allocation, otherwise it uses Render for painting.
Diffstat (limited to 'src/i830_crt.c')
-rw-r--r--src/i830_crt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_crt.c b/src/i830_crt.c
index 00e637ad..573e6526 100644
--- a/src/i830_crt.c
+++ b/src/i830_crt.c
@@ -314,7 +314,7 @@ i830_crt_detect(xf86OutputPtr output)
if (intel_output->load_detect_temp)
{
xf86SetModeCrtc (&mode, INTERLACE_HALVE_V);
- xf86CrtcSetMode (crtc, &mode, RR_Rotate_0);
+ xf86CrtcSetMode (crtc, &mode, RR_Rotate_0, 0, 0);
}
connected = i830_crt_detect_load (crtc, output);