search for: aa2a3b4

Displaying 1 result from an estimated 1 matches for "aa2a3b4".

2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
...shadow_allocate = drmmode_crtc_shadow_allocate, .shadow_destroy = drmmode_crtc_shadow_destroy, .gamma_set = drmmode_gamma_set, -#if 0 - .set_cursor_colors = drmmode_crtc_set_cursor_colors, -#endif .destroy = NULL, /* XXX */ }; diff --git a/src/nouveau_hw.h b/src/nouveau_hw.h index a548a4c..aa2a3b4 100644 --- a/src/nouveau_hw.h +++ b/src/nouveau_hw.h @@ -287,6 +287,23 @@ static inline bool NVLockVgaCrtcs(NVPtr pNv, bool lock) return waslocked; } +/* nv04 cursor max dimensions of 32x32 (A1R5G5B5) */ +#define NV04_CURSOR_SIZE 32 +/* limit nv10 cursors to 64x64 (ARGB8) (we could go to 64x25...