]> 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)
commitd117f002c133970586dcb67e5da5e478e5afff27
treef3d43aff33a8a897d4992f045257108a5a243bf4
parent63744edf3331b33ec172b7b453633079d8ae2cd5
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