From patchwork Thu Sep 28 12:16:10 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Geert Uytterhoeven X-Patchwork-Id: 14655 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:cae8:0:b0:403:3b70:6f57 with SMTP id r8csp3287917vqu; Thu, 28 Sep 2023 05:53:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEBb8d6oaF45JvLGXUYAcLjG6vXBfChRXvWa70mSlsAucfjmwI5kfnHh00mzVFFaEEIOviw X-Received: by 2002:a17:903:54d:b0:1c6:1a26:ef56 with SMTP id jo13-20020a170903054d00b001c61a26ef56mr911930plb.48.1695905623541; Thu, 28 Sep 2023 05:53:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695905623; cv=none; d=google.com; s=arc-20160816; b=zwzw+JtsfX5HUpDPGP5Fj5FA5LhKPlrZ266hI8t0+18TIQ8xVCajeERfsZV62ss02D MIwfGAdENIolxf9QGsYWVJ155MCOR3nqAHHLvJJT76Eupl2s/vAzsusxoHZdxIXN3Idu uT03qmVR1G8s2/iAYsZbGhIpUIPbw8CtRLZAygd85Ohu2GGpuBRf+cw/U8n7ewlr7sbO IhBxp3uMtRoi6SNqSo6/Kh+XdAzdr4dd7+VdbQJNsZ7ZVJcI032kzeCj5ONO8ZyAyM6s TCAGJVs0NxXOY2WxCJJgnLO2adMzrZzmRvK9plSmHX52DgxYUg4pO4hlklLTSxCOh9uz 1VRA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=dfGx8KhShmlM9z8mvo+Ce8ViYU68aNJpD0pBTqrrGRM=; fh=dV/LdDU6GrfsvMxA2+l5UkqBKtVIqIGJBD9n3xQY9c4=; b=TtGKaCkDlzDah7g6ZnWuVKKAzHPmgJCEeOaT5JIU8JBnq+vI0ZoxagapFbSxFP4Aug VO0HJf+JIF0cQNSEx1TnFS1U50GYEux+GA+CE7gLxaLNDoAFmgd04B7WmDSG6pss6loh PGu7M3A9Tzv7HWkUCRss4T3oXNsTcmC4wYrkoegiO/5akKsOY+9k3y6FCF5KVQwUbhWy Wf1P6G1oK8CWDDgngemumZMVGUnwHLE8q6mHFTkFB51HovxwLAEg6NV+7jYz8Gpa94q7 ztI6Lf2V2Nm3+u/CNtW+0eYweeyHu7wtkyT88fHcx5d8FwzocAraJXLIKN/B3es1Ntre EitA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id kn3-20020a170903078300b001bc6e60699dsi16677121plb.27.2023.09.28.05.53.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Sep 2023 05:53:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id A3B1A8218E5D; Thu, 28 Sep 2023 05:16:31 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232343AbjI1MQ3 (ORCPT + 21 others); Thu, 28 Sep 2023 08:16:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232303AbjI1MQ1 (ORCPT ); Thu, 28 Sep 2023 08:16:27 -0400 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A30D7136 for ; Thu, 28 Sep 2023 05:16:25 -0700 (PDT) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed40:e207:8adb:af22:7f1e]) by laurent.telenet-ops.be with bizsmtp id rQGH2A00P3w8i7m01QGHJn; Thu, 28 Sep 2023 14:16:22 +0200 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1qlpvt-004mR5-5A; Thu, 28 Sep 2023 14:16:17 +0200 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1qlpwH-001OAd-JO; Thu, 28 Sep 2023 14:16:17 +0200 From: Geert Uytterhoeven To: Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , David Airlie , Daniel Vetter , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 0/3] drm: Split drm_modeset_helper_vtables.h Date: Thu, 28 Sep 2023 14:16:10 +0200 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Thu, 28 Sep 2023 05:16:31 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1778285752869317612 X-GMAIL-MSGID: 1778285934823458273 Hi all, is the second largest header file in the DRM subsystem, and declares helpers vtables for various DRM components. Several vtables contain methods with the same name, and all but one vtable do not fit on the screen, making it hard to navigate to the actual method one is interested in. Hence this patch series splits in multiple header files, one per DRM component, preceded by a few spelling fix this to avoid checkpatch warnings. A future patch could replace inclusion of by inclusion of one or more of the new files, to reduce compilation time. I marked the last patch RFC, the first two patches can be applied immediately. Thanks for your comments! Geert Uytterhoeven (3): drm: Spelling s/hardward/hardware/g drm: Spelling s/preceeding/preceding/g [RFC] drm: Split drm_modeset_helper_vtables.h drivers/gpu/drm/drm_atomic_helper.c | 4 +- include/drm/drm_bridge.h | 2 +- include/drm/drm_connector_helper_vtable.h | 364 +++++ include/drm/drm_crtc_helper_vtable.h | 483 ++++++ include/drm/drm_encoder_helper_vtable.h | 381 +++++ include/drm/drm_mode_config_helper_vtable.h | 97 ++ include/drm/drm_modeset_helper_vtables.h | 1466 +------------------ include/drm/drm_plane_helper_vtable.h | 297 ++++ 8 files changed, 1630 insertions(+), 1464 deletions(-) create mode 100644 include/drm/drm_connector_helper_vtable.h create mode 100644 include/drm/drm_crtc_helper_vtable.h create mode 100644 include/drm/drm_encoder_helper_vtable.h create mode 100644 include/drm/drm_mode_config_helper_vtable.h create mode 100644 include/drm/drm_plane_helper_vtable.h