[Intel-gfx] [PATCH] drm/i915: Use the connector name in fbdev debug messages

Damien Lespiau damien.lespiau at intel.com
Tue May 13 14:51:46 CEST 2014


On Tue, May 13, 2014 at 01:45:09PM +0100, Chris Wilson wrote:
> -		DRM_DEBUG_KMS("connector %s on crtc %d: %s\n",
> +		DRM_DEBUG_KMS("connector %s on pipe %d [CRTC:%d]: %dx%d%s\n",
>  			      drm_get_connector_name(connector),
> +			      pipe_name(to_intel_crtc(encoder->crtc)->pipe),

pipe_name() gives you a char.

-- 
Damien



More information about the Intel-gfx mailing list