[Intel-gfx] [PATCH 1/2] drm/i915: Drop WARN_ON(flags) from ppgtt_bind_vma()
ville.syrjala at linux.intel.com
ville.syrjala at linux.intel.com
Wed Mar 12 18:32:26 CET 2014
From: Ville Syrjälä <ville.syrjala at 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 at 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
More information about the Intel-gfx
mailing list