diff options
author | Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com> | 2021-06-02 22:16:12 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2021-06-03 23:30:57 +0200 |
commit | 6fb086e5e6ba82df345d3c7f9e60c5b1f4bd6fc7 (patch) | |
tree | 40bb68423034ddb278e2b4dc88be15b18c07af4b /drivers/gpu/drm/i915/i915_syncmap.h | |
parent | 1fb12c5871521eab5fa428bf265841b1a3827a97 (diff) |
drm/i915/guc: use probe_error log for CT enablement failure
We have a couple of failure injection points in the CT enablement path,
so we need to use i915_probe_error() to select the appropriate log level.
A new macro (CT_PROBE_ERROR) has been added to the set of CT logging
macros to be used in this scenario and upcoming ones.
While adding the new macros, fix the underlying logging mechanics used
by the existing ones (DRM_DEV_* -> drm_*) and move the inlines to
before they're used inside the macros.
Signed-off-by: Matthew Brost <matthew.brost@intel.com>
Signed-off-by: Daniele Ceraolo Spurio <daniele.ceraolospurio@intel.com>
Reviewed-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210603051630.2635-3-matthew.brost@intel.com
Diffstat (limited to 'drivers/gpu/drm/i915/i915_syncmap.h')
0 files changed, 0 insertions, 0 deletions