mbox series

[00/10] drm/ast: Various cleanups

Message ID 20240911115347.899148-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series drm/ast: Various cleanups | expand

Message

Thomas Zimmermann Sept. 11, 2024, 11:51 a.m. UTC
Here are various cleanups for the ast driver. Most of the patches
inline functions or avoid upcasting. Some internal helpers of the
astdp support are now easier to understand.

Tested on AST2600 HW.

Thomas Zimmermann (10):
  drm/ast: astdp: Inline ast_astdp_connector_init()
  drm/ast: astdp: Avoid upcasting to struct ast_device
  drm/ast: astdp: Replace power_on helpers
  drm/ast: astdp: Replace ast_dp_set_on_off()
  drm/ast: dp501: Inline ast_dp501_connector_init()
  drm/ast: dp501: Avoid upcasting to struct ast_device
  drm/ast: sil164: Inline ast_sil164_connector_init()
  drm/ast: vga: Inline ast_vga_connector_init()
  drm/ast: Respect return value from CRTC init
  drm/ast: Avoid upcasting to struct ast_device

 drivers/gpu/drm/ast/ast_dp.c     | 141 ++++++++++++++++---------------
 drivers/gpu/drm/ast/ast_dp501.c  |  96 ++++++++++-----------
 drivers/gpu/drm/ast/ast_drv.c    |   2 +-
 drivers/gpu/drm/ast/ast_drv.h    |   9 +-
 drivers/gpu/drm/ast/ast_main.c   |  10 +--
 drivers/gpu/drm/ast/ast_mode.c   |   8 +-
 drivers/gpu/drm/ast/ast_post.c   |  32 +++----
 drivers/gpu/drm/ast/ast_reg.h    |  15 +---
 drivers/gpu/drm/ast/ast_sil164.c |  55 ++++++------
 drivers/gpu/drm/ast/ast_vga.c    |  55 ++++++------
 10 files changed, 200 insertions(+), 223 deletions(-)