-
- Downloads
drm/ast: Initialize ASTDP in ast_post_gpu()
Remove the call to ast_dp_launch() from ast_detect_tx_chip() and perform it unconditionally in ast_post_gpu(). Also add error handling: the detection code apparently used ast_dp_launch() to test for a working ASTDP, falling back to VGA on errors. As the VBIOS reports ASTDP, silently ignoring errors is questionable behavior. With the refactoring, failing to initialize the ASTDP will also fail probing the driver. Signed-off-by:Thomas Zimmermann <tzimmermann@suse.de> Reviewed-by:
Jocelyn Falempe <jfalempe@redhat.com> Link: https://patchwork.freedesktop.org/patch/msgid/20250117103450.28692-5-tzimmermann@suse.de
Showing
- drivers/gpu/drm/ast/ast_drv.c 5 additions, 1 deletiondrivers/gpu/drm/ast/ast_drv.c
- drivers/gpu/drm/ast/ast_drv.h 1 addition, 1 deletiondrivers/gpu/drm/ast/ast_drv.h
- drivers/gpu/drm/ast/ast_main.c 13 additions, 6 deletionsdrivers/gpu/drm/ast/ast_main.c
- drivers/gpu/drm/ast/ast_post.c 10 additions, 3 deletionsdrivers/gpu/drm/ast/ast_post.c
Loading
Please register or sign in to comment