[PATCH 5/5] drm/imx: ipuv3 plane: Replace dev_info with dev_dbg if a plane's CRTC changes

Philipp Zabel p.zabel at pengutronix.de
Mon Nov 23 03:48:51 PST 2015


Am Freitag, den 20.11.2015, 16:14 +0800 schrieb Liu Ying:
> This patch changes the dev_info() call to dev_dbg() in ipu_plane_update()
> to print out the information that a plane's CRTC is changed, because this
> kind of information is only useful for debugging.
> 
> Signed-off-by: Liu Ying <Ying.Liu at freescale.com>
> ---
> This patch applies to the imx-drm/fixes branch of Philipp Zabel's open git.
> 
>  drivers/gpu/drm/imx/ipuv3-plane.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/imx/ipuv3-plane.c b/drivers/gpu/drm/imx/ipuv3-plane.c
> index b3ed207..b24bf94 100644
> --- a/drivers/gpu/drm/imx/ipuv3-plane.c
> +++ b/drivers/gpu/drm/imx/ipuv3-plane.c
> @@ -338,7 +338,7 @@ static int ipu_update_plane(struct drm_plane *plane, struct drm_crtc *crtc,
>  	}
>  
>  	if (crtc != plane->crtc)
> -		dev_info(plane->dev->dev, "crtc change: %p -> %p\n",
> +		dev_dbg(plane->dev->dev, "crtc change: %p -> %p\n",
>  				plane->crtc, crtc);
>  	plane->crtc = crtc;

This change is separate from the others, I have applied it.

thanks
Philipp



More information about the dri-devel mailing list