]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit0543b8ce791b888ff5209e344543d47ec126e48b
tree82cbf16f2d136fdf10ce034fe278d5d660ae2df1
parent4b69d0b1bf836c65918b4047b24f2a33b3a425e4
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