OSDN Git Service

drm/i915/gt: Small tidy of gen8+ breadcrumb emission
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 4 May 2020 18:05:07 +0000 (19:05 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 5 May 2020 08:16:59 +0000 (09:16 +0100)
commit25fd6de315f43ecc89331c21682b1852a3bc4025
tree1fff818a0c014d562b7356e02c8a7a64c9ccdb40
parent8757797ff9c97e846348db634e849e11769e5d3d
drm/i915/gt: Small tidy of gen8+ breadcrumb emission

Use a local to shrink a line under 80 columns, and refactor the common
emit_xcs_breadcrumb() wrapper of ggtt-write.

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