]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/selftests: Mark the mock ring->vma as being in the GGTT
authorChris Wilson <chris@chris-wilson.co.uk>
Sat, 15 Feb 2020 20:59:27 +0000 (20:59 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 17 Feb 2020 16:58:49 +0000 (16:58 +0000)
commitd2aeab2c02fa37d8f8fbe10cff0b1d5e28ec02ea
tree57d61ed9238ea0d4d591f0a05c9c4301913c227b
parent3126c4ad10d5294bb8fb9a4b7bd46483a03bef18
drm/i915/selftests: Mark the mock ring->vma as being in the GGTT

The ringbuffer's vma is expected to be in the GGTT and that is now being
checked, so make sure the mocked ring declares it so.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Matthew Auld <matthew.auld@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200215205927.4170144-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/mock_engine.c