Re: [PATCH v2] drm/gma500: replace drm_detect_hdmi_monitor() with drm_display_info.is_hdmi

From: Thomas Zimmermann
Date: Thu Sep 12 2024 - 06:45:20 EST


Hi

Am 12.09.24 um 11:38 schrieb Jani Nikula:
On Thu, 12 Sep 2024, Thomas Zimmermann <tzimmermann@xxxxxxx> wrote:
Am 12.09.24 um 10:56 schrieb Jani Nikula:
Moreover, in this case .detect() only detects digital displays as
reported by EDID. If you postpone that to .get_modes(), the probe helper
will still report connected, and invent non-EDID fallback modes. The
behaviour changes.
The change in behavior is intentional, because the current test seems
arbitrary. Does the driver not work with analog outputs?
Not on a DVI/HDMI port. Same with i915.

That's possibly the only way to distinguish a DVI-A display connected to
DVI-D source.

That's a detect failure, but IMHO our probe helpers should really handle this case.

Best regards
Thomas



BR,
Jani.



--
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)