mbox series

[0/4] drm/ast: astdp: Improve mode handling

Message ID 20250204133209.403327-1-tzimmermann@suse.de (mailing list archive)
Headers show
Series drm/ast: astdp: Improve mode handling | expand

Message

Thomas Zimmermann Feb. 4, 2025, 1:26 p.m. UTC
The ASTDP transmitter chip requires a mode index for each supported
mode. Currently, that is being handled internally whne programming
the display mode. Rework the code to filter out unsupported modes and
detect errors early.

Tested on AST2600 hardware.

Thomas Zimmermann (4):
  drm/ast: astdp: Add connector state
  drm/ast: astdp: Inline mode-index calculation
  drm/ast: astdp: Store mode index in connector state
  drm/ast: astdp: Validate display modes

 drivers/gpu/drm/ast/ast_dp.c | 157 ++++++++++++++++++++++++++---------
 1 file changed, 118 insertions(+), 39 deletions(-)