[Intel-gfx] [PATCH] drm/i915: Use %c in a format string for the pipe name
Jani Nikula
jani.nikula at linux.intel.com
Fri Jun 6 19:38:22 CEST 2014
On Fri, 06 Jun 2014, Damien Lespiau <damien.lespiau at intel.com> wrote:
> pipe_name() returns an ascii character.
Reviewed-by: Jani Nikula <jani.nikula at intel.com>
After all these fixes... maybe we should make it a string? It could take
EDP into account too. For a rainy day.
>
> Signed-off-by: Damien Lespiau <damien.lespiau at intel.com>
> ---
> drivers/gpu/drm/i915/intel_fbdev.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/i915/intel_fbdev.c b/drivers/gpu/drm/i915/intel_fbdev.c
> index 088fe93..27975c3 100644
> --- a/drivers/gpu/drm/i915/intel_fbdev.c
> +++ b/drivers/gpu/drm/i915/intel_fbdev.c
> @@ -417,7 +417,7 @@ static bool intel_fb_initial_config(struct drm_fb_helper *fb_helper,
> }
> crtcs[i] = new_crtc;
>
> - DRM_DEBUG_KMS("connector %s on pipe %d [CRTC:%d]: %dx%d%s\n",
> + DRM_DEBUG_KMS("connector %s on pipe %c [CRTC:%d]: %dx%d%s\n",
> connector->name,
> pipe_name(to_intel_crtc(encoder->crtc)->pipe),
> encoder->crtc->base.id,
> --
> 1.8.3.1
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx
--
Jani Nikula, Intel Open Source Technology Center
More information about the Intel-gfx
mailing list