drm/i915/breadcrumbs: Use booleans for intel_breadcrumbs_busy()
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Mar 2017 21:07:22 +0000 (21:07 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 15 Mar 2017 21:45:38 +0000 (21:45 +0000)
commit4bd66391dd34399b734b11203eb3bf39e7f43bf0
treeb95b257abc184250ea3b5e209a2546bcd1a165cc
parent1604a86d08053f936e2820208ed952807fb4c4f0
drm/i915/breadcrumbs: Use booleans for intel_breadcrumbs_busy()

Since commit 9b6586ae9f6b ("drm/i915: Keep a global seqno per-engine")
converted intel_breadcrumbs_busy() to reporting a single boolean, we
need only compute a boolean internally (and not needlessly compute the
flag).

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Mika Kuoppala <mika.kuoppala@intel.com>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170315210726.12095-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/intel_breadcrumbs.c