mbox series

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

Message ID 20240916082920.56234-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series drm/ast: Clean up use of TX-chip register constants | expand

Message

Thomas Zimmermann Sept. 16, 2024, 8:25 a.m. UTC
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(-)