From patchwork Thu Jan 10 17:15:10 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shayenne Moura X-Patchwork-Id: 10756301 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 DC3B591E for ; Thu, 10 Jan 2019 17:15:21 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id BEA7A29DFE for ; Thu, 10 Jan 2019 17:15:21 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B159E29E07; Thu, 10 Jan 2019 17:15:21 +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 556C929DFE for ; Thu, 10 Jan 2019 17:15:21 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 35E446F3D9; Thu, 10 Jan 2019 17:15:19 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) by gabe.freedesktop.org (Postfix) with ESMTPS id 3BD636F3D9 for ; Thu, 10 Jan 2019 17:15:18 +0000 (UTC) Received: by mail-qt1-x82c.google.com with SMTP id e5so14012220qtr.12 for ; Thu, 10 Jan 2019 09:15:18 -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=vptgO8luquUdrl132GMBjMAnkNeZcOlBF0ROPIwjqak=; b=j1hvcxv58bG9vNek6a84qucDHqwAkmEfcbhPgAeW/adE6IGH0qOJXN+b25lnb2NlH0 FwCbQmTy4Tb0Q40yFkJyqE6riHP2phdABaIOwvGAcPsy2g4I08I2Ws3iLJg2NY9ktywi pO/3x3HCSNJKJE6b1B+557ex5qwd2CuGYv47ZyBYaN9Cy4dBlpVIGyUgty6fupuIX+NZ 5tWLvCKukvpaB5eFlVt+yydDkotNUMJujPTvFWbbDr4QxeQFhfm7MENOldTdWnoww3dM 0Tz/DZeLvAdpjD473mRzEIAXLOCF4OCb6cqhsuLRdcL5jv/tpyM0qd8cDwHVWocMXVYf cvfw== X-Gm-Message-State: AJcUukcElIG2UiGTimyyvXb+B9qSJhYRk6BNNPqkBfMOoLHNyMO27oaR 0wIq30Nk24fsL/kS8CPgt18= X-Google-Smtp-Source: ALg8bN7/PuHT2Ij7P8PVtmTjiWylXgmlthz+dEvDnLhRfKWn2aedrycuEsK4RXweSM62xr8eCUa+Xg== X-Received: by 2002:a0c:8322:: with SMTP id j31mr10639509qva.56.1547140517110; Thu, 10 Jan 2019 09:15:17 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id e89sm35789152qtb.78.2019.01.10.09.15.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 10 Jan 2019 09:15:16 -0800 (PST) Date: Thu, 10 Jan 2019 15:15:10 -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 v3 0/7] drm: Remove drm_mode_object dependency from drm_display_mode Message-ID: 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 serie removes drm_mode_object dependency from drm_display_mode struct. This is part of KMS cleanup. --- Changes in v3: - Solve typo in first patch in v2 Changes in v2: - Make alterations suggested by Daniel and commit messages clear Shayenne Moura (7): drm: msm: Cleanup drm_display_mode print str drm: omapdrm: Cleanup drm_display_mode print str drm: meson: Cleanup on drm_display_mode print str drm: sti: Cleanup drm_display_mode print str drm: i915: Cleanup drm_display_mode print str drm: Remove use of drm_mode_object drm: Complete remove drm_mode_object dependency drivers/gpu/drm/drm_crtc_helper.c | 5 ++--- drivers/gpu/drm/drm_modes.c | 9 -------- drivers/gpu/drm/i915/i915_debugfs.c | 9 +------- drivers/gpu/drm/meson/meson_dw_hdmi.c | 12 +++-------- drivers/gpu/drm/msm/disp/mdp4/mdp4_crtc.c | 10 ++------- .../gpu/drm/msm/disp/mdp4/mdp4_dsi_encoder.c | 9 +------- .../gpu/drm/msm/disp/mdp4/mdp4_dtv_encoder.c | 9 +------- .../gpu/drm/msm/disp/mdp4/mdp4_lcdc_encoder.c | 9 +------- .../gpu/drm/msm/disp/mdp5/mdp5_cmd_encoder.c | 9 +------- drivers/gpu/drm/msm/disp/mdp5/mdp5_crtc.c | 9 +------- drivers/gpu/drm/msm/disp/mdp5/mdp5_encoder.c | 9 +------- drivers/gpu/drm/msm/dsi/dsi_manager.c | 9 +------- drivers/gpu/drm/msm/edp/edp_bridge.c | 9 +------- drivers/gpu/drm/omapdrm/omap_connector.c | 9 ++------ drivers/gpu/drm/omapdrm/omap_crtc.c | 8 ++----- drivers/gpu/drm/sti/sti_crtc.c | 16 ++++---------- include/drm/drm_modes.h | 21 +++---------------- 17 files changed, 27 insertions(+), 144 deletions(-)