drm/i915: Do not WARN_ON in i915_vm_to_ppgtt
[linux-2.6-block.git] / drivers / gpu / drm / i915 / i915_drv.h
index a1f78f275c5505925bfd563eaab4ff3f914b01ca..4ebd3ff028031cad96d47b78fe12428d0547e1da 100644 (file)
@@ -3167,7 +3167,6 @@ bool i915_gem_obj_is_pinned(struct drm_i915_gem_object *obj);
 static inline struct i915_hw_ppgtt *
 i915_vm_to_ppgtt(struct i915_address_space *vm)
 {
-       WARN_ON(i915_is_ggtt(vm));
        return container_of(vm, struct i915_hw_ppgtt, base);
 }