drm: Add support for tracking drawable information to core
author=?utf-8?q?Michel_D=C3=A4nzer?= <michel@tungstengraphics.com>
Tue, 24 Oct 2006 13:04:19 +0000 (23:04 +1000)
committerairlied <airlied@linux.ie>
Thu, 7 Dec 2006 04:53:28 +0000 (15:53 +1100)
commitbea5679f9cb97b7e41786c8500df56665cd21e56
tree8259fc9d75730be3db028892f0da991dec54e37e
parent68815bad7239989d92f315c10d9ef65a11945a75
drm: Add support for tracking drawable information to core

Actually make the existing ioctls for adding and removing drawables do
something useful, and add another ioctl for the X server to update drawable
information. The only kind of drawable information tracked so far is cliprects.

Only reallocate cliprect memory if the number of cliprects changes.
Also improve diagnostic output.

hook up drm ioctl update draw
export drm_get_drawable_info symbol

Signed-off-by: Dave Airlie <airlied@linux.ie>
drivers/char/drm/drm.h
drivers/char/drm/drmP.h
drivers/char/drm/drm_drawable.c
drivers/char/drm/drm_drv.c
drivers/char/drm/drm_stub.c