|
@@ -184,7 +184,7 @@ i915_vma_compare(struct i915_vma *vma,
|
|
struct i915_address_space *vm,
|
|
struct i915_address_space *vm,
|
|
const struct i915_ggtt_view *view)
|
|
const struct i915_ggtt_view *view)
|
|
{
|
|
{
|
|
- GEM_BUG_ON(view && !i915_vma_is_ggtt(vma));
|
|
|
|
|
|
+ GEM_BUG_ON(view && !i915_is_ggtt(vm));
|
|
|
|
|
|
if (vma->vm != vm)
|
|
if (vma->vm != vm)
|
|
return vma->vm - vm;
|
|
return vma->vm - vm;
|