drm/i915/selftests: Mark up write into scratch vma
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Jun 2018 13:37:16 +0000 (14:37 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Fri, 29 Jun 2018 19:52:46 +0000 (20:52 +0100)
commitd78e2bbf483faa48f060c2454c56c3ff9cd74573
tree34bf314a0296f8ce16c3eda7cb2da114661857dd
parent457209595789a3acd57990e2e9dade95bbea8fba
drm/i915/selftests: Mark up write into scratch vma

We correctly attach the exclusive fetch for the scratch object when
emitting a request that writes into it, but for completeness we should
also declared the write to i915_vma_move_to_active()

Reported-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180629133717.11761-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/selftests/i915_gem_context.c