drm: convert drawable handling to use Linux idr
authorDave Airlie <airlied@linux.ie>
Sat, 26 May 2007 21:26:52 +0000 (07:26 +1000)
committerDave Airlie <airlied@linux.ie>
Sat, 26 May 2007 21:26:52 +0000 (07:26 +1000)
commitf64674743a49c242e4f24cbb7599c1c21c035a4f
treece437c1c6d97fdc17a134609d2cb3ff3d59df59b
parent2bb7703698bef1f599295126ca3834d37a8596c0
drm: convert drawable handling to use Linux idr

This cleans this code up a lot and uses the generic Linux idr which is
designed for this.

Signed-off-by: Dave Airlie <airlied@linux.ie>
linux-core/drmP.h
linux-core/drm_drawable.c
linux-core/drm_drv.c
linux-core/drm_fops.c