From: Jerome Glisse Date: Fri, 9 Apr 2010 12:39:26 +0000 (+0200) Subject: drm/vmwgfx: add support for new TTM fault callback V5 X-Git-Tag: v2.6.35-rc1~451^2~79^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=96bf8b8778976a6e6a4fe4e6e0421d8ed7892798;p=pandora-kernel.git drm/vmwgfx: add support for new TTM fault callback V5 This add the support for the new fault callback, does change anything from driver point of view. Improvement: store the aperture base in a variable so that we don't call a function to get it on each fault. Patch hasn't been tested. V2 don't derefence bo->mem.mm_node as it's not NULL only for VRAM or GTT V3 update after io_mem_reserve/io_mem_free callback balancing V4 callback has to ioremap V5 ioremap is done by TTM Signed-off-by: Jerome Glisse Reviewed-by: Thomas Hellstrom Signed-off-by: Dave Airlie --- Reading git-diff-tree failed