From patchwork Wed Dec 19 21:21:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shayenne Moura X-Patchwork-Id: 10738137 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 A7C3E1399 for ; Wed, 19 Dec 2018 21:21:30 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 97B0D28737 for ; Wed, 19 Dec 2018 21:21:30 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 95CDA2873A; Wed, 19 Dec 2018 21:21:30 +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 B5AD328727 for ; Wed, 19 Dec 2018 21:21:29 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 143EC6E271; Wed, 19 Dec 2018 21:21:27 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-qk1-x741.google.com (mail-qk1-x741.google.com [IPv6:2607:f8b0:4864:20::741]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5C0BC6F1AB for ; Wed, 19 Dec 2018 21:21:26 +0000 (UTC) Received: by mail-qk1-x741.google.com with SMTP id a1so12524028qkc.5 for ; Wed, 19 Dec 2018 13:21: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=EfAp0fY9U6Td9408HAXaoEqT/EOAq/61kzOo7ggrq7I=; b=PkhVXSP+W4yGZaE7f1TrE3n+S58UD4hdoLHHf+LEf+TFpj6nglNl1dm3A3AmYBjo7b gB3VY1EM/Z+lC5SxilBp6i27QUbBfjmzxYdNRFDnfcAccP4OUb6Uz4+WCVwf14m46iqO OUYczSa88gquenhZ6yabPnjbfesP/OGSMqx/3ZIX1rDKtb7pvcmIbmyWJC9fBP8E9WyA QbhJeAVas1iiK3IkvsQgEKg/LLGP+L3D6g3CnX5qNNhQZqgQ1pQzMGFnDrHvOsZm5aO/ JYHZ5bLAX/IbT0hJKQQn3LUl4EvsEgDDm+R4PUGLRze+H7tpD+h8+KtTVUhu1ah9YgQu eu/A== X-Gm-Message-State: AA+aEWaSiGKzhHKCJ9gnragnB9OvyTeTsbo0MotdHTowMpkMj9cmtMns u9MPJBYQHupkgh7wMDpMbKY= X-Google-Smtp-Source: AFSGD/VWZqXRSFshK4Yy24Aolb56C1eXm41eFrcAWvta6Dr0AxJFil++95b9X+fJswmtHGzQdojqUA== X-Received: by 2002:a37:9201:: with SMTP id u1mr22540087qkd.258.1545254485442; Wed, 19 Dec 2018 13:21:25 -0800 (PST) Received: from smtp.gmail.com ([143.107.45.1]) by smtp.gmail.com with ESMTPSA id t33sm2242059qtj.76.2018.12.19.13.21.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 19 Dec 2018 13:21:24 -0800 (PST) Date: Wed, 19 Dec 2018 19:21:20 -0200 From: Shayenne Moura To: Maarten Lankhorst , Maxime Ripard , Sean Paul , David Airlie Subject: [PATCH 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. The motivation is that a display mode is a normal modeset object, possibly including public userspace id. This can be removed since the entire concept of userspace managing modes explicitly has never landed in upstream kernel mode setting support. Shayenne Moura (7): drm: msm: Cleanup drm_display_mode print string 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 | 5 ----- 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(+), 140 deletions(-)