drm/i915/execlists: Simplify gen12_csb_parse
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 25 Sep 2019 13:08:45 +0000 (14:08 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 25 Sep 2019 18:26:47 +0000 (19:26 +0100)
commitf9d4eae25d93a76f8ed52b1519cc27c5b3cb1dcb
treef30da26dc7ab64f26283be54836c1e8e00a9ac19
parentc750c22b2456bcd8c50067424ccabf2686306cda
drm/i915/execlists: Simplify gen12_csb_parse

Having decided that we only care about the promotion predicate, we can
simplify gen12_csb_parse to simply check whether we need to jump to a
new queue.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Andi Shyti <andi.shyti@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190925130845.17952-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c