Re: [PATCH xserver v2] xfree86: Immediately handle failure to set HW cursor

2016-04-07 Thread Alexandre Courbot
Hello Michael, On 04/06/2016 02:40 AM, Michael Thayer wrote: On 04.04.2016 22:09, Michael Thayer wrote: Hello, Please excuse the top posting. Tested this in a dual-head non-mirrored virtual machine and hit the following problem: xf86CursorSetCursor() in hw/xfree86/ramdac/xf86Cursor.c calls

Re: [PATCH xserver v2] xfree86: Immediately handle failure to set HW cursor

2016-04-05 Thread Michael Thayer
On 04.04.2016 22:09, Michael Thayer wrote: Hello, Please excuse the top posting. Tested this in a dual-head non-mirrored virtual machine and hit the following problem: xf86CursorSetCursor() in hw/xfree86/ramdac/xf86Cursor.c calls xf86SetCursor() which fails because the cursor is not visible on

Re: [PATCH xserver v2] xfree86: Immediately handle failure to set HW cursor

2016-04-04 Thread Michael Thayer
Hello, Please excuse the top posting. Tested this in a dual-head non-mirrored virtual machine and hit the following problem: xf86CursorSetCursor() in hw/xfree86/ramdac/xf86Cursor.c calls xf86SetCursor() which fails because the cursor is not visible on one of the two screens, and falls back

[PATCH xserver v2] xfree86: Immediately handle failure to set HW cursor

2016-03-30 Thread Alexandre Courbot
There is currently no reliable way to report failure to set a HW cursor. Still such failures can happen if e.g. the MODE_CURSOR DRM ioctl fails (which currently happens at least with modesetting on Tegra for format incompatibility reasons). As failures are currently handled by setting the HW