[PATCH 0/3] drm/ast: Clean up use of TX-chip register constants

Thomas Zimmermann tzimmermann at suse.de
Mon Sep 16 08:25:12 UTC 2024


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(-)

-- 
2.46.0



More information about the dri-devel mailing list