Skip to content

Commit 6915819

Browse files
nirmoymatt-auld
authored andcommitted
drm/i915: Remove unwanted ghost obj check
vm_fault_ttm() should not expect ttm ghost obj so remove that check. Suggested-by: Matthew Auld <[email protected]> Signed-off-by: Nirmoy Das <[email protected]> Reviewed-by: Matthew Auld <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 56d7bd7 commit 6915819

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/gpu/drm/i915/gem/i915_gem_ttm.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,9 +1030,6 @@ static vm_fault_t vm_fault_ttm(struct vm_fault *vmf)
10301030
vm_fault_t ret;
10311031
int idx;
10321032

1033-
if (i915_ttm_is_ghost_object(bo))
1034-
return VM_FAULT_SIGBUS;
1035-
10361033
/* Sanity check that we allow writing into this object */
10371034
if (unlikely(i915_gem_object_is_readonly(obj) &&
10381035
area->vm_flags & VM_WRITE))

0 commit comments

Comments
 (0)