diff mbox series

[3/4] drm/i915: Stop printing pipe name as hex

Message ID 20231122093137.1509-3-ville.syrjala@linux.intel.com (mailing list archive)
State New, archived
Headers show
Series [1/4] drm/i915/psr: Don't send a NULL VSC SDP | expand

Commit Message

Ville Syrjälä Nov. 22, 2023, 9:31 a.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Print the pipe name in ascii rather than hex.

Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
---
 drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Hogander, Jouni Nov. 23, 2023, 7:16 a.m. UTC | #1
On Wed, 2023-11-22 at 11:31 +0200, Ville Syrjala wrote:
> From: Ville Syrjälä <ville.syrjala@linux.intel.com>
> 
> Print the pipe name in ascii rather than hex.
> 
> Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>

Reviewed-by: Jouni Högander <jouni.hogander@intel.com>

> ---
>  drivers/gpu/drm/i915/display/intel_dpll_mgr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
> b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
> index 7958d0bd851e..ef57dad1a9cb 100644
> --- a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
> +++ b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
> @@ -4537,7 +4537,7 @@ void intel_shared_dpll_state_verify(struct
> intel_atomic_state *state,
>                                 "pll active mismatch (didn't expect
> pipe %c in active mask (0x%x))\n",
>                                 pipe_name(crtc->pipe), pll-
> >active_mask);
>                 I915_STATE_WARN(i915, pll->state.pipe_mask &
> pipe_mask,
> -                               "pll enabled crtcs mismatch (found %x
> in enabled mask (0x%x))\n",
> +                               "pll enabled crtcs mismatch (found
> pipe %c in enabled mask (0x%x))\n",
>                                 pipe_name(crtc->pipe), pll-
> >state.pipe_mask);
>         }
>  }
diff mbox series

Patch

diff --git a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
index 7958d0bd851e..ef57dad1a9cb 100644
--- a/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
+++ b/drivers/gpu/drm/i915/display/intel_dpll_mgr.c
@@ -4537,7 +4537,7 @@  void intel_shared_dpll_state_verify(struct intel_atomic_state *state,
 				"pll active mismatch (didn't expect pipe %c in active mask (0x%x))\n",
 				pipe_name(crtc->pipe), pll->active_mask);
 		I915_STATE_WARN(i915, pll->state.pipe_mask & pipe_mask,
-				"pll enabled crtcs mismatch (found %x in enabled mask (0x%x))\n",
+				"pll enabled crtcs mismatch (found pipe %c in enabled mask (0x%x))\n",
 				pipe_name(crtc->pipe), pll->state.pipe_mask);
 	}
 }