mbox series

[0/3] drm: Split drm_modeset_helper_vtables.h

Message ID cover.1695903065.git.geert+renesas@glider.be (mailing list archive)
Headers show
Series drm: Split drm_modeset_helper_vtables.h | expand

Message

Geert Uytterhoeven Sept. 28, 2023, 12:16 p.m. UTC
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