]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/i915: Move the sharpness filter dump next to pfit
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Wed, 25 Mar 2026 13:58:49 +0000 (15:58 +0200)
committerVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 30 Mar 2026 15:57:40 +0000 (18:57 +0300)
Group the sharpness filter parameters next to all the other pfit
stuff in the state dump.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patch.msgid.link/20260325135849.12603-7-ville.syrjala@linux.intel.com
Reviewed-by: Michał Grzelak <michal.grzelak@intel.com>
drivers/gpu/drm/i915/display/intel_crtc_state_dump.c

index e0c292c703c1f839f47ae741c8221f9e17775615..c85ba9a9532217ede6c452056c659b3f923779d1 100644 (file)
@@ -348,6 +348,11 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
                           str_enabled_disabled(pipe_config->pch_pfit.enabled),
                           str_yes_no(pipe_config->pch_pfit.force_thru));
 
+       drm_printf(&p, "sharpness strength: %d, sharpness tap size: %d, sharpness enable: %d\n",
+                  pipe_config->hw.casf_params.strength,
+                  pipe_config->hw.casf_params.win_size,
+                  pipe_config->hw.casf_params.casf_enable);
+
        drm_printf(&p, "ips: %i, double wide: %i, drrs: %i\n",
                   pipe_config->ips_enabled, pipe_config->double_wide,
                   pipe_config->has_drrs);
@@ -383,11 +388,6 @@ void intel_crtc_state_dump(const struct intel_crtc_state *pipe_config,
 
        intel_vdsc_state_dump(&p, 0, pipe_config);
 
-       drm_printf(&p, "sharpness strength: %d, sharpness tap size: %d, sharpness enable: %d\n",
-                  pipe_config->hw.casf_params.strength,
-                  pipe_config->hw.casf_params.win_size,
-                  pipe_config->hw.casf_params.casf_enable);
-
 dump_planes:
        if (!state)
                return;