Skip to content

drm/ast: Clean up use of TX-chip register constants

Thomas Zimmermann dri-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3drm/ast: Rename register constants for TX-chip typesdrivers/gpu/drm/ast/ast_main.c drivers/gpu/drm/ast/ast_reg.h+14 -161 reply
2/3drm/ast: Use TX-chip register constantsdrivers/gpu/drm/ast/ast_dp501.c drivers/gpu/drm/ast/ast_main.c drivers/gpu/drm/ast/ast_reg.h+13 -111 reply
3/3drm/ast: Warn about unsupported TX chipsdrivers/gpu/drm/ast/ast_main.c+16 -11 reply

Reviews trailers per patch

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

PatchJocelyn Falempe
1/3R-b
2/3R-b
3/3R-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/3] drm/ast: Clean up use of TX-chip register constants

On GEN4 and later, VGACRD1 returns the device's TX chip. Clean up the use of the constants. Warn about unsupported chips.

Tested on various Aspeed devices. Really cleaning this up needs more work, but at least the TX-chip warnings can be added now.

Thomas Zimmermann (3):
drm/ast: Rename register constants for TX-chip types drm/ast: Use TX-chip register constants drm/ast: Warn about unsupported TX chips

 drivers/gpu/drm/ast/ast_dp501.c | 13 +++++++------
 drivers/gpu/drm/ast/ast_main.c  | 30 +++++++++++++++++++++++-------
 drivers/gpu/drm/ast/ast_reg.h   | 26 ++++++++++++--------------
 3 files changed, 42 insertions(+), 27 deletions(-)
Signature · 1 line
2.46.0