From patchwork Fri Jan 11 14:44:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shayenne Moura X-Patchwork-Id: 10758161 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 78CA51515 for ; Fri, 11 Jan 2019 14:45:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C358229BC0 for ; Fri, 11 Jan 2019 14:44:51 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B6EE429D19; Fri, 11 Jan 2019 14:44:51 +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 6483629BC0 for ; Fri, 11 Jan 2019 14:44:51 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 8398B6F73F; Fri, 11 Jan 2019 14:44:50 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x844.google.com (mail-qt1-x844.google.com [IPv6:2607:f8b0:4864:20::844]) by gabe.freedesktop.org (Postfix) with ESMTPS id A31CC6F73F for ; Fri, 11 Jan 2019 14:44:49 +0000 (UTC) Received: by mail-qt1-x844.google.com with SMTP id d19so19019350qtq.9 for ; Fri, 11 Jan 2019 06:44:49 -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:references :mime-version:content-disposition:in-reply-to:user-agent; bh=QYdNq3VVMhYtpBQWaTK6+mRwBnuC2BB4henCpDet2gk=; b=jTPxGtsf13au7c9iVO7SHL6T90//37FqEEvCSIOEFirflL40n9v8LZk/w9N3OGwvil luKqczdRhRo0q/pfVZBU5ponWZfx8AHDwuy5CAUp3p/GRwn9KjMqNke3iUKUn/sWqTZz tXDbV4QzbO5dPi8Dqfs3dMuMzkF1iMj/M/uyCW9YwgFNqIGb1LkZHwothQf/rVy6+sBA T08kHqm283XMs+G4OAG1Rouec+bBJHd9vkXR/b8Bw8AsdXEDapqGSro9p/RUBb2x4WYy Ro1XSizjnwEthd1dXdjeCL97Wqu8717EtHKk2Qlv9mCuG+Iw2e6/9T37qvLxotUu4Fs9 JhXg== X-Gm-Message-State: AJcUukfRf/7jwxSs8jJC3kQDnqI7TLZIkn6LDzKh7tN4+9/dh68d7nDv l1TrnMbFMBnlmaQsvDL12AE= X-Google-Smtp-Source: ALg8bN6PJJmt8fqbRiEL5rG4yKvRJexd63EVBQyKLJY7wbZ5VZWuU78fl7pLXF1lNx/h57ZtS4YEfg== X-Received: by 2002:ac8:2c79:: with SMTP id e54mr14168428qta.17.1547217888784; Fri, 11 Jan 2019 06:44:48 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id g19sm12253259qke.2.2019.01.11.06.44.44 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 11 Jan 2019 06:44:48 -0800 (PST) Date: Fri, 11 Jan 2019 12:44:41 -0200 From: Shayenne Moura To: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie , Rob Clark , Benjamin Gaignard , Vincent Abriou , Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tomi Valkeinen , Neil Armstrong , Carlo Caione , Kevin Hilman Subject: [PATCH v5 1/3] drm: armada: Cleanup drm_display_mode print str Message-ID: References: MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: 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 adjust the print string of drm_display_mode object to remove drm_mode_object dependency in armada files. Signed-off-by: Shayenne Moura --- drivers/gpu/drm/armada/armada_crtc.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/drivers/gpu/drm/armada/armada_crtc.c b/drivers/gpu/drm/armada/armada_crtc.c index da9360688b55..20dfb29561c2 100644 --- a/drivers/gpu/drm/armada/armada_crtc.c +++ b/drivers/gpu/drm/armada/armada_crtc.c @@ -270,13 +270,7 @@ static void armada_drm_crtc_mode_set_nofb(struct drm_crtc *crtc) tm = adj->crtc_vtotal - adj->crtc_vsync_end; DRM_DEBUG_KMS("[CRTC:%d:%s] mode " DRM_MODE_FMT "\n", - crtc->base.id, crtc->name, - adj->base.id, adj->name, adj->vrefresh, adj->clock, - adj->crtc_hdisplay, adj->crtc_hsync_start, - adj->crtc_hsync_end, adj->crtc_htotal, - adj->crtc_vdisplay, adj->crtc_vsync_start, - adj->crtc_vsync_end, adj->crtc_vtotal, - adj->type, adj->flags); + crtc->base.id, crtc->name, DRM_MODE_ARG(adj)); DRM_DEBUG_KMS("lm %d rm %d tm %d bm %d\n", lm, rm, tm, bm); /* Now compute the divider for real */