drm/i915: Fix port name in vlv_wait_port_ready() timeout warning
Subsystems (2)
PATCH 1/1 drm/i915: Fix port name in vlv_wait_port_ready() timeout warning
From: Ville Syrjälä <[email protected]>
We're currently misprinting the port name when vlv_wait_port_ready() times out. Fix it by using port_name().
Signed-off-by Ville Syrjälä <[email protected]>
--- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/i915/intel_display.c +1 -1
@@ -1513,7 +1513,7 @@ void vlv_wait_port_ready(struct drm_i915_private *dev_priv,if (wait_for ((I915_READ (DPLL (0 )) & port_mask) ==0 ,1000 ))WARN (1 ,"timed out waiting for port %c ready: 0x%08x\n" , -'B' + dport->port,I915_READ (DPLL (0 ))); +port_name (dport->port),I915_READ (DPLL (0 ))); }/**
Signature · 6 lines
1.8.3.2 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Daniel Vetter
AppliedQuoted 6 lines · On Fri, Nov 29, 2013 at 01:21:49PM +0200, [email protected] wrote:
From: Ville Syrjälä <[email protected]>
We're currently misprinting the port name when
vlv_wait_port_ready()times out. Fix it by usingport_name().Signed-off-by Ville Syrjälä <[email protected]>
Queued for -next, thanks for the patch.
-Daniel
Quoted 24 lines
--- drivers/gpu/drm/i915/intel_display.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/i915/intel_display.c +1
-1@@ -1513,7 +1513,7 @@ void vlv_wait_port_ready(struct drm_i915_private *dev_priv,if (wait_for ((I915_READ (DPLL (0 )) & port_mask) ==0 ,1000 ))WARN (1 ,"timed out waiting for port %c ready: 0x%08x\n" , -'B' + dport->port,I915_READ (DPLL (0 ))); +port_name (dport->port),I915_READ (DPLL (0 ))); }/** Signature · 6 lines
1.8.3.2 _______________________________________________ Intel-gfx mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/intel-gfx
Signature · 3 lines
Daniel Vetter Software Engineer, Intel Corporation +41 (0) 79 365 57 48 - http://blog.ffwll.ch