Displaying 3 results from an estimated 3 matches for "drmmode_load_cursor_argb".
2013 Jan 20
1
[PATCH] nouveau: put cursor BO in GART
Keeping it in VRAM wastes CPU time, because cursor_set ioctl reads
handed BO back to RAM, just to write it to actual cursor BO.
Here (nv92/core i7), this patch decreases overall cpu usage of
drmmode_load_cursor_argb from 4.6ms to ~90us and lets nv50_crtc_cursor_set
disappear from perf traces.
---
I considered accelerating kernel-side copying with GPU, but it turns out that:
- it's slower (120-150us), with frequent bursts (up to 5ms)
- not applicable to <nv50 hw, which needs to transform cursor data
Put...
2009 Aug 17
2
[PATCH] kms: Fix <nv11 hardware cursor.
...mage, nv_cursor_pixels(pNv)/4);
+
+ nouveau_bo_map(bo, NOUVEAU_BO_WR);
+ nv_cursor_convert_cursor(pNv->curImage, bo->map, nv_cursor_width(pNv),
+ 64, 32, config->cursor_fg | (0xff << 24),
+ config->cursor_bg | (0xff << 24));
+ nouveau_bo_unmap(bo);
+}
+
+static void
drmmode_load_cursor_argb (xf86CrtcPtr crtc, CARD32 *image)
{
drmmode_crtc_private_ptr drmmode_crtc = crtc->driver_private;
@@ -505,14 +530,12 @@ static const xf86CrtcFuncsRec drmmode_crtc_funcs = {
.set_cursor_position = drmmode_set_cursor_position,
.show_cursor = drmmode_show_cursor,
.hide_cursor = drmmode_hid...
2012 Sep 09
83
[Bug 54700] New: Distorted graphics (double cursor) with GeForce 4200Go (NV28)
https://bugs.freedesktop.org/show_bug.cgi?id=54700
Bug #: 54700
Summary: Distorted graphics (double cursor) with GeForce 4200Go
(NV28)
Classification: Unclassified
Product: xorg
Version: unspecified
Platform: x86 (IA32)
OS/Version: Linux (All)
Status: NEW
Severity: normal