Re: [PATCH 05/12] drm/i915: Convert pipe_config_buffer_mismatch() to drm_printer

2024-02-22 Thread Rodrigo Vivi
On Thu, Feb 15, 2024 at 06:40:48PM +0200, Ville Syrjala wrote: > From: Ville Syrjälä > > Utilize drm_printer in pipe_config_infoframe_mismatch() to avoid > a bit of code duplication. > > print_hex_dump() doesn't know anything about the printer so > it still needs the DRM_UT_KMS check and

[PATCH 05/12] drm/i915: Convert pipe_config_buffer_mismatch() to drm_printer

2024-02-15 Thread Ville Syrjala
From: Ville Syrjälä Utilize drm_printer in pipe_config_infoframe_mismatch() to avoid a bit of code duplication. print_hex_dump() doesn't know anything about the printer so it still needs the DRM_UT_KMS check and special handling for the loglevel. But at least we end up with a bit less