[PATCH 11/12] drm/cirrus: implement atomic hardware cursor support

Gerd Hoffmann kraxel at redhat.com
Mon Sep 11 08:37:12 UTC 2017


On Fri, 2017-09-08 at 19:05 +0530, Varad Gautam wrote:
> From: Varad Gautam <varad.gautam at collabora.com>
> 
> This enables cursor plane on cirrus. It only supports ARGB 8-bit
> cursors
> from userspace, and downconverts them to 1-bit black and white with
> masking, which is all cirrus hardware can support. Only cursors with
> size 32x32 or 64x64 will work.

Isn't it better to just not implement hardware cursor then, so
userspace can fallback to software cursor instead?  Advertising ARGB
cursor support to userspace, but then crippling those cursors to
black'n'white doesn't look sensible to me ...

cheers,
  Gerd



More information about the dri-devel mailing list