Generating debug messages during display update results in lot's of messages, if the display shows the console. Signed-off-by: Sebastian Reichel <sre@xxxxxxxxxx> --- drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c index ca7fba59c760..196fe8d18ff4 100644 --- a/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c +++ b/drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c @@ -931,7 +931,7 @@ static int dsicm_update(struct omap_dss_device *dssdev, struct omap_dss_device *in = ddata->in; int r; - dev_dbg(&ddata->pdev->dev, "update %d, %d, %d x %d\n", x, y, w, h); + dev_dbg_ratelimited(&ddata->pdev->dev, "update %d, %d, %d x %d\n", x, y, w, h); mutex_lock(&ddata->lock); in->ops.dsi->bus_lock(in); @@ -978,14 +978,14 @@ static int dsicm_sync(struct omap_dss_device *dssdev) struct panel_drv_data *ddata = to_panel_data(dssdev); struct omap_dss_device *in = ddata->in; - dev_dbg(&ddata->pdev->dev, "sync\n"); + dev_dbg_ratelimited(&ddata->pdev->dev, "sync\n"); mutex_lock(&ddata->lock); in->ops.dsi->bus_lock(in); in->ops.dsi->bus_unlock(in); mutex_unlock(&ddata->lock); - dev_dbg(&ddata->pdev->dev, "sync done\n"); + dev_dbg_ratelimited(&ddata->pdev->dev, "sync done\n"); return 0; } -- 2.7.0 _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx https://lists.freedesktop.org/mailman/listinfo/dri-devel