lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87czn01odd.fsf@intel.com>
Date:   Tue, 16 Nov 2021 10:44:14 +0200
From:   Jani Nikula <jani.nikula@...ux.intel.com>
To:     Angus Ainslie <angus@...ea.ca>,
        Maarten Lankhorst <maarten.lankhorst@...ux.intel.com>,
        Maxime Ripard <mripard@...nel.org>,
        Thomas Zimmermann <tzimmermann@...e.de>
Cc:     kernel@...i.sm, David Airlie <airlied@...ux.ie>,
        Angus Ainslie <angus@...ea.ca>, linux-kernel@...r.kernel.org,
        dri-devel@...ts.freedesktop.org, ville.syrjala@...ux.intel.com
Subject: Re: [PATCH] drm: drm_probe_helper: add modes upto 1920x1080


Cc: Ville

On Mon, 15 Nov 2021, Angus Ainslie <angus@...ea.ca> wrote:
> Lots of monitors nowdays support more than 1024x768 so if the EDID is
> unknown then add resolutions upto 1920x1080.

IIUC it's supposed to be the fallback that's pretty much guaranteed to
work. What's going to happen if we add 1920x1080 and it fails?


BR,
Jani.

>
> Signed-off-by: Angus Ainslie <angus@...ea.ca>
> ---
>  drivers/gpu/drm/drm_probe_helper.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/drm_probe_helper.c b/drivers/gpu/drm/drm_probe_helper.c
> index e7e1ee2aa352..5ad66ae9916e 100644
> --- a/drivers/gpu/drm/drm_probe_helper.c
> +++ b/drivers/gpu/drm/drm_probe_helper.c
> @@ -517,7 +517,7 @@ int drm_helper_probe_single_connector_modes(struct drm_connector *connector,
>  
>  	if (count == 0 && (connector->status == connector_status_connected ||
>  			   connector->status == connector_status_unknown))
> -		count = drm_add_modes_noedid(connector, 1024, 768);
> +		count = drm_add_modes_noedid(connector, 1920, 1080);
>  	count += drm_helper_probe_add_cmdline_mode(connector);
>  	if (count == 0)
>  		goto prune;

-- 
Jani Nikula, Intel Open Source Graphics Center

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ