[Intel-gfx] [PATCH 3/3] drm: kill agp indirection mess

2010-04-14 Thread Daniel Vetter
There's no point in jumping through two indirections. So kill one and call the kernels agp functions directly. Signed-off-by: Daniel Vetter daniel.vet...@ffwll.ch --- drivers/gpu/drm/drm_agpsupport.c | 40 +++-- drivers/gpu/drm/drm_memory.c | 12 ++

[Intel-gfx] [PATCH 1/3] drm: kill drm_agp_chipset_flush

2010-04-14 Thread Daniel Vetter
This is only used by the gem code in the i915 drm driver. Not point in abstracting this simple call. Furthermore I want to integrate the gtt handling from intel-agp much tighter with the gem code in the drm module, so this indirection through the agp will vanish, anyway. The reason for this is a