Displaying 1 result from an estimated 1 matches for "b9320c5".
Did you mean:
932055
2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
..._pixels(NVPtr pNv)
+{
+ int width = nv_cursor_width(pNv);
+
+ return width * width;
+}
+
static inline void nv_fix_nv40_hw_cursor(NVPtr pNv, int head)
{
/* on some nv40 (such as the "true" (in the NV_PFB_BOOT_0 sense) nv40,
diff --git a/src/nv_cursor.c b/src/nv_cursor.c
index 22db9e6..b9320c5 100644
--- a/src/nv_cursor.c
+++ b/src/nv_cursor.c
@@ -30,44 +30,43 @@
((c & 0xf8) >> 3 )) /* Blue */
#define TO_ARGB8888(c) (0xff000000 | c)
-/* nv04 cursor max dimensions of 32x32 (A1R5G5B5) */
-#define NV04_CURSOR_SIZE 32
-#define NV04_CURSOR_PIXELS (NV04_CURSOR_SIZE * NV04...