OSDN Git Service

drm/i915/gt: Refactor heartbeat request construction and submission
authorChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Dec 2020 16:02:13 +0000 (16:02 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 24 Dec 2020 18:07:26 +0000 (18:07 +0000)
commitfe7bcfaeb2b775f257348dc7b935f8e80eef3e7d
treea3043302d79dd2f643721e1e1a1be5d77de6c30e
parent26ebc511e799f621357982ccc37a7987a56a00f4
drm/i915/gt: Refactor heartbeat request construction and submission

Pull the individual strands of creating a custom heartbeat requests into
a pair of common functions. This will reduce the number of changes we
will need to make in future.

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/20201224160213.29521-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_engine_heartbeat.c