From patchwork Mon Mar 19 06:42:16 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Charles Lohr X-Patchwork-Id: 10291693 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id DD070602C2 for ; Mon, 19 Mar 2018 06:49:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CEE0F20223 for ; Mon, 19 Mar 2018 06:49:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C2E7729147; Mon, 19 Mar 2018 06:49:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2D1AD20223 for ; Mon, 19 Mar 2018 06:49:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932239AbeCSGtw (ORCPT ); Mon, 19 Mar 2018 02:49:52 -0400 Received: from mail2.allensw.com ([52.3.212.211]:36195 "EHLO mail2.allensw.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932202AbeCSGtw (ORCPT ); Mon, 19 Mar 2018 02:49:52 -0400 X-Greylist: delayed 455 seconds by postgrey-1.27 at vger.kernel.org; Mon, 19 Mar 2018 02:49:52 EDT Received: from [192.168.1.204] (static-71-127-148-38.bltmmd.fios.verizon.net [71.127.148.38]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail2.allensw.com (Postfix) with ESMTPS id 351A862655; Mon, 19 Mar 2018 06:41:02 +0000 (UTC) To: Keith Packard Cc: David Airlie , Linux Fbdev development list , dri-devel , Charles Lohr From: Charles Lohr Subject: [PATCH] Allow non-desktop displays when not in strict mode Message-ID: <5a4c3dab-69ed-6804-ac62-6163754c5786@cnlohr.com> Date: Mon, 19 Mar 2018 02:42:16 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0 MIME-Version: 1.0 Content-Language: en-US Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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 Reviewed-by: Keith Packard --- To unsubscribe from this list: send the line "unsubscribe linux-fbdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html 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)