Displaying 3 results from an estimated 3 matches for "nv50_cursor_hid".
Did you mean:
nv50_cursor_hide
2009 Nov 11
7
[Bug 25036] New: KMS + multihead leaves ghost mouse pointer
http://bugs.freedesktop.org/show_bug.cgi?id=25036
Summary: KMS + multihead leaves ghost mouse pointer
Product: xorg
Version: unspecified
Platform: x86-64 (AMD64)
URL: http://bbs.archlinux.org/viewtopic.php?id=83925
OS/Version: Linux (All)
Status: NEW
Severity: normal
Priority: medium
2009 Jul 02
1
[PATCH] drm/nv50: wait for fifo completion when needed
...0_cursor.c
+++ b/drivers/gpu/drm/nouveau/nv50_cursor.c
@@ -60,6 +60,7 @@ nv50_cursor_show(struct nouveau_crtc *crtc, bool update)
BEGIN_RING(evo, 0, NV50_UPDATE_DISPLAY, 1);
OUT_RING (evo, 0);
FIRE_RING (evo);
+ RING_WAIT (evo);
crtc->cursor.visible = true;
}
}
@@ -92,6 +93,7 @@ nv50_cursor_hide(struct nouveau_crtc *crtc, bool update)
BEGIN_RING(evo, 0, NV50_UPDATE_DISPLAY, 1);
OUT_RING (evo, 0);
FIRE_RING (evo);
+ RING_WAIT (evo);
crtc->cursor.visible = false;
}
}
diff --git a/drivers/gpu/drm/nouveau/nv50_display.c b/drivers/gpu/drm/nouveau/nv50_display.c
index 5c38c7...
2009 Dec 13
3
[PATCH] drm/nouveau: use drm debug levels
...rsor.c
@@ -41,7 +41,7 @@ nv50_cursor_show(struct nouveau_crtc *nv_crtc, bool update)
struct drm_device *dev = nv_crtc->base.dev;
int ret;
- NV_DEBUG(dev, "\n");
+ NV_DEBUG_KMS(dev, "\n");
if (update && nv_crtc->cursor.visible)
return;
@@ -76,7 +76,7 @@ nv50_cursor_hide(struct nouveau_crtc *nv_crtc, bool update)
struct drm_device *dev = nv_crtc->base.dev;
int ret;
- NV_DEBUG(dev, "\n");
+ NV_DEBUG_KMS(dev, "\n");
if (update && !nv_crtc->cursor.visible)
return;
@@ -116,7 +116,7 @@ nv50_cursor_set_pos(struct nouveau_cr...