|
@@ -143,6 +143,9 @@ static int radeon_cursor_move_locked(struct drm_crtc *crtc, int x, int y)
|
|
|
int xorigin = 0, yorigin = 0;
|
|
|
int w = radeon_crtc->cursor_width;
|
|
|
|
|
|
+ radeon_crtc->cursor_x = x;
|
|
|
+ radeon_crtc->cursor_y = y;
|
|
|
+
|
|
|
if (ASIC_IS_AVIVO(rdev)) {
|
|
|
/* avivo cursor are offset into the total surface */
|
|
|
x += crtc->x;
|
|
@@ -229,9 +232,6 @@ static int radeon_cursor_move_locked(struct drm_crtc *crtc, int x, int y)
|
|
|
yorigin * 256);
|
|
|
}
|
|
|
|
|
|
- radeon_crtc->cursor_x = x;
|
|
|
- radeon_crtc->cursor_y = y;
|
|
|
-
|
|
|
return 0;
|
|
|
}
|
|
|
|