lkml.org 
[lkml]   [2021]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] drm: drm_probe_helper: add modes upto 1920x1080
Date
Lots of monitors nowdays support more than 1024x768 so if the EDID is
unknown then add resolutions upto 1920x1080.

Signed-off-by: Angus Ainslie <angus@akkea.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;
--
2.25.1
\
 
 \ /
  Last update: 2021-11-15 17:03    [W:0.033 / U:2.600 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site