drm/i915: remove i915_report_error()
authorJani Nikula <jani.nikula@intel.com>
Tue, 6 Aug 2024 13:38:31 +0000 (16:38 +0300)
committerJani Nikula <jani.nikula@intel.com>
Thu, 8 Aug 2024 14:29:35 +0000 (17:29 +0300)
commit94a438a7595bb5a7a2efb94de2dc818845254e4f
tree872229560e65ba30c25be0befd3f8da628e1ecbc
parentb635066c2e0fcf74428b0864c249c1dbcaa4b5bc
drm/i915: remove i915_report_error()

i915_report_error() presently acts as a wrapper for __i915_printk(). In
practice, it would be better to use drm level error reporting wherever
possible, so replace all uses of i915_report_error() with the equivalent
drm_err() call. These cases are not worth having a dedicated wrapper to
also print bug reporting info. Replacing the calls leaves
i915_report_error() with no users, so remove it.

Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@igalia.com>
Reviewed-by: Andi Shyti <andi.shyti@linux.intel.com>
Reviewed-by: Jonathan Cavitt <jonathan.cavitt@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/19eab020c57c0fa45acacf4e4a8077e57cd4d561.1722951405.git.jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
drivers/gpu/drm/i915/i915_driver.c
drivers/gpu/drm/i915/i915_utils.h