From patchwork Tue Dec 18 13:38:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shayenne Moura X-Patchwork-Id: 10735671 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 1D08F1399 for ; Tue, 18 Dec 2018 13:38:24 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 0BDE42A0AE for ; Tue, 18 Dec 2018 13:38:24 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id F37EC2A0B5; Tue, 18 Dec 2018 13:38:23 +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 A4E4F2A0AE for ; Tue, 18 Dec 2018 13:38:23 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id A8F4D6EBD1; Tue, 18 Dec 2018 13:38:22 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by gabe.freedesktop.org (Postfix) with ESMTPS id 69F356EBD1 for ; Tue, 18 Dec 2018 13:38:21 +0000 (UTC) Received: by mail-qt1-x841.google.com with SMTP id e5so18110061qtr.12 for ; Tue, 18 Dec 2018 05:38:21 -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=h02Jf6d+TErFOX768BZ+Evkx/xmGfF/TiDgra91akHU=; b=euTBoEEZtJlXDelTpeskJBe4vRSVQhrw+WPCjyHOXJd06ACKHkp580z8pbodyxsJeW 4ckDH+eLnGNI7pmewX5riE6o9pZlLaF7tDSmigYZE6pfR92JR3IYWOfPx6OfCyrFnfXt Hs543v1AhabAnjmeonHjmVstnSfaINExIAwVjQybdKCb1QDLOcHZmgCDtMQ9qmSwrXFr fG38DS2lKNbM43nvtf9jIbQG/ZC5g+5pWG44iYS7LByEk92u2HDx2jlwbwYHlhgO2IV8 UExVFlgZlIvO/quqSe6ULGp7OsvVII4T2w406+sD7TZEvhf9a7dxbz+9S/4EcA7homjZ FOMw== X-Gm-Message-State: AA+aEWaR80ptRzNsdUVYKoe1PDwzTMxexel781WA4mrELEZEfoUUZ1bX suHmIXrSzZIy9V3P5N+0CDw= X-Google-Smtp-Source: AFSGD/VED/5Qq5RC43Ae6dOwdNbZvZ4fMvwObZO0Sqoy69cQCjpRfTXD0f8b5j/db93TsKYVxZIzRw== X-Received: by 2002:a05:6214:1087:: with SMTP id o7mr17304265qvr.115.1545140300482; Tue, 18 Dec 2018 05:38:20 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id u45sm10250092qtk.33.2018.12.18.05.38.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 05:38:20 -0800 (PST) Date: Tue, 18 Dec 2018 11:38:15 -0200 From: Shayenne Moura To: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie Subject: [PATCH 3/7] drm: omapdrm: Delete base.id prints Message-ID: <20181218133815.vr3hi5dpq6g7kgh4@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 omapdrm files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/omapdrm/omap_connector.c | 4 ++-- drivers/gpu/drm/omapdrm/omap_crtc.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/omap_connector.c b/drivers/gpu/drm/omapdrm/omap_connector.c index b81302c4bf9e..e02986e0b2c6 100644 --- a/drivers/gpu/drm/omapdrm/omap_connector.c +++ b/drivers/gpu/drm/omapdrm/omap_connector.c @@ -306,9 +306,9 @@ static int omap_connector_mode_valid(struct drm_connector *connector, done: DBG("connector: mode %s: " - "%d:\"%s\" %d %d %d %d %d %d %d %d %d %d 0x%x 0x%x", + "\"%s\" %d %d %d %d %d %d %d %d %d %d 0x%x 0x%x", (ret == MODE_OK) ? "valid" : "invalid", - mode->base.id, mode->name, mode->vrefresh, mode->clock, + mode->name, mode->vrefresh, mode->clock, mode->hdisplay, mode->hsync_start, mode->hsync_end, mode->htotal, mode->vdisplay, mode->vsync_start, diff --git a/drivers/gpu/drm/omapdrm/omap_crtc.c b/drivers/gpu/drm/omapdrm/omap_crtc.c index caffc547ef97..3d6febb2e9c4 100644 --- a/drivers/gpu/drm/omapdrm/omap_crtc.c +++ b/drivers/gpu/drm/omapdrm/omap_crtc.c @@ -427,8 +427,8 @@ static void omap_crtc_mode_set_nofb(struct drm_crtc *crtc) struct omap_crtc *omap_crtc = to_omap_crtc(crtc); struct drm_display_mode *mode = &crtc->state->adjusted_mode; - DBG("%s: set mode: %d:\"%s\" %d %d %d %d %d %d %d %d %d %d 0x%x 0x%x", - omap_crtc->name, mode->base.id, mode->name, + DBG("%s: set mode: \"%s\" %d %d %d %d %d %d %d %d %d %d 0x%x 0x%x", + omap_crtc->name, mode->name, mode->vrefresh, mode->clock, mode->hdisplay, mode->hsync_start, mode->hsync_end, mode->htotal, mode->vdisplay, mode->vsync_start, mode->vsync_end, mode->vtotal,