]> git.baikalelectronics.ru Git - kernel.git/commit
drm: add some caps for userspace to discover more info for dumb KMS driver (v2)
authorDave Airlie <airlied@redhat.com>
Thu, 29 Sep 2011 15:20:42 +0000 (16:20 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 16 Feb 2012 18:35:11 +0000 (18:35 +0000)
commit825f01f68ae64edcedcb8a5799b14a7bd0a79b93
treef3d43aff33a8a897d4992f045257108a5a243bf4
parent5f579f17efe83d1c7651ea407e28e4c46ad41602
drm: add some caps for userspace to discover more info for dumb KMS driver (v2)

For the simple KMS driver case we need some more info about what the preferred
depth and if a shadow framebuffer is preferred.

I've only added this for intel/radeon which support the dumb ioctls so far.

If you need something really fancy you should be writing a real X.org driver.

v2: drop cursor information, just return an error from the cursor ioctls
and we can make userspace fallback to sw cursor in that case, cursor
info was getting too messy, best to start smaller.

Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/drm_ioctl.c
drivers/gpu/drm/i915/intel_display.c
drivers/gpu/drm/radeon/radeon_display.c
include/drm/drm.h
include/drm/drm_crtc.h