Re: [PATCH 5/7] drm: sti: Delete base.id prints

From: Daniel Vetter
Date: Wed Dec 19 2018 - 08:13:14 EST


On Tue, Dec 18, 2018 at 11:38:25AM -0200, Shayenne Moura wrote:
> This patch removes base.id prints from drm_display_mode
> objects in sti files. It removes dependency from drm_mode_object.
>
> Signed-off-by: Shayenne Moura <shayenneluzmoura@xxxxxxxxx>

Reviewed-by: Daniel Vetter <daniel.vetter@xxxxxxxx>

> ---
> drivers/gpu/drm/sti/sti_crtc.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/sti/sti_crtc.c b/drivers/gpu/drm/sti/sti_crtc.c
> index ed76e52eb213..ab7989bc8fa0 100644
> --- a/drivers/gpu/drm/sti/sti_crtc.c
> +++ b/drivers/gpu/drm/sti/sti_crtc.c
> @@ -53,9 +53,9 @@ sti_crtc_mode_set(struct drm_crtc *crtc, struct drm_display_mode *mode)
> struct clk *compo_clk, *pix_clk;
> int rate = mode->clock * 1000;
>
> - DRM_DEBUG_KMS("CRTC:%d (%s) mode:%d (%s)\n",
> + DRM_DEBUG_KMS("CRTC:%d (%s) mode: (%s)\n",
> crtc->base.id, sti_mixer_to_str(mixer),
> - mode->base.id, mode->name);
> + mode->name);
>
> DRM_DEBUG_KMS("%d %d %d %d %d %d %d %d %d %d 0x%x 0x%x\n",
> mode->vrefresh, mode->clock,
> --
> 2.17.1
>
> _______________________________________________
> dri-devel mailing list
> dri-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.freedesktop.org/mailman/listinfo/dri-devel

--
Daniel Vetter
Software Engineer, Intel Corporation
http://blog.ffwll.ch