]> Git Repo - linux.git/commit
drm/ast: Support multiple outputs
authorThomas Zimmermann <[email protected]>
Tue, 7 Jun 2022 09:20:04 +0000 (11:20 +0200)
committerThomas Zimmermann <[email protected]>
Wed, 8 Jun 2022 11:16:15 +0000 (13:16 +0200)
commit7f35680ada234ce00828b8ea841ba7ca1e00ff52
tree139e5c68510d1c11146a5f0c53384f625a993ade
parentdfa687bffc8a4a21ed929c7dececf01b8f1f52ee
drm/ast: Support multiple outputs

Systems with AST graphics can have multiple output; typically VGA
plus some other port. Record detected output chips in a bitmask and
initialize each output on its own.

Assume a VGA output by default and use SIL164 and DP501 if available.
For ASTDP assume that it can run in parallel with VGA.

Tested on AST2100.

v3:
* define a macro for each BIT(ast_tx_chip) (Patrik)
v2:
* make VGA/SIL164/DP501 mutually exclusive

Signed-off-by: Thomas Zimmermann <[email protected]>
Reviewed-by: Patrik Jakobsson <[email protected]>
Fixes: a59b026419f3 ("drm/ast: Initialize encoder and connector for VGA in helper function")
Cc: Thomas Zimmermann <[email protected]>
Cc: Javier Martinez Canillas <[email protected]>
Cc: Dave Airlie <[email protected]>
Cc: [email protected]
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
drivers/gpu/drm/ast/ast_dp.c
drivers/gpu/drm/ast/ast_dp501.c
drivers/gpu/drm/ast/ast_drv.h
drivers/gpu/drm/ast/ast_main.c
drivers/gpu/drm/ast/ast_mode.c
drivers/gpu/drm/ast/ast_post.c
This page took 0.058525 seconds and 4 git commands to generate.