1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/gpu/drm/ast
Jocelyn Falempe f81bb0ac78 drm/ast: report connection status on Display Port.
Aspeed always report the display port as "connected", because it
doesn't set a .detect_ctx callback.
Fix this by providing the proper detect callback for astdp and dp501.

This also fixes the following regression:
Since commit fae7d18640 ("drm/probe-helper: Default to 640x480 if no
EDID on DP") The default resolution is now 640x480 when no monitor is
connected. But Aspeed graphics is mostly used in servers, where no monitor
is attached. This also affects the remote BMC resolution to 640x480, which
is inconvenient, and breaks the anaconda installer.

v2: Add .detect callback to the dp/dp501 connector (Jani Nikula)
v3: Use .detect_ctx callback, and refactors (Thomas Zimmermann)
    Add a BMC virtual connector
v4: Better indent detect_ctx() functions (Thomas Zimmermann)
v5: Enable polling of the dp and dp501 connector status
    (Thomas Zimmermann)
v6: Change check order in ast_astdp_is_connected (Jammy Huang)

Fixes: fae7d18640 ("drm/probe-helper: Default to 640x480 if no EDID on DP")
Signed-off-by: Jocelyn Falempe <jfalempe@redhat.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20230713134316.332502-2-jfalempe@redhat.com
2023-07-28 17:08:28 +02:00
..
ast_dp.c drm/ast: report connection status on Display Port. 2023-07-28 17:08:28 +02:00
ast_dp501.c drm/ast: report connection status on Display Port. 2023-07-28 17:08:28 +02:00
ast_dram_tables.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
ast_drv.c drm/ast: Use drm_aperture_remove_conflicting_pci_framebuffers 2023-04-04 14:55:50 +02:00
ast_drv.h drm/ast: report connection status on Display Port. 2023-07-28 17:08:28 +02:00
ast_i2c.c drm/ast: Rename to_ast_private() to to_ast_device() 2023-03-01 10:28:50 +01:00
ast_main.c drm/ast: Do not enable PCI resources multiple times 2023-07-25 20:51:41 +02:00
ast_mm.c drm/ast: Enable and unlock device access early during init 2023-06-27 14:26:32 +02:00
ast_mode.c drm/ast: report connection status on Display Port. 2023-07-28 17:08:28 +02:00
ast_post.c drm/ast: Distinguish among chip generations 2023-06-27 14:26:34 +02:00
ast_tables.h drm/ast: Add resolution support for 1152x864@75 2022-09-20 10:19:32 +02:00
Kconfig drm: Only select I2C_ALGOBIT for drivers that actually need it 2023-01-10 11:15:44 +01:00
Makefile drm/ast: Create the driver for ASPEED proprietory Display-Port 2022-05-03 16:04:03 +02:00