drm/i915/selftests: ring all doorbells in igt_guc_doorbells
authorDaniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Mon, 27 Aug 2018 22:36:14 +0000 (15:36 -0700)
committerChris Wilson <chris@chris-wilson.co.uk>
Tue, 28 Aug 2018 12:41:27 +0000 (13:41 +0100)
commit5382bed38f09636330fd119ca2c83d738a551540
tree82cbf16f2d136fdf10ce034fe278d5d660ae2df1
parent65df9c7947d70a8d78b2af5a1a835c713110d21e
drm/i915/selftests: ring all doorbells in igt_guc_doorbells

We currently verify that all doorbells can be registered with GuC and
HW but don't check that all works as expected after a db ring.

Do a nop ring of all doorbells to make sure we haven't misprogrammed
any WQ or stage descriptor data. This will also help validating
upcoming changes in the db programming flow.

Cc: Michel Thierry <michel.thierry@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Acked-by: Katarzyna Dec <katarzyna.dec@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180827223614.22789-1-daniele.ceraolospurio@intel.com
drivers/gpu/drm/i915/intel_guc_fwif.h
drivers/gpu/drm/i915/intel_guc_submission.c
drivers/gpu/drm/i915/intel_guc_submission.h
drivers/gpu/drm/i915/selftests/intel_guc.c