Re: [PATCH] Add a return value to load_cursor_argb() to allow it to report failure

2014-04-04 Thread Michael Thayer
Hello Dave, On 04/04/14 01:21, Dave Airlie wrote: load_cursor_argb() may need to be able to fail and have the server fall back to a software cursor in at least the following circumstances. 1) The hardware can only support some ARGB cursors and this does not just depend on cursor size. 2)

Re: [PATCH] Add a return value to load_cursor_argb() to allow it to report failure

2014-04-04 Thread Michael Thayer
On 04/04/14 20:46, Jasper St. Pierre wrote: For qemu, this is handled at the kernel modesetting level with QXL. See drmModeSetCursor2. On Fri, Apr 4, 2014 at 3:30 AM, Michael Thayer michael.tha...@oracle.com mailto:michael.tha...@oracle.com wrote: And my question about whether a similar patch

Re: [PATCH] Add a return value to load_cursor_argb() to allow it to report failure

2014-04-03 Thread Dave Airlie
load_cursor_argb() may need to be able to fail and have the server fall back to a software cursor in at least the following circumstances. 1) The hardware can only support some ARGB cursors and this does not just depend on cursor size. 2) Virtual hardware may not wish to pass through a cursor

[PATCH] Add a return value to load_cursor_argb() to allow it to report failure

2014-03-31 Thread Michael Thayer
load_cursor_argb() may need to be able to fail and have the server fall back to a software cursor in at least the following circumstances. 1) The hardware can only support some ARGB cursors and this does not just depend on cursor size. 2) Virtual hardware may not wish to pass through a cursor to