Patchwork [6/6] vmware: increase cursor buffer size.

login
register
mail settings
Submitter Dave Airlie
Date Dec. 17, 2009, 10:08 p.m.
Message ID <1261087691-8319-7-git-send-email-airlied@gmail.com>
Download mbox | patch
Permalink /patch/41351/
State New
Headers show

Comments

Dave Airlie - Dec. 17, 2009, 10:08 p.m.
From: Dave Airlie <airlied@linux.ie>

The cursor pixmap size we calculate later ends up being 4096 dwords
long by the looks of it. This boots an F12 LiveCD now.

Signed-off-by: Dave Airlie <airlied@linux.ie>
---
 hw/vmware_vga.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/hw/vmware_vga.c b/hw/vmware_vga.c
index e3d5706..7ab1c79 100644
--- a/hw/vmware_vga.c
+++ b/hw/vmware_vga.c
@@ -467,7 +467,7 @@  struct vmsvga_cursor_definition_s {
     int hot_x;
     int hot_y;
     uint32_t mask[1024];
-    uint32_t image[1024];
+    uint32_t image[4096];
 };
 
 #define SVGA_BITMAP_SIZE(w, h)		((((w) + 31) >> 5) * (h))