Commit 5ae26012 authored by Jani Nikula's avatar Jani Nikula

drm/i915/uc: tune down GuC communication enabled/disabled messages

The GuC communication enabled/disabled messages are too noisy in info
level. Convert them from info to debug level, and switch to device based
logging while at it.
Reported-by: default avatarKarol Herbst <kherbst@redhat.com>
Cc: Karol Herbst <kherbst@redhat.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarJani Nikula <jani.nikula@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20200917165056.29766-1-jani.nikula@intel.com
parent 1604cb2a
...@@ -231,13 +231,15 @@ static int guc_enable_communication(struct intel_guc *guc) ...@@ -231,13 +231,15 @@ static int guc_enable_communication(struct intel_guc *guc)
intel_guc_ct_event_handler(&guc->ct); intel_guc_ct_event_handler(&guc->ct);
spin_unlock_irq(&i915->irq_lock); spin_unlock_irq(&i915->irq_lock);
DRM_INFO("GuC communication enabled\n"); drm_dbg(&i915->drm, "GuC communication enabled\n");
return 0; return 0;
} }
static void guc_disable_communication(struct intel_guc *guc) static void guc_disable_communication(struct intel_guc *guc)
{ {
struct drm_i915_private *i915 = guc_to_gt(guc)->i915;
/* /*
* Events generated during or after CT disable are logged by guc in * Events generated during or after CT disable are logged by guc in
* via mmio. Make sure the register is clear before disabling CT since * via mmio. Make sure the register is clear before disabling CT since
...@@ -257,7 +259,7 @@ static void guc_disable_communication(struct intel_guc *guc) ...@@ -257,7 +259,7 @@ static void guc_disable_communication(struct intel_guc *guc)
*/ */
guc_get_mmio_msg(guc); guc_get_mmio_msg(guc);
DRM_INFO("GuC communication disabled\n"); drm_dbg(&i915->drm, "GuC communication disabled\n");
} }
static void __uc_fetch_firmwares(struct intel_uc *uc) static void __uc_fetch_firmwares(struct intel_uc *uc)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment