[PATCH] Allow non-desktop displays when not in strict mode

Subsystems: drm drivers, drm drivers and misc gpu patches, the rest

STALE3070d

2 messages, 2 authors, 2018-03-20 · open the first message on its own page

[PATCH] Allow non-desktop displays when not in strict mode

From: Charles Lohr <hidden>
Date: 2018-03-19 06:49:52

Considering the lukewarm reception of my last past request and Keith's recommendation, I've created and tested a new patch, to bring the intended functionality back, only prohibiting non-desktop devices if a regular desktop screen is present.

Previous email chain: https://lists.freedesktop.org/archives/dri-devel/2018-March/169558.html

I believe I've finally found a way of sending emails with word wrap turned off.

Thank you for your time and help understanding how this submission process works.

Charles



Signed-off-by: Charles Lohr <redacted>
diff --git a/drivers/gpu/drm/drm_fb_helper.c b/drivers/gpu/drm/drm_fb_helper.c
index 035784ddd..ed08153ee 100644
--- a/drivers/gpu/drm/drm_fb_helper.c
+++ b/drivers/gpu/drm/drm_fb_helper.c
@@ -2109,7 +2109,7 @@ static bool drm_connector_enabled(struct drm_connector *connector, bool strict)
  {
      bool enable;

-    if (connector->display_info.non_desktop)
+    if (connector->display_info.non_desktop && strict)
          return false;

      if (strict)

Re: [PATCH] Allow non-desktop displays when not in strict mode

From: "Keith Packard" <keithp@keithp.com>
Date: 2018-03-20 15:07:36

Charles Lohr [off-list ref] writes:
Considering the lukewarm reception of my last past request and Keith's
recommendation, I've created and tested a new patch, to bring the
intended functionality back, only prohibiting non-desktop devices if a
regular desktop screen is present.

Signed-off-by: Charles Lohr <redacted>
This seems like a reasonable idea to me.

Reviewed-by: Keith Packard <keithp@keithp.com>

-- 
-keith
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help