summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
authorAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-07 19:02:35 +0200
committerAlex Deucher <alex@t41p.hsd1.va.comcast.net>2007-05-07 19:02:35 +0200
commit99b3df154317f0209618e532282a3e7ad091c00f (patch)
tree32ff0ef780bdd0fd96efa8700451f83fb8b6deaf /src/radeon_display.c
parent2a1cd107a593630001799d6cd9e72c64222553b2 (diff)
RADEON - update randr cursor handling, LVDS setup fix
- quick fix for the cursor handling to update to the latest server bits - make sure connector type is CONNECTOR_PROPRIETARY for LVDS.
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index f6f24105..7a8f94ff 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -2241,6 +2241,12 @@ radeon_crtc_mode_set(xf86CrtcPtr crtc, DisplayModePtr mode,
RADEONBlank(pScrn);
RADEONRestoreMode(pScrn, &info->ModeReg);
+
+ if (radeon_crtc->crtc_id == 0)
+ RADEONDoAdjustFrame(pScrn, x, y, FALSE);
+ else if (radeon_crtc->crtc_id == 1)
+ RADEONDoAdjustFrame(pScrn, x, y, TRUE);
+
if (info->DispPriority)
RADEONInitDispBandwidth(pScrn);
RADEONUnblank(pScrn);
@@ -2323,6 +2329,12 @@ static const xf86CrtcFuncsRec radeon_crtc_funcs = {
.gamma_set = radeon_crtc_gamma_set,
.lock = radeon_crtc_lock,
.unlock = radeon_crtc_unlock,
+ .set_cursor_colors = radeon_crtc_set_cursor_colors,
+ .set_cursor_position = radeon_crtc_set_cursor_position,
+ .show_cursor = radeon_crtc_show_cursor,
+ .hide_cursor = radeon_crtc_hide_cursor,
+/* .load_cursor_image = i830_crtc_load_cursor_image, */
+ .load_cursor_argb = radeon_crtc_load_cursor_argb,
.destroy = NULL, /* XXX */
};