drm/i915/execlists: Detect cross-contamination with GuC
authorChris Wilson <chris@chris-wilson.co.uk>
Tue, 18 Jun 2019 11:07:36 +0000 (12:07 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 19 Jun 2019 11:18:14 +0000 (12:18 +0100)
commit73591341014d394a03e54607ffdcccd0b8e2e000
tree7dfbff62bac4adc453d69536e7442c58afc5b64c
parent44d89409a12eb8333735958509d7d591b461d13d
drm/i915/execlists: Detect cross-contamination with GuC

The process_csb routine from execlists_submission is incompatible with
the GuC backend. Add a warning to detect if we accidentally end up in
the wrong spot.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: MichaƂ Winiarski <michal.winiarski@intel.com>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190618110736.31155-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_lrc.c