diff options
author | Jerome Glisse <jglisse@redhat.com> | 2010-04-09 14:39:26 +0200 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2010-04-20 14:12:43 +1000 |
commit | 96bf8b8778976a6e6a4fe4e6e0421d8ed7892798 (patch) | |
tree | a56bc90ca55dbf623bcdcbefa6550cb426d0934e /drivers/gpu/drm/ttm/ttm_bo_util.c | |
parent | f32f02fd81f3177cce0c16cc7d210fcc9cad953c (diff) | |
download | linux-stable-96bf8b8778976a6e6a4fe4e6e0421d8ed7892798.tar.gz linux-stable-96bf8b8778976a6e6a4fe4e6e0421d8ed7892798.tar.bz2 linux-stable-96bf8b8778976a6e6a4fe4e6e0421d8ed7892798.zip |
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 <jglisse@redhat.com>
Reviewed-by: Thomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/ttm/ttm_bo_util.c')
0 files changed, 0 insertions, 0 deletions