diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-06-06 16:07:05 +0200 |
---|---|---|
committer | Jani Nikula <jani.nikula@intel.com> | 2024-06-07 09:06:26 +0200 |
commit | 349f4f1e6aaa313ee9e334b61bbeec83b847125c (patch) | |
tree | 2b40e229d89306ac2b66bfab6650692fe7e03001 /drivers/gpu/drm/i915/display/intel_overlay.h | |
parent | drm/i915/dmc: convert intel_dmc_print_error_state() to drm_printer (diff) | |
download | linux-349f4f1e6aaa313ee9e334b61bbeec83b847125c.tar.xz linux-349f4f1e6aaa313ee9e334b61bbeec83b847125c.zip |
drm/i915/overlay: convert intel_overlay_print_error_state() to drm_printer
Use the regular drm printer, so we can drop the i915_error_printf()
usage.
Reviewed-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240606140705.3072987-2-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
Diffstat (limited to 'drivers/gpu/drm/i915/display/intel_overlay.h')
-rw-r--r-- | drivers/gpu/drm/i915/display/intel_overlay.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/gpu/drm/i915/display/intel_overlay.h b/drivers/gpu/drm/i915/display/intel_overlay.h index c3f68fce6f08..f28a09c062d0 100644 --- a/drivers/gpu/drm/i915/display/intel_overlay.h +++ b/drivers/gpu/drm/i915/display/intel_overlay.h @@ -8,8 +8,8 @@ struct drm_device; struct drm_file; -struct drm_i915_error_state_buf; struct drm_i915_private; +struct drm_printer; struct intel_overlay; struct intel_overlay_error_state; @@ -24,7 +24,7 @@ int intel_overlay_attrs_ioctl(struct drm_device *dev, void *data, void intel_overlay_reset(struct drm_i915_private *dev_priv); struct intel_overlay_error_state * intel_overlay_capture_error_state(struct drm_i915_private *dev_priv); -void intel_overlay_print_error_state(struct drm_i915_error_state_buf *e, +void intel_overlay_print_error_state(struct drm_printer *p, struct intel_overlay_error_state *error); #else static inline void intel_overlay_setup(struct drm_i915_private *dev_priv) @@ -55,7 +55,7 @@ intel_overlay_capture_error_state(struct drm_i915_private *dev_priv) { return NULL; } -static inline void intel_overlay_print_error_state(struct drm_i915_error_state_buf *e, +static inline void intel_overlay_print_error_state(struct drm_printer *p, struct intel_overlay_error_state *error) { } |