drm/i915/guc: Move enable/disable msg functions to GuC header
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Tue, 20 Mar 2018 18:14:19 +0000 (18:14 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Wed, 21 Mar 2018 15:07:15 +0000 (15:07 +0000)
commitbc598425eb18d40a18f18d67f7c460189c43a3af
tree5ec57523d2665da14294b5ee6393f6a16a5cfd96
parent154374c331b01acbaf6a6957a7f9e65192f6a459
drm/i915/guc: Move enable/disable msg functions to GuC header

While today we are modifying GuC enabled msg mask only in GuC
log, this code should be defined as generic GuC to allow future
code reuse.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Michal Winiarski <michal.winiarski@intel.com>
Cc: Sagar Arun Kamble <sagar.a.kamble@intel.com>
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: MichaƂ Winiarski <michal.winiarski@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Link: https://patchwork.freedesktop.org/patch/msgid/20180320181419.35576-3-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/intel_guc.h
drivers/gpu/drm/i915/intel_guc_log.c