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: 13402867 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 81C5AE732C9 for ; Thu, 28 Sep 2023 12:16:32 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BCFCB10E635; Thu, 28 Sep 2023 12:16:27 +0000 (UTC) Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [IPv6:2a02:1800:110:4::f00:19]) by gabe.freedesktop.org (Postfix) with ESMTPS id 78DD210E638 for ; Thu, 28 Sep 2023 12:16:25 +0000 (UTC) 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 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-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Geert Uytterhoeven , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" 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