drm/i915: Adjust the sentinel assert to match implementation
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Sun, 7 Jun 2020 22:20:41 +0000 (23:20 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 8 Jun 2020 22:20:24 +0000 (23:20 +0100)
commit8733a06323d40ecfb8208ee5f85bf9d39ce6fd34
treeca6ea3ffdfa07531a5ac10b6d6993af03118a31b
parent46d53e271cea5740a19384c4365217c9cb86bdfc
drm/i915: Adjust the sentinel assert to match implementation

Sentinels are supposed to be last requests in the elsp queue, not the
only one, so adjust the assert accordingly.

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