commit | b63b4feaef7363d2cf46dd76bb6e87e060b2b0de | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Tue Jan 14 16:00:30 2020 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Tue Jan 14 18:17:01 2020 +0000 |
tree | 964af671eacb4c40a4f9ee39ffe86ebe8602446c | |
parent | 103605e0d1e77cfb5d0f5a9e8aba7d97f1b49339 [diff] |
drm/i915/selftests: Add a mock i915_vma to the mock_ring 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 <chris@chris-wilson.co.uk> Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20200114160030.2468927-1-chris@chris-wilson.co.uk