]> 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)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 3 Feb 2020 11:27:00 +0000 (11:27 +0000)
commite9f02341ca86d7b08245600f54a1946bc82bbbf4
treeec884affd320d2c3fba7c6156138f84aa2dc1353
parent6683bc7deb86d0ea3515d05485fe79efaf5a239e
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: 1912e1b11c59 ("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
drivers/gpu/drm/i915/i915_request.c