]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: Initialise basic fence before acquiring seqno
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Feb 2020 09:41:48 +0000 (09:41 +0000)
committerJani Nikula <jani.nikula@intel.com>
Mon, 17 Feb 2020 17:17:10 +0000 (19:17 +0200)
commitbd7f8f9d6b0b2b22019fb575ff95450b8db6b298
treebf155a65c1b79253af3f1862ea27de29b8976ae8
parent588f031f0df57f5019e86bd8e3423e9e22f8274c
drm/i915: Initialise basic fence before acquiring seqno

Inside the intel_timeline_get_seqno(), we currently track the retirement
of the old cachelines by listening to the new request. This requires
that the new request is ready to be used and so requires a minimum bit
of initialisation prior to getting the new seqno.

Fixes: a114d350b3b3 ("drm/i915: Coordinate i915_active with its own mutex")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Matthew Auld <matthew.auld@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200203094152.4150550-2-chris@chris-wilson.co.uk
(cherry picked from commit 855e39e65cfc33a73724f1cc644ffc5754864a20)
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_request.c