Skip to content

drm/ast: Various cleanups

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest10 patches 11 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10drm/ast: astdp: Inline ast_astdp_connector_init()drivers/gpu/drm/ast/ast_dp.c+22 -231 reply
2/10drm/ast: astdp: Avoid upcasting to struct ast_devicedrivers/gpu/drm/ast/ast_dp.c+10 -141 reply
3/10drm/ast: astdp: Replace power_on helpersdrivers/gpu/drm/ast/ast_dp.c drivers/gpu/drm/ast/ast_drv.h drivers/gpu/drm/ast/ast_reg.h+18 -261 reply
4/10drm/ast: astdp: Replace ast_dp_set_on_off()drivers/gpu/drm/ast/ast_dp.c drivers/gpu/drm/ast/ast_reg.h+35 -271 reply
5/10drm/ast: dp501: Inline ast_dp501_connector_init()drivers/gpu/drm/ast/ast_dp501.c+21 -221 reply
6/10drm/ast: dp501: Avoid upcasting to struct ast_devicedrivers/gpu/drm/ast/ast_dp501.c drivers/gpu/drm/ast/ast_drv.h drivers/gpu/drm/ast/ast_main.c +1 more+27 -342 replies
7/10drm/ast: sil164: Inline ast_sil164_connector_init()drivers/gpu/drm/ast/ast_sil164.c+26 -291 reply
8/10drm/ast: vga: Inline ast_vga_connector_init()drivers/gpu/drm/ast/ast_vga.c+26 -291 reply
9/10drm/ast: Respect return value from CRTC initdrivers/gpu/drm/ast/ast_mode.c+3 -11 reply
10/10drm/ast: Avoid upcasting to struct ast_devicedrivers/gpu/drm/ast/ast_drv.c drivers/gpu/drm/ast/ast_drv.h drivers/gpu/drm/ast/ast_main.c +2 more+21 -271 reply

Reviews trailers per patch

All 10 patches have a Reviewed-by or Acked-by.

PatchJocelyn Falempe
1/10R-b
2/10R-b
3/10R-b
4/10R-b
5/10R-b
6/10R-b
7/10R-b
8/10R-b
9/10R-b
10/10R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/10] drm/ast: Various cleanups

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(-)
Signature · 1 line
2.46.0