Skip to content

drm/ast: Remove model-specific branches from mode-setting pipeline

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5drm/ast: Store DRAM clock table in struct ast_devicedrivers/gpu/drm/ast/ast_2000.c drivers/gpu/drm/ast/ast_2100.c drivers/gpu/drm/ast/ast_2200.c +6 more+17 -61 reply
2/5drm/ast: Support device quirksdrivers/gpu/drm/ast/ast_2000.c drivers/gpu/drm/ast/ast_2100.c drivers/gpu/drm/ast/ast_2200.c +6 more+38 -91 reply
3/5drm/ast: Store CRTC memory request threshold in device quirksdrivers/gpu/drm/ast/ast_2000.c drivers/gpu/drm/ast/ast_2100.c drivers/gpu/drm/ast/ast_2200.c +6 more+24 -141 reply
4/5drm/ast: Store precatch settings in struct ast_device_quirksdrivers/gpu/drm/ast/ast_2500.c drivers/gpu/drm/ast/ast_2600.c drivers/gpu/drm/ast/ast_drv.h +1 more+16 -91 reply
5/5drm/ast: Store HSync adjustment in device quirksdrivers/gpu/drm/ast/ast_2600.c drivers/gpu/drm/ast/ast_drv.h drivers/gpu/drm/ast/ast_mode.c+8 -21 reply

Reviews trailers per patch

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

PatchJocelyn Falempe
1/5R-b
2/5R-b
3/5R-b
4/5R-b
5/5R-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 0/5] drm/ast: Remove model-specific branches from mode-setting pipeline

Store additional information in struct ast_device and struct ast_device_quirk to describe each model. Replace the per-Gen branching in the mode-setting code with the new data. Makes mode setting more flexible and puts more of the per-Gen information in a single source file per model.

Tested on AST2600 hardware.

Next to address will be the remaining per-Gen cases in the POST and in the DP501 code. After that there will be a single specific source file per hardware generation.

Thomas Zimmermann (5):
drm/ast: Store DRAM clock table in struct ast_device drm/ast: Support device quirks
drm/ast: Store CRTC memory request threshold in device quirks drm/ast: Store precatch settings in struct ast_device_quirks drm/ast: Store HSync adjustment in device quirks

 drivers/gpu/drm/ast/ast_2000.c |  9 ++++++-
 drivers/gpu/drm/ast/ast_2100.c |  9 ++++++-
 drivers/gpu/drm/ast/ast_2200.c |  9 ++++++-
 drivers/gpu/drm/ast/ast_2300.c |  9 ++++++-
 drivers/gpu/drm/ast/ast_2400.c |  9 ++++++-
 drivers/gpu/drm/ast/ast_2500.c | 10 +++++++-
 drivers/gpu/drm/ast/ast_2600.c | 11 +++++++-
 drivers/gpu/drm/ast/ast_drv.c  |  4 ++-
 drivers/gpu/drm/ast/ast_drv.h  | 27 +++++++++++++++++++-
 drivers/gpu/drm/ast/ast_mode.c | 46 +++++++++++-----------------------
 10 files changed, 103 insertions(+), 40 deletions(-)
Signature · 1 line
2.51.0