aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/i915/intel_guc_submission.c
diff options
context:
space:
mode:
authorMichał Winiarski <michal.winiarski@intel.com>2018-03-19 05:53:47 -0400
committerChris Wilson <chris@chris-wilson.co.uk>2018-03-19 08:23:02 -0400
commitfeb06c151fade9ecaa3dd410d792cce26e8b10de (patch)
tree787e6f4c1b46081d0ae4854c6427c3ea423af04f /drivers/gpu/drm/i915/intel_guc_submission.c
parent9605d1ce7c6bcb673b6893ac12b565f1bde8f0bc (diff)
drm/i915/guc: Demote GuC error messages
We're using those functions in selftests, and the callers are expected to do the error handling anyways. Let's demote all GuC actions and doorbell creation to DEBUG_DRIVER. Signed-off-by: Michał Winiarski <michal.winiarski@intel.com> Cc: Michal Wajdeczko <michal.wajdeczko@intel.com> Cc: Michel Thierry <michel.thierry@intel.com> Cc: Chris Wilson <chris@chris-wilson.co.uk> Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk> Link: https://patchwork.freedesktop.org/patch/msgid/20180319095348.9716-12-michal.winiarski@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/intel_guc_submission.c')
-rw-r--r--drivers/gpu/drm/i915/intel_guc_submission.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/gpu/drm/i915/intel_guc_submission.c b/drivers/gpu/drm/i915/intel_guc_submission.c
index 33af2930fc79..207cda062626 100644
--- a/drivers/gpu/drm/i915/intel_guc_submission.c
+++ b/drivers/gpu/drm/i915/intel_guc_submission.c
@@ -231,8 +231,8 @@ static int create_doorbell(struct intel_guc_client *client)
231 if (ret) { 231 if (ret) {
232 __destroy_doorbell(client); 232 __destroy_doorbell(client);
233 __update_doorbell_desc(client, GUC_DOORBELL_INVALID); 233 __update_doorbell_desc(client, GUC_DOORBELL_INVALID);
234 DRM_ERROR("Couldn't create client %u doorbell: %d\n", 234 DRM_DEBUG_DRIVER("Couldn't create client %u doorbell: %d\n",
235 client->stage_id, ret); 235 client->stage_id, ret);
236 return ret; 236 return ret;
237 } 237 }
238 238