Intel-GFX Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Intel-gfx] [PATCH] drm/i915: Remove unwanted ghost obj check
@ 2022-10-24 14:45 Nirmoy Das
  2022-10-24 14:50 ` Matthew Auld
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Nirmoy Das @ 2022-10-24 14:45 UTC (permalink / raw)
  To: intel-gfx; +Cc: matthew.auld, dri-devel, Nirmoy Das

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>
---
 drivers/gpu/drm/i915/gem/i915_gem_ttm.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/gpu/drm/i915/gem/i915_gem_ttm.c b/drivers/gpu/drm/i915/gem/i915_gem_ttm.c
index 84c91a4228a1..4a5f9e8ee877 100644
--- a/drivers/gpu/drm/i915/gem/i915_gem_ttm.c
+++ b/drivers/gpu/drm/i915/gem/i915_gem_ttm.c
@@ -1040,9 +1040,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))
-- 
2.38.0


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-10-26 17:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-24 14:45 [Intel-gfx] [PATCH] drm/i915: Remove unwanted ghost obj check Nirmoy Das
2022-10-24 14:50 ` Matthew Auld
2022-10-24 18:32 ` [Intel-gfx] ✓ Fi.CI.BAT: success for " Patchwork
2022-10-24 20:24 ` [Intel-gfx] ✗ Fi.CI.IGT: failure " Patchwork
2022-10-26 17:07 ` [Intel-gfx] ✗ Fi.CI.BAT: failure for drm/i915: Remove unwanted ghost obj check (rev2) Patchwork

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox