[Intel-gfx] [PATCH 03/11] drm/i915: Prepare for non-object vma

Chris Wilson chris at chris-wilson.co.uk
Tue Jun 5 09:25:20 UTC 2018


Quoting Joonas Lahtinen (2018-06-05 10:21:29)
> Quoting Chris Wilson (2018-06-05 10:19:41)
> > +++ b/drivers/gpu/drm/i915/i915_vma.h
> > @@ -407,7 +407,7 @@ static inline void __i915_vma_unpin_fence(struct i915_vma *vma)
> >  static inline void
> >  i915_vma_unpin_fence(struct i915_vma *vma)
> >  {
> > -       lockdep_assert_held(&vma->obj->base.dev->struct_mutex);
> > +       /* lockdep_assert_held(&vma->vm->i915->drm.struct_mutex); */
> 
> Umm?

Header inclusion pain. drm_i915_private isn't defined at this point.
So I left a placeholder just in case.
-Chris


More information about the Intel-gfx mailing list