From patchwork Tue Dec 18 13:38:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shayenne Moura X-Patchwork-Id: 10735673 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 B5FBA1399 for ; Tue, 18 Dec 2018 13:38:29 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A39C92A0AE for ; Tue, 18 Dec 2018 13:38:29 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 94BD32A0B5; Tue, 18 Dec 2018 13:38:29 +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 5789F2A0AE for ; Tue, 18 Dec 2018 13:38:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 375286EBD2; Tue, 18 Dec 2018 13:38:28 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) by gabe.freedesktop.org (Postfix) with ESMTPS id BC7C36EBD2 for ; Tue, 18 Dec 2018 13:38:26 +0000 (UTC) Received: by mail-qk1-x743.google.com with SMTP id q8so7264414qke.1 for ; Tue, 18 Dec 2018 05:38:26 -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=/l2BFz5E70jNVo74ymdqczm+NbZ9ebLqQEzgpe0bSVM=; b=oSeXmQYmt+VbmDzk/aOe99z50u3QvkjM9M78PLHu1O0gbpFpwLn0crCNOV74Y2pH3T VmPWVjW3z7fRzq0h9MF+9bJmB27Omkp3YX9jASq1gIlQxIsTtudRZq+PNoPF+NLkeJ2i Z5oWHC9Sg6GKDlRBho1sS+0mXngEReGgaZUFtJEhujLDiraDU6czW5EqDdq4HFfB/6aY H2bytpGq5+znxf/W254SpRVbhs5igTKx7H4hrU4mfFOp1WFeT/LNjLEx/6CosdlwMZfa U3+azMRTsbel7YP0wxnKpconwShLIZ9COo3mmSjM5FsOgYU5Ad7CmLLTOxGmOowHrEHJ y4jQ== X-Gm-Message-State: AA+aEWblGxUqDzmiZouPmsiAhnrrUyjHcD+OF2wx1MUZWYV1y59aS591 8CQGUaGZ8cezgmLRkF5bHps= X-Google-Smtp-Source: AFSGD/XqObxQTYDG2HVfcjJsd9udD8Mmi+0AtuNGVitZ+v0iBng7sclI85XgG+u9m2nHg4w+9lZcZg== X-Received: by 2002:a37:5d06:: with SMTP id r6mr15922874qkb.229.1545140305836; Tue, 18 Dec 2018 05:38:25 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id b20sm12611815qkb.17.2018.12.18.05.38.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 18 Dec 2018 05:38:25 -0800 (PST) Date: Tue, 18 Dec 2018 11:38:21 -0200 From: Shayenne Moura To: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie Subject: [PATCH 4/7] drm: i915: Delete base.id prints Message-ID: <20181218133821.sykwt6wdeo7uf6o7@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 i915 files. It removes dependency from drm_mode_object. Signed-off-by: Shayenne Moura Reviewed-by: Jani Nikula --- drivers/gpu/drm/i915/i915_debugfs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/i915/i915_debugfs.c b/drivers/gpu/drm/i915/i915_debugfs.c index 7f455bca528e..61dd7bb3fa85 100644 --- a/drivers/gpu/drm/i915/i915_debugfs.c +++ b/drivers/gpu/drm/i915/i915_debugfs.c @@ -2948,8 +2948,8 @@ static void intel_seq_print_mode(struct seq_file *m, int tabs, for (i = 0; i < tabs; i++) seq_putc(m, '\t'); - seq_printf(m, "id %d:\"%s\" freq %d clock %d hdisp %d hss %d hse %d htot %d vdisp %d vss %d vse %d vtot %d type 0x%x flags 0x%x\n", - mode->base.id, mode->name, + seq_printf(m, "name:\"%s\" freq %d clock %d hdisp %d hss %d hse %d htot %d vdisp %d vss %d vse %d vtot %d type 0x%x flags 0x%x\n", + mode->name, mode->vrefresh, mode->clock, mode->hdisplay, mode->hsync_start, mode->hsync_end, mode->htotal,