[PATCH V3] Do not assume 64x64 cursor, added support for other sizes (like in AMD Kaveri, 128x128).

Michel Dänzer michel at daenzer.net
Tue Jul 29 00:40:42 PDT 2014


On 29.07.2014 16:36, Jason Ekstrand wrote:
> On Tue, Jul 29, 2014 at 12:17 AM, Michel Dänzer <michel at daenzer.net
> <mailto:michel at daenzer.net>> wrote:
> 
>     On 29.07.2014 16:01, Jason Ekstrand wrote:
>     > Couple thoughs.  First, we need to also update
>     > drm_output_prepare_cursor_view to check against the size coming
>     from GBM
>     > instead of against the hard-coded 64x64 it's currently checking
>     > against.  Without changing that, we are still restricted to 64x64
>     > regardless of the GBM checking.
> 
>     You mean weston will still refuse to use the hardware cursor for images
>     larger than 64x64 without that change? That sounds like something that
>     should indeed be fixed, though it's not really critical compared to the
>     problem fixed by this patch, which is that the hardware cursor appears
>     corrupted beyond usability on hardware which only supports hardware
>     cursors of sizes other than 64x64.
> 
> 
> Yup.  That is exactly what it means.  It should be a fairly easy fix. 
> If you'd rather I push this and fix in a follow-up patch, that's
> probably ok,

That would be great.

> but let's make sure one is coming.

Alvaro, do you want to send a follow-up patch addressing the issue Jason
described above?


-- 
Earthling Michel Dänzer            |                  http://www.amd.com
Libre software enthusiast          |                Mesa and X developer


More information about the wayland-devel mailing list