]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Extract doorbell verification into a function
authorMichał Winiarski <michal.winiarski@intel.com>
Wed, 13 Dec 2017 22:13:52 +0000 (23:13 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Dec 2017 08:07:00 +0000 (08:07 +0000)
commitac2d17eb8f7947328a97066992c7a8264cd81744
treeb687adb2bf9caec4c88627e31bee818bf324f411
parent855f48dcf9678e2c99f1dc92183b5545c23079be
drm/i915/guc: Extract doorbell verification into a function

We have the selftest that's checking doorbell create/destroy, so there's
no need to check all doorbells delaying the reset every time.
We do want to have that extra sanity check at module load/unload though.

Signed-off-by: Michał Winiarski <michal.winiarski@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Michel Thierry <michel.thierry@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20171213221352.7173-7-michal.winiarski@intel.com
drivers/gpu/drm/i915/intel_guc_submission.c