All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Allow non-desktop displays when not in strict mode
@ 2018-03-19  6:42 ` Charles Lohr
  0 siblings, 0 replies; 4+ messages in thread
From: Charles Lohr @ 2018-03-19  6:42 UTC (permalink / raw)
  To: Keith Packard
  Cc: David Airlie, Linux Fbdev development list, Charles Lohr,
	dri-devel

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 <lohr85@gmail.com>

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)

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [PATCH] Allow non-desktop displays when not in strict mode
@ 2018-03-19  6:42 ` Charles Lohr
  0 siblings, 0 replies; 4+ messages in thread
From: Charles Lohr @ 2018-03-19  6:42 UTC (permalink / raw)
  To: Keith Packard
  Cc: David Airlie, Linux Fbdev development list, Charles Lohr,
	dri-devel

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 <lohr85@gmail.com>

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)
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Allow non-desktop displays when not in strict mode
  2018-03-19  6:42 ` Charles Lohr
@ 2018-03-20 15:07   ` Keith Packard
  -1 siblings, 0 replies; 4+ messages in thread
From: Keith Packard @ 2018-03-20 15:07 UTC (permalink / raw)
  To: Charles Lohr
  Cc: David Airlie, Linux Fbdev development list, Charles Lohr,
	dri-devel

[-- Attachment #1: Type: text/plain, Size: 462 bytes --]

Charles Lohr <charles@cnlohr.com> 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 <lohr85@gmail.com>

This seems like a reasonable idea to me.

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

-- 
-keith

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Allow non-desktop displays when not in strict mode
@ 2018-03-20 15:07   ` Keith Packard
  0 siblings, 0 replies; 4+ messages in thread
From: Keith Packard @ 2018-03-20 15:07 UTC (permalink / raw)
  To: Charles Lohr
  Cc: David Airlie, Linux Fbdev development list, Charles Lohr,
	dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 462 bytes --]

Charles Lohr <charles@cnlohr.com> 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 <lohr85@gmail.com>

This seems like a reasonable idea to me.

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

-- 
-keith

[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

[-- Attachment #2: Type: text/plain, Size: 160 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-03-20 15:07 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-03-19  6:42 [PATCH] Allow non-desktop displays when not in strict mode Charles Lohr
2018-03-19  6:42 ` Charles Lohr
2018-03-20 15:07 ` Keith Packard
2018-03-20 15:07   ` Keith Packard

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.