]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915/guc: Move and improve error message for missed CTB reply
authorMichal Wajdeczko <michal.wajdeczko@intel.com>
Sun, 26 Sep 2021 18:45:45 +0000 (20:45 +0200)
committerMatt Roper <matthew.d.roper@intel.com>
Fri, 1 Oct 2021 19:04:24 +0000 (12:04 -0700)
commit4b3a999e23ca1b823cc66261b1b7e6fbf68cd02b
tree76d62631f17bb1ce7708cb5dc5087be36a390169
parent6e6ba79288b66013dd84b9c60b68a56a78836db2
drm/i915/guc: Move and improve error message for missed CTB reply

If we timeout waiting for a CT reply we print very simple error
message. Improve that and by moving error reporting to the caller
we can use CT_ERROR instead of DRM_ERROR and report just fence
as error code will be reported later anyway.

Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Matt Roper <matthew.d.roper@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210926184545.1407-5-michal.wajdeczko@intel.com
drivers/gpu/drm/i915/gt/uc/intel_guc_ct.c