drm/i915/guc: Add disable interrupts to guc sanitize
authorMatthew Brost <matthew.brost@intel.com>
Tue, 27 Jul 2021 00:23:25 +0000 (17:23 -0700)
committerJohn Harrison <John.C.Harrison@Intel.com>
Wed, 28 Jul 2021 00:31:47 +0000 (17:31 -0700)
commite5a1ad035938e60448cc0cd334359885c4fd3054
treecaf97bc1e122ff31dd62fc26f187fe21e7915b3e
parentc41ee2873eb37ffff1b4185262b8efefc0c0d6e3
drm/i915/guc: Add disable interrupts to guc sanitize

Add disable GuC interrupts to intel_guc_sanitize(). Part of this
requires moving the guc_*_interrupt wrapper function into header file
intel_guc.h.

Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Cc: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Signed-off-by: John Harrison <John.C.Harrison@Intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210727002348.97202-11-matthew.brost@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc.h
drivers/gpu/drm/i915/gt/uc/intel_uc.c