drm/radeon/kms: add support for new fault callback V7
authorJerome Glisse <jglisse@redhat.com>
Fri, 9 Apr 2010 12:39:24 +0000 (14:39 +0200)
committerDave Airlie <airlied@redhat.com>
Tue, 20 Apr 2010 04:12:22 +0000 (14:12 +1000)
commit0a2d50e3a8faaf36cde36920431586090411ea15
treed002e9418728c091a012546f5cc86973fdde70bd
parent82c5da6bf8b55a931b042fb531083863d26c8020
drm/radeon/kms: add support for new fault callback V7

This add the support for the new fault callback and also the
infrastructure for supporting unmappable VRAM.

V2 validate BO with no_wait = true
V3 don't derefence bo->mem.mm_node as it's not NULL only for
   VRAM or GTT
V4 update to splitted no_wait ttm change
V5 update to new balanced io_mem_reserve/free change
V6 callback is responsible for iomapping memory
V7 move back iomapping to ttm

Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/radeon/radeon_object.c
drivers/gpu/drm/radeon/radeon_object.h
drivers/gpu/drm/radeon/radeon_ttm.c