drm/ttm: Correctly set page mapping and -index members
authorThomas Hellstrom <thellstrom@vmware.com>
Fri, 3 Jan 2014 10:47:23 +0000 (11:47 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 8 Jan 2014 09:08:28 +0000 (10:08 +0100)
commit58aa6622d32af7d2c08d45085f44c54554a16ed7
treeb24e02d873a323a79cc86b27a9c21fe80f2cc54f
parent667a50db0477d47fdff01c666f5ee1ce26b5264c
drm/ttm: Correctly set page mapping and -index members

Needed for some vm operations; most notably unmap_mapping_range() with
even_cows = 0.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
drivers/gpu/drm/ttm/ttm_bo_vm.c
drivers/gpu/drm/ttm/ttm_tt.c
include/drm/ttm/ttm_bo_driver.h