Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp20732pxb; Tue, 12 Apr 2022 15:38:06 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxi394u53yB2o4qMVc/niRBpLpnVY+QoKICaASF6EASsFWdJxpRF6VQZo6zprHJUS0ZfD+h X-Received: by 2002:a17:903:240c:b0:153:c8df:7207 with SMTP id e12-20020a170903240c00b00153c8df7207mr39370875plo.44.1649803086164; Tue, 12 Apr 2022 15:38:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649803086; cv=none; d=google.com; s=arc-20160816; b=Z69GgC8Mhvhs+EwFvybLOq8z84Fhx5n1lMNLgjc0mi5EOZipQsuDc+TcS2UFWVZzPZ Jy8DTzOrbJj1/y9WjMQVqrtWcA6P14/iCMgxEMFzNY1t75yTbs5/XkPpc0OkLLZzoAyc jX+kw1frIpvxyrVd6fUTj6yisQhCwrToCg8mxK671/6+ZGBEyN5fciH5Q0Y+tr7nKmxg cK+gc/vJnjvLY/k4gbkTLtpn4rmDZld44EVxfCNUN5ybZOgSELTE0T2w+QmwMiUddPZx rny3/eWp06YLD7r5zjrapG1zScstQb86+6bZTNsz3hpPiSODJVme36iiDj1TpSqC4wOV DXYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=XWETclwf6JoUIZg5dlEwqaDblFeTlFItFp0Uo6O8hgA=; b=dRbpJNud12d9cmFBUdD4HN0TyW+yg/Ig0WkP0pz3vDoIvJqxhrvCTEhqhp90s7WpGF YLkJLlYlHfMliqfbRY9rM+UUm31S1q7q/JX9Wr1ZJdHkxtr8dqeFYEdz6t8+0WiAa4o6 +Q/+laOqS6zCL5Hw13uzgAoXAKCClXbp/xOuInKteqcgWCAcEKRj3IOdafGHru4/lJuT 3v6ut/6DebaVZVD1VImJgsffMSIJdsCFRXKCNU6Y/YlPPu9osy+/cLVqndRRquFhwsn1 x+U6N9+WA0Bvzf1ICdC+CUj0ONce7YA6htcnyNzhewlcTH/Nd63zpVRP5ASSn6Kb/mFL /CwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="DbmUl8o/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id j5-20020a170902da8500b001569bf09533si13924549plx.251.2022.04.12.15.38.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 12 Apr 2022 15:38:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="DbmUl8o/"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email [IPv6:2620:137:e000::1:20]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BF331F3A5B; Tue, 12 Apr 2022 14:15:52 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1344350AbiDLJkP (ORCPT + 99 others); Tue, 12 Apr 2022 05:40:15 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50936 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1389003AbiDLJXT (ORCPT ); Tue, 12 Apr 2022 05:23:19 -0400 Received: from mail-pg1-x536.google.com (mail-pg1-x536.google.com [IPv6:2607:f8b0:4864:20::536]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 098AA5131E for ; Tue, 12 Apr 2022 01:30:07 -0700 (PDT) Received: by mail-pg1-x536.google.com with SMTP id t4so16592987pgc.1 for ; Tue, 12 Apr 2022 01:30:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=XWETclwf6JoUIZg5dlEwqaDblFeTlFItFp0Uo6O8hgA=; b=DbmUl8o/ELO24qYZcr1EjyCqfOmLogZnBKgh6+F+dnfnI6Ehteres7i2KeD2aNPpyy qXoJeE+weKzNTV+nfi/axUfIpPQnEIf5Vv6nCu6gnFA+9xKKN2mYrE2Vu90DkFRiwYNn t2xrQhuzZVrOssviGmVZ6OBXy4+qi/r2s1PF39cb+zJZuW/Zi70RyXox6I1CCm9k6wbY AHX2/yFxwVGdlv6csXfQJFb4vbtNzk9DdFVTqOrvEPvi9lIhlwqP7Da4TcBbK6sXTIri iNsZLka25gxyDS/LYMebCsARRfosbo1cXn9QNP3GSi7ptCz6P/Wf4C9Z4zsOB3ZUiqXJ bVmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=XWETclwf6JoUIZg5dlEwqaDblFeTlFItFp0Uo6O8hgA=; b=dydTLw3vXCSMBzcvh8FG4jgAIBSZjRUUUAHkaH5Uf9KPkXi7hpai6ffMa+chG5c7B5 wbdZNpgVEp3cf1b16OpYpIfd0mFLVw68dtSzdnkTfIwp2OLD/VWahfmSOMCd8sWYhSwv Y2U7gR15VNGPYWyoHo6Kpl6t9I4+ZZptaXrPteZr8boWIbmV0cyomLlyOAgv2qM4p33H GLDdJcuLmraSoTRwfl1PCXV9R+dShPl/GF5+iNXX5+T2TB7PG/+pKw36JSPSEqy5yF1P PmgySCxY7SKWqjlTNWQ+4G3OwyHxr6KCkWHdYknVC48JbWwiDMITlIccsEJVJRw9fL1g Yjug== X-Gm-Message-State: AOAM532c+aWnSjtYpJtjj57KayGcTcqhw4/H5HKUxHN8WD91FzZMlI/W 6cZ4cP+T+qvIkfJPKE4W7T/ft765SgT6HOlue+I= X-Received: by 2002:a63:e20:0:b0:385:fe08:52f9 with SMTP id d32-20020a630e20000000b00385fe0852f9mr29891822pgl.99.1649752206929; Tue, 12 Apr 2022 01:30:06 -0700 (PDT) MIME-Version: 1.0 References: <20220409042321.3184493-1-james.hilliard1@gmail.com> In-Reply-To: From: Patrik Jakobsson Date: Tue, 12 Apr 2022 10:29:55 +0200 Message-ID: Subject: Re: [PATCH v3] drm/gma500: depend on framebuffer To: James Hilliard Cc: dri-devel , Randy Dunlap , David Airlie , Daniel Vetter , linux-kernel Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 12, 2022 at 3:48 AM James Hilliard wrote: > > On Mon, Apr 11, 2022 at 3:27 AM Patrik Jakobsson > wrote: > > > > On Sun, Apr 10, 2022 at 10:05 PM James Hilliard > > wrote: > > > > > > On Sun, Apr 10, 2022 at 1:52 PM Patrik Jakobsson > > > wrote: > > > > > > > > On Sun, Apr 10, 2022 at 9:40 PM James Hilliard > > > > wrote: > > > > > > > > > > On Sun, Apr 10, 2022 at 1:36 PM Patrik Jakobsson > > > > > wrote: > > > > > > > > > > > > On Sat, Apr 9, 2022 at 6:23 AM James Hilliard wrote: > > > > > > > > > > > > > > Select the efi framebuffer if efi is enabled. > > > > > > > > > > > > > > This appears to be needed for video output to function correctly. > > > > > > > > > > > > > > Signed-off-by: James Hilliard > > > > > > > > > > > > Hi James, > > > > > > EFI_FB is its own driver and not needed by gma500 to drive its > > > > > > hardware. What makes you think it's required? > > > > > > > > > > I wasn't getting any HDMI video output without it enabled for some reason, > > > > > I assume it is doing some sort of initialization needed by gma500 > > > > > during startup. > > > > > > > > Then it sounds like you might just be using EFI_FB and not gma500. Can > > > > you provide the kernel log with drm.debug=0x1f set on kernel > > > > command-line. > > > > > > Seems efifb loads first and then hands off to gma500 > > > > That is how it normally works but efifb shouldn't change the state of > > the currently set mode so shouldn't affect gma500. > > From the logs I can see that you have LVDS (internal panel), HDMI and > > DP (3 displays in total) connected. This sounds wrong. Your version of > > gma500 (Cedarview) doesn't support more than 2 crtcs/pipes. This might > > be a problem. > > Yeah, there's a bug there with the connector status, only DVI-D-1 is actually > connected, I have DP-2 and LVDS-1 turned off in weston. Ok, but are the connectors physically connected to anything? Regardless of what you do in Weston, the connectors shouldn't be getting modes if they aren't used. LVDS might be from VBIOS but I'm not sure where the DP modes come from. It would help if you also provide kernel logs with drm.debug=0x1f when the outputs doesn't work so I have something to compare with.