[PATCH xserver] Switch to SW cursor right after HW cursor failure
Alexandre Courbot
acourbot at nvidia.com
Fri Mar 18 09:42:37 UTC 2016
Hello Michael,
On 03/18/2016 06:09 PM, Michael Thayer wrote:
> In that context, see this patch to Modesetting which I send a couple of
> weeks ago, which should incidentally also fix your issue:
>
> https://patchwork.freedesktop.org/patch/75985/
I applied your patch, but sadly it didn't fix my issue. I agree that
your approach (actually returning drmmode_set_cursor() errors instead of
relying on a side-effect) is better though. But it appears that I would
need drmmode_show_cursor()'s errors to be reported for the same approach
to work in my case.
I see that the load_cursor_argb_check() hook has been added apparently
to palliate the fact that load_cursor_argb() does not return an error
status, would it be acceptable to apply the same principle to show_cursor()?
Thanks,
Alex.
More information about the xorg-devel
mailing list