[PATCH 0/3] drm: Split drm_modeset_helper_vtables.h

From: Geert Uytterhoeven
Date: Thu Sep 28 2023 - 08:16:30 EST


Hi all,

<drm/drm_modeset_helper_vtables.h> 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 <drm/drm_modeset_helper_vtables.h> 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 <drm/drm_modeset_helper_vtables.h> 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

--
2.34.1

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds