drm/i915: Create the printer only once in intel_pipe_config_compare()
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Thu, 29 Feb 2024 18:42:34 +0000 (20:42 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Fri, 15 Mar 2024 12:24:42 +0000 (14:24 +0200)
commit94273e122d0064b8ae7a70e7ce6ec3106d92f820
treef11d0d7dbd3a7502045a621b6ca9f11c8cca97d2
parentb4409db3ff7f8faf9074d78c8d93f4f0f97b88f0
drm/i915: Create the printer only once in intel_pipe_config_compare()

Create the drm_printer at the start of intel_pipe_config_compare()
and pass it on to all the mismatch() functions.

v2: Rebase

Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240229184234.31272-1-ville.syrjala@linux.intel.com
drivers/gpu/drm/i915/display/intel_display.c