drivers/gpu/drm/via/via_display.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit c1cf7cf4dd23cc18ee8d7e5a1b5fea093bc9eeef
Author: James Simmons <jsimm...@infradead.org>
Date:   Sat Jun 29 09:54:12 2013 -0400

    You must by default hide both cursors. If you don't hide the second cursor 
at start up when you have two displays connected that second cursor will show 
up on the screen with garbage data

diff --git a/drivers/gpu/drm/via/via_display.c 
b/drivers/gpu/drm/via/via_display.c
index 11818a3..1605868 100644
--- a/drivers/gpu/drm/via/via_display.c
+++ b/drivers/gpu/drm/via/via_display.c
@@ -431,7 +431,8 @@ via_hwcursor_init(struct drm_via_private *dev_priv)
        VIA_WRITE(ALPHA_V3_PREFIFO_CONTROL, 0xE0000);
        VIA_WRITE(ALPHA_V3_FIFO_CONTROL, 0xE0F0000);
 
-       /* Turn cursor off. */
+       /* Turn both cursors off. */
+       VIA_WRITE(PRIM_HI_CTRL, VIA_READ(PRIM_HI_CTRL) & 0xFFFFFFFA);
        VIA_WRITE(HI_CONTROL, VIA_READ(HI_CONTROL) & 0xFFFFFFFA);
 }
 
_______________________________________________
Openchrome-devel mailing list
Openchrome-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/openchrome-devel

Reply via email to