drm/ast: Untangle connector helpers
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest9 patches 1 replyIn review
- v18 patches 10 repliesSuperseded
Changes in v2 from the cover letter
* move encoder's preferred-CRTC bitmask setup into separate patch (Javier)
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/9 | drm/ast: Fail if connector initialization failsdrivers/ | +8 | 0 replies | |
| 2/9 | drm/ast: Move connector mode_valid function to CRTCdrivers/ | +66 | 0 replies | |
| 3/9 | drm/ast: Remove AST_TX_ITE66121 constantdrivers/ | +0 | 0 replies | |
| 4/9 | drm/ast: Remove unused value dp501_maxclkdrivers/ drivers/ drivers/ | +3 | 0 replies | |
| 5/9 | drm/ast: Rename struct ast_connector to struct ast_vga_connectordrivers/ drivers/ | +27 | 0 replies | |
| 6/9 | drm/ast: Initialize encoder and connector for VGA in helper functiondrivers/ drivers/ | +42 | 0 replies | |
| 7/9 | drm/ast: Read encoder possible-CRTC mask from drm_crtc_mask()drivers/ | +1 | 1 reply | |
| 8/9 | drm/ast: Move DP501-based connector code into separate helpersdrivers/ drivers/ | +109 | 0 replies | |
| 9/9 | drm/ast: Move SIL164-based connector code into separate helpersdrivers/ drivers/ | +112 | 0 replies |
Reviews trailers per patch
All 9 patches have a Reviewed-by or Acked-by.
| Patch | Javier Martinez Canillas |
|---|---|
| 1/9 | R-b |
| 2/9 | R-b |
| 3/9 | R-b |
| 4/9 | R-b |
| 5/9 | R-b |
| 6/9 | R-b |
| 7/9 | R-b |
| 8/9 | R-b |
| 9/9 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/9] drm/ast: Untangle connector helpers
The ast driver supports different transmitter chips to support DVI and HDMI connectors. It's al been packed into the same helpers functons and exported as VGA connector.
Introduce a separate set of connector helpers for each transmitter chip, and thus connector type. Also provide the correct encoder for each connector.
This change mostly affects the connector's get_modes helper, where VGA-, DVI- and HDMI-related code was lumped into the same function. It's now all separate. While at it, also rework and cleanup the initialization of the related data structures.
Tested on AST 2100 and AST 2300 hardware. I don't have hardware with special transmitter chips (SIL164, DP501), so I could only test the VGA code.
v2:
* move encoder's preferred-CRTC bitmask setup into separate patch (Javier)
Thomas Zimmermann (9):
drm/ast: Fail if connector initialization fails
drm/ast: Move connector mode_valid function to CRTC drm/ast: Remove AST_TX_ITE66121 constant
drm/ast: Remove unused value dp501_maxclk
drm/ast: Rename struct ast_connector to struct ast_vga_connector drm/ast: Initialize encoder and connector for VGA in helper function drm/ast: Read encoder possible-CRTC mask from drm_crtc_mask() drm/ast: Move DP501-based connector code into separate helpers drm/ast: Move SIL164-based connector code into separate helpers
drivers/gpu/drm/ast/ast_dp501.c | 58 ----- drivers/gpu/drm/ast/ast_drv.h | 37 ++- drivers/gpu/drm/ast/ast_mode.c | 413 +++++++++++++++++++++++--------- 3 files changed, 331 insertions(+), 177 deletions(-)
base-commit: 0bb81b5d6db5f689b67f9d8b35323235c45e890f
Signature · 1 line
2.34.1