On 27/01/2025 12:55, Thomas Zimmermann wrote:
Hi
Am 24.01.25 um 15:11 schrieb Jocelyn Falempe:
ast_dp_is_connected() used to also check for link training success to report the DP connector as connected. Without this check, the physical_status is always connected. So if no monitor is present, it will fail to read the EDID and set the default resolution to 640x480 instead of 1024x768.
Signed-off-by: Jocelyn Falempe jfalempe@redhat.com Fixes: 2281475168d2 ("drm/ast: astdp: Perform link training during atomic_enable") Cc: Thomas Zimmermann tzimmermann@suse.de Cc: Dave Airlie airlied@redhat.com Cc: dri-devel@lists.freedesktop.org Cc: stable@vger.kernel.org # v6.12+
I cannot reproduce the problem, but the patch looks correct. My AST2600 with ASTDP still works correctly with the patch allied.
Thanks, interesting that it doesn't affect all hardwares. I got reports from two different vendors about this issue.
If no other comments, I will push it to drm-misc-next tomorrow (only adding reported-by: and tested-by: tags).