All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] drm/i915: Drop WARN_ON(flags) from ppgtt_bind_vma()
@ 2014-03-12 17:32 ville.syrjala
  2014-03-12 17:32 ` [PATCH 2/2] drm/i915: Unbind all vmas whose new cache_level doesn't agree with the neighbours ville.syrjala
  2014-03-22 16:59 ` [PATCH 1/2] drm/i915: Drop WARN_ON(flags) from ppgtt_bind_vma() Ben Widawsky
  0 siblings, 2 replies; 5+ messages in thread
From: ville.syrjala @ 2014-03-12 17:32 UTC (permalink / raw)
  To: intel-gfx

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

We will call ppgtt_bind_vma() with flags != 0, so the WARN_ON(flags)
is bogus. Kill it.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/i915_gem_gtt.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/i915/i915_gem_gtt.c b/drivers/gpu/drm/i915/i915_gem_gtt.c
index 7727103..0dce6fc 100644
--- a/drivers/gpu/drm/i915/i915_gem_gtt.c
+++ b/drivers/gpu/drm/i915/i915_gem_gtt.c
@@ -1243,8 +1243,6 @@ ppgtt_bind_vma(struct i915_vma *vma,
 	       enum i915_cache_level cache_level,
 	       u32 flags)
 {
-	WARN_ON(flags);
-
 	vma->vm->insert_entries(vma->vm, vma->obj->pages, vma->node.start,
 				cache_level);
 }
-- 
1.8.3.2

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2014-03-22 17:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-12 17:32 [PATCH 1/2] drm/i915: Drop WARN_ON(flags) from ppgtt_bind_vma() ville.syrjala
2014-03-12 17:32 ` [PATCH 2/2] drm/i915: Unbind all vmas whose new cache_level doesn't agree with the neighbours ville.syrjala
2014-03-13 11:22   ` Daniel Vetter
2014-03-22 16:59 ` [PATCH 1/2] drm/i915: Drop WARN_ON(flags) from ppgtt_bind_vma() Ben Widawsky
2014-03-22 17:54   ` Daniel Vetter

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.