[git pull] more drm patches for 2.6.23-rc1
From: Dave Airlie
Date: Mon Jul 16 2007 - 21:14:25 EST
Hi Linus,
Please pull the 'drm-patches' branch from:
ssh://master.kernel.org/pub/scm/linux/kernel/git/airlied/drm-2.6.git drm-patches
I was waiting on some idr patches to get into mainline via akpm, now that
they've landed I can remove NIH bitfield allocators from the drm drawable
and context code and just make it use idrs.
Dave.
drivers/char/drm/drmP.h | 11 +-
drivers/char/drm/drm_context.c | 131 +++++----------------
drivers/char/drm/drm_drawable.c | 248 +++++++++------------------------------
drivers/char/drm/drm_drv.c | 15 +--
4 files changed, 93 insertions(+), 312 deletions(-)
commit d4e2cbe9cb9219fc924191a6baa2369140cb5ea8
Author: Dave Airlie <airlied@xxxxxxxx>
Date: Tue Jul 17 10:55:47 2007 +1000
drm: convert drawable code to using idr
This converts the code for allocating drawables to the Linux idr,
Fixes from: Michel Dänzer <michel@xxxxxxxxxxxxxxxxxxxx>, Kristian Høgsberg <krh@xxxxxxxxxx>
Signed-off-by: Dave Airlie <airlied@xxxxxxxx>
commit 62968144e673016180f530fdfe170874b80ab5a7
Author: Dave Airlie <airlied@xxxxxxxx>
Date: Tue Jul 17 10:46:52 2007 +1000
drm: convert drm context code to use Linux idr
This converts the drm context allocator to an idr, using the new idr
interface features from Kristian.
Fixes from Kristian Hoegsberg <krh@xxxxxxxxxx>
Signed-off-by: Dave Airlie <airlied@xxxxxxxx>