[PATCHv2] drm: fb_helper: prefer to use mode, which is not DRM_MODE_TYPE_USERDEF
Radek Dostál
rd at radekdostal.com
Mon Apr 20 03:38:25 PDT 2015
Hi Chris,
On 04/20/2015 11:58 AM, Chris Wilson wrote:
> Hmm, so that should be before the clock comparison as well to fix your
> example. Not as neat.
indeed that is required.
> The other idea I was considering was not adding the GTF cmdline mode if
> the probed modes already contain one of a matching resolution. The goal
> here is to also not present a mode to userspace that is invalid.
Unfortunately you can not do that. I already tried. At the time when
drm_helper_probe_add_cmdline_mode is called EDID informations are not
yet available.
Only option would be to remove the GTF cmdline mode, when matching mode
is found in EDID.
Thanks,
Radek
More information about the dri-devel
mailing list