Commit b635066c authored by Jani Nikula's avatar Jani Nikula

drm/i915: remove a few __i915_printk() uses

__i915_printk() does nothing special for notice/info levels. Just use
the regular drm_notice() and drm_info() calls.
Reviewed-by: default avatarAndi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: default avatarJonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/82857a0c04d3c11ca6758f05c13a3cec4f1a2f01.1722951405.git.jani.nikula@intel.comSigned-off-by: default avatarJani Nikula <jani.nikula@intel.com>
parent 6600c55b
...@@ -54,8 +54,8 @@ __i915_printk(struct drm_i915_private *dev_priv, const char *level, ...@@ -54,8 +54,8 @@ __i915_printk(struct drm_i915_private *dev_priv, const char *level,
void add_taint_for_CI(struct drm_i915_private *i915, unsigned int taint) void add_taint_for_CI(struct drm_i915_private *i915, unsigned int taint)
{ {
__i915_printk(i915, KERN_NOTICE, "CI tainted:%#x by %pS\n", drm_notice(&i915->drm, "CI tainted: %#x by %pS\n",
taint, (void *)_RET_IP_); taint, __builtin_return_address(0));
/* Failures that occur during fault injection testing are expected */ /* Failures that occur during fault injection testing are expected */
if (!i915_error_injected()) if (!i915_error_injected())
...@@ -74,9 +74,9 @@ int __i915_inject_probe_error(struct drm_i915_private *i915, int err, ...@@ -74,9 +74,9 @@ int __i915_inject_probe_error(struct drm_i915_private *i915, int err,
if (++i915_probe_fail_count < i915_modparams.inject_probe_failure) if (++i915_probe_fail_count < i915_modparams.inject_probe_failure)
return 0; return 0;
__i915_printk(i915, KERN_INFO, drm_info(&i915->drm, "Injecting failure %d at checkpoint %u [%s:%d]\n",
"Injecting failure %d at checkpoint %u [%s:%d]\n", err, i915_modparams.inject_probe_failure, func, line);
err, i915_modparams.inject_probe_failure, func, line);
i915_modparams.inject_probe_failure = 0; i915_modparams.inject_probe_failure = 0;
return err; return err;
} }
......
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