drm/ttm: set page mapping during allocation
authorChristian König <christian.koenig@amd.com>
Thu, 1 Feb 2018 13:52:50 +0000 (14:52 +0100)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 27 Feb 2018 04:09:33 +0000 (23:09 -0500)
commitec92937056db2ca3acb11929d68b95b6ab421653
tree558dd63ed3e5d84f11d3db95856525ae30586b78
parent9aff8b2ae71dcf7f02443821a894a736f40e4919
drm/ttm: set page mapping during allocation

To aid debugging set the page mapping during allocation instead of
during VM faults.

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Roger He <Hongbo.He@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/ttm/ttm_bo_vm.c
drivers/gpu/drm/ttm/ttm_tt.c