Re: [Intel-gfx] [PATCH] drm/i915/selftests: Add a mock i915_vma to the mock_ring

2020-01-14 Thread Mika Kuoppala
Chris Wilson writes: > Add a i915_vma to the mock_engine/mock_ring so that the core code can > always assume the presence of ring->vma. > > Fixes: 8ccfc20a7d56 ("drm/i915/gt: Mark ring->vma as active while pinned") > Signed-off-by: Chris Wilson > --- > drivers/gpu/drm/i915/gt/mock_engine.c | 8

[Intel-gfx] [PATCH] drm/i915/selftests: Add a mock i915_vma to the mock_ring

2020-01-14 Thread Chris Wilson
Add a i915_vma to the mock_engine/mock_ring so that the core code can always assume the presence of ring->vma. Fixes: 8ccfc20a7d56 ("drm/i915/gt: Mark ring->vma as active while pinned") Signed-off-by: Chris Wilson --- drivers/gpu/drm/i915/gt/mock_engine.c | 8 1 file changed, 8 insertio