projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
56d7bd7
)
drm/i915: Remove unwanted ghost obj check
author
Nirmoy Das
<nirmoy.das@intel.com>
Mon, 24 Oct 2022 14:45:58 +0000
(16:45 +0200)
committer
Matthew Auld
<matthew.auld@intel.com>
Wed, 16 Nov 2022 09:59:13 +0000
(09:59 +0000)
vm_fault_ttm() should not expect ttm ghost obj so remove that check.
Suggested-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Nirmoy Das <nirmoy.das@intel.com>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Signed-off-by: Matthew Auld <matthew.auld@intel.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/20221024144558.27747-1-nirmoy.das@intel.com
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/gem/i915_gem_ttm.c
b/drivers/gpu/drm/i915/gem/i915_gem_ttm.c
index e4e55e3f4e41181ae485c9d4516fef778adfb015..0fab8ef08b236300699f6864fb019a89838418fb 100644
(file)
--- a/
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
+++ b/
drivers/gpu/drm/i915/gem/i915_gem_ttm.c
@@
-1030,9
+1030,6
@@
static vm_fault_t vm_fault_ttm(struct vm_fault *vmf)
vm_fault_t ret;
int idx;
- if (i915_ttm_is_ghost_object(bo))
- return VM_FAULT_SIGBUS;
-
/* Sanity check that we allow writing into this object */
if (unlikely(i915_gem_object_is_readonly(obj) &&
area->vm_flags & VM_WRITE))