From patchwork Tue Dec 18 13:38:25 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shayenne Moura X-Patchwork-Id: 10735675 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3D9CD924 for ; Tue, 18 Dec 2018 13:38:33 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D24A2A0B3 for ; Tue, 18 Dec 2018 13:38:33 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F87D2A0BE; Tue, 18 Dec 2018 13:38:33 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DDD782A0B3 for ; Tue, 18 Dec 2018 13:38:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 0C57C899B0; Tue, 18 Dec 2018 13:38:32 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk1-x735.google.com (mail-qk1-x735.google.com [IPv6:2607:f8b0:4864:20::735]) by gabe.freedesktop.org (Postfix) with ESMTPS id BAAD4893E7 for ; Tue, 18 Dec 2018 13:38:30 +0000 (UTC) Received: by mail-qk1-x735.google.com with SMTP id 68so9449307qke.9 for ; Tue, 18 Dec 2018 05:38:30 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=kwbyrKVr7th7uUgx1fkm/6bOB2+rMDEnicy6YFlOrBc=; b=NZh7q88MdKzupiVHkoHLlxOUG64fp229541mR4PDLt21+ixsC0qWcgaj6G9aqbhuZH ypNwmB4MZY9KSAQ/PabB3HBLZt8kb9Wh1w19BIfJszlHXQGv3oKh9RqT6Dzj2Dg4eP4g ttI0Wy5+2I7owMba8OCc8+Hz/u4arRMNqZ5z1CFJ5HCYdaQEj3jMBe78yshbK/hf0Uf9 NukxDWzA9XV6jAIGgwThceqK2LA2eyVNYz3ZN6lXKOA1W7P0bNkpJIGsV3LVTpNUmtvF redgezj0KFojW+isR6SU+3VQLE94rQviYF6MVrMvX79p6II60zmJxhVKKEWbBFd5J8+M fk2w== X-Gm-Message-State: AA+aEWYXxVNSqX692/lHUxcIESh7gLZtRFfYz0+gVQ33rpN2Qys4VorR rFfwCQLRx/nuTyLVK7PaqVQ= X-Google-Smtp-Source: AFSGD/XXnc8fvoDqt22yNjJFK4GwWCSNJE1tWxEWt1L4F22pa3zZQIpHOLxCJhFLlxGYYI/dUjJleg== X-Received: by 2002:a37:8ac3:: with SMTP id m186mr15926589qkd.263.1545140309682; Tue, 18 Dec 2018 05:38:29 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id b6sm7702997qtq.29.2018.12.18.05.38.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 05:38:29 -0800 (PST) Date: Tue, 18 Dec 2018 11:38:25 -0200 From: Shayenne Moura To: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie Subject: [PATCH 5/7] drm: sti: Delete base.id prints Message-ID: <20181218133825.rdqanhqozsnqp2fy@smtp.gmail.com> MIME-Version: 1.0 Content-Disposition: inline User-Agent: NeoMutt/20171215 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Daniel Vetter --- 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,