[PATCH] [rfc] drm: add some caps for userspace to discover more info for dumb KMS driver

Eric Anholt eric at anholt.net
Thu Sep 29 09:43:12 PDT 2011


On Thu, 29 Sep 2011 16:26:32 +0100, Dave Airlie <airlied at gmail.com> wrote:
> From: Dave Airlie <airlied at redhat.com>
> 
> For the simple KMS driver case we need some more info about argb cursor
> limits and a preferred depth and if shadowed framebuffer access is preferred.
> 
> I've only added this for intel/radeon which support the dumb ioctls so far.
> 
> I really don't want to expose a truck load of info, just enough for X to
> start without configuration with a hw cursor.
> 
> If you need something really fancy you should be writing a real X.org driver.

Would prefer_shadow ever be 0?

Isn't preferred_depth just a static (non-driver-specific) preference
list like "24, 30, 16, 15, 8" or something?  Do we not expose the list
of supported depths somewhere else?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20110929/747466fa/attachment.pgp>


More information about the dri-devel mailing list