diff options
author | Christian König <christian.koenig@amd.com> | 2020-09-25 16:21:49 +0300 |
---|---|---|
committer | Christian König <christian.koenig@amd.com> | 2020-09-28 13:37:30 +0300 |
commit | d3ef581afa5e6a65cc3a40de2e62901f17b8cebc (patch) | |
tree | 24e762eaea0a933cd366f748c9bb11e5dca699c9 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | |
parent | 8e0310f0ff04ea311190f83cc0d18a656fe65d26 (diff) | |
download | linux-d3ef581afa5e6a65cc3a40de2e62901f17b8cebc.tar.xz |
drm/amdgpu: stop using TTMs fault callback
Implement the fault handler ourself using the provided TTM functions.
Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
Link: https://patchwork.freedesktop.org/patch/392324/
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.h')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/amdgpu_object.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h index e91750e43448..132e5f955180 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_object.h @@ -284,7 +284,7 @@ void amdgpu_bo_move_notify(struct ttm_buffer_object *bo, bool evict, struct ttm_resource *new_mem); void amdgpu_bo_release_notify(struct ttm_buffer_object *bo); -int amdgpu_bo_fault_reserve_notify(struct ttm_buffer_object *bo); +vm_fault_t amdgpu_bo_fault_reserve_notify(struct ttm_buffer_object *bo); void amdgpu_bo_fence(struct amdgpu_bo *bo, struct dma_fence *fence, bool shared); int amdgpu_bo_sync_wait_resv(struct amdgpu_device *adev, struct dma_resv *resv, |