Re: [PATCH] drm/ttm: use drm calloc large and free large

2010-03-16 Thread Thomas Hellstrom
Dave Airlie wrote: Now that the drm core can do this, lets just use it, split the code out so TTM doesn't have to drag all of drmP.h in. Acked-by: Thomas Hellstrom thellst...@vmware.com It's funny, though. The original code used code similar to is_vmalloc_addr() now in linux/mm.h to

[PATCH] drm/ttm: use drm calloc large and free large

2010-03-08 Thread Dave Airlie
From: Dave Airlie airl...@redhat.com Now that the drm core can do this, lets just use it, split the code out so TTM doesn't have to drag all of drmP.h in. Signed-off-by: Dave Airlie airl...@redhat.com --- drivers/gpu/drm/ttm/ttm_tt.c| 23 ++ include/drm/drmP.h |