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

Reply via email to