Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp861871pxb; Fri, 22 Apr 2022 12:53:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWEuLSKyEUpos+iCeHDRiqPQaRzDw776A4JP53dvraMJmK2L+5+ZhItnkWrGXczgZn5ciP X-Received: by 2002:a17:902:be18:b0:153:2444:9c1a with SMTP id r24-20020a170902be1800b0015324449c1amr6320355pls.152.1650657211387; Fri, 22 Apr 2022 12:53:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650657211; cv=none; d=google.com; s=arc-20160816; b=bxwT/4+wuPknwMOczxufXXgLHEq5ePtnzqTNfWIRmLy//2mre7iRn5MQTV5i1pFIbZ 52AnQRrp3jEdRhcTRY64XHYWUA7RMbj7V+BqxjdCcHycwguGqx9GA1yZ2x8HDdmy8/ZR rJT6iCxmQjq+Y8XXuPwy+JkCcmKua+1+1iqU2qccDzBSoH1W8jWhsmhcf2Iy0OMmJAgC yLr4NChyJtV+GLKMZs+XkP8lQsuLQNeTYeS3os72Z2mOMge1nwLFV1xWldF3eIW9+8yJ 2C0VfE3A4yiKjMtMLpbam6AmAu8G8qn17z8xdSK2F3z+U+CbOBU6c5IviaDZQW5JFNlr YYoA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=BJojMIzm435XzabOfDtYuG0zr6ejdW43VXmGBccZZNg=; b=PNCU8v0LNW2RBOwCbCPmUl2CcDGLDgicRIECq+13PFporPsfW+t4TV6wkup/qn34EA Lu8xe2jC1UZ9QwzZ1HQYKA8SmmPFJGlybL2wFjW153hnN5+8Hsx7EKqjmYHzPlZbsuDw LEMwKcafm/uWo+ikFc4xgFVf8EtUN5QihxdN4KWFyL+CkkSmaaeVYt2memYhsndV+i+M 0TJiXsBRnhjqQcL/2mhF6+VZ8hl++6f1BokIzD+UR2lkT5nZ//FLCSD43CMGE1QI1I4n ONIiysAYfEKLHWRotbQ4rq5SCwqJ1883m1GRhNG4lkA3UhGI9NuyW5jeMBKFUyow2/ZO aoBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=DzzPr3ka; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p63-20020a62d042000000b004fa3a8e0040si6180597pfg.247.2022.04.22.12.53.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Apr 2022 12:53:31 -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=@redhat.com header.s=mimecast20190719 header.b=DzzPr3ka; 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=NONE dis=NONE) header.from=redhat.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9FFBB186BE3; Fri, 22 Apr 2022 11:56:29 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231985AbiDUNZu (ORCPT + 99 others); Thu, 21 Apr 2022 09:25:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44150 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231631AbiDUNZt (ORCPT ); Thu, 21 Apr 2022 09:25:49 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D36B332EDC for ; Thu, 21 Apr 2022 06:22:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650547378; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=BJojMIzm435XzabOfDtYuG0zr6ejdW43VXmGBccZZNg=; b=DzzPr3kaGVjo5nhRpCRmPFGITEIZK4EAEgCSUVbf3QCneU1a/HcdODnILT3NbwklQTvzND DyEb6GHLpHELBPA1veABtEGUwhFZuoYh/HBNxF+mF4/pjB6MgWtcHIGAvaN/ELfP3hKWrY Lettolki99P7l4iKh49UpqNVHQCa6NA= Received: from mail-wm1-f71.google.com (mail-wm1-f71.google.com [209.85.128.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-453-HP0bPBQINzmn7yloeuPwwg-1; Thu, 21 Apr 2022 09:22:57 -0400 X-MC-Unique: HP0bPBQINzmn7yloeuPwwg-1 Received: by mail-wm1-f71.google.com with SMTP id p31-20020a05600c1d9f00b0038ed0964a90so2414459wms.4 for ; Thu, 21 Apr 2022 06:22:57 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=BJojMIzm435XzabOfDtYuG0zr6ejdW43VXmGBccZZNg=; b=ZzcZPJHaMSI2QmqIuAHNGplM1eLNQ52mJm5zHxVlMAry0Zz6HECMlTGohmD/0WF1zd SEfHIyLE0AnvfX7pVxXcmKeCS8fAcTOM4FtHcqkgOHTmcb3N/rjzgkTGeCrwI1jp/I8H EI6cRs3aMzzNkx/r6nsnZEjhQBzwh/f5MeerCVilo21lr4H+05+GJkV9Ndpwjq85iuJI H2xqrxUI5QIz02Ox4qXpGZrwczw2ydXzDXoWkocT7/THVu6qszyrG/wZXGBcbZngSuD6 dI5JvC9X1MerVp6MedzWLAUKeoTRi1HurrR4BYnvGWGNcoNCiJqtQlZmTK8sq2mIFhgu zEcA== X-Gm-Message-State: AOAM531WWkg53Sm346ioefERbGbknucHD50OB40cvFqTWSxRZQeQriDj xn0TUF6iuj5zd2oHxL5pOblxWt5iMMdKoaqZ7wtunBtcBHoFMLovL/rKWBDyIdxfBqGpRN950dJ ZfCEOzzQYJTPr4AoNLFhDTEvn X-Received: by 2002:a1c:e916:0:b0:37c:f44f:573 with SMTP id q22-20020a1ce916000000b0037cf44f0573mr8663743wmc.179.1650547376599; Thu, 21 Apr 2022 06:22:56 -0700 (PDT) X-Received: by 2002:a1c:e916:0:b0:37c:f44f:573 with SMTP id q22-20020a1ce916000000b0037cf44f0573mr8663714wmc.179.1650547376244; Thu, 21 Apr 2022 06:22:56 -0700 (PDT) Received: from [192.168.1.129] ([92.176.231.205]) by smtp.gmail.com with ESMTPSA id f10-20020a5d64ca000000b0020aa97b0383sm2267705wri.113.2022.04.21.06.22.55 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Apr 2022 06:22:55 -0700 (PDT) Message-ID: <10c81e57-2f09-f4f8-dc2f-6bd05ef819d7@redhat.com> Date: Thu, 21 Apr 2022 15:22:55 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: [PATCH v3] drm/gma500: depend on framebuffer Content-Language: en-US To: Patrik Jakobsson Cc: Thomas Zimmermann , David Airlie , James Hilliard , Randy Dunlap , linux-kernel , dri-devel References: <20220409042321.3184493-1-james.hilliard1@gmail.com> From: Javier Martinez Canillas In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.7 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,RDNS_NONE,SPF_HELO_NONE autolearn=unavailable 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 4/21/22 14:54, Patrik Jakobsson wrote: > On Thu, Apr 21, 2022 at 2:47 PM Javier Martinez Canillas > wrote: [snip] >>>>> diff --git a/drivers/gpu/drm/gma500/Kconfig b/drivers/gpu/drm/gma500/Kconfig >>>>> index 0cff20265f97..a422fa84d53b 100644 >>>>> --- a/drivers/gpu/drm/gma500/Kconfig >>>>> +++ b/drivers/gpu/drm/gma500/Kconfig >>>>> @@ -2,11 +2,13 @@ >>>>> config DRM_GMA500 >>>>> tristate "Intel GMA500/600/3600/3650 KMS Framebuffer" >>>>> depends on DRM && PCI && X86 && MMU >>>>> + depends on FB >>>> >>>> Why do we need FB here? Framebuffer support should be hidden by DRM's >>>> fbdev helpers. >>> >>> It is not needed but gives him video output since it enables the drm >>> fbdev emulation. >>> >> >> I'm not sure to understand this. Shouldn't depend on DRM_FBDEV_EMULATION then? > > No, it shouldn't depend on any FBDEV stuff since it's not actually > required. It just happens to help in this case since weston + fbdev > backend works but not weston with drm backend (or whatever config > James have set). I see. Then the correct approach for them would be to just enable CONFIG_FB and DRM_FBDEV_EMULATION in their kernel config, rather than making this to depend on anything FB related as you said. > >> >>> I looked some more at the logs and it seems weston doesn't work on his >>> system without the fbdev backend. So the question is why weston isn't >>> working without fbdev? Perhaps this is just a Weston configuration >>> issue? >>> >> >> But is weston using the fbdev emulated by DRM or the one registered by >> efifb? I thought that the latter from what was mentioned in this thread. > > It's using drm fbdev emulation with gma500 so EFIFB has nothing to do > with this. I believe it was just simply incorrectly reported. If I'm > correct then "depends on FB" is what makes video output work for > James. > Got it. Thanks for the clarification. -- Best regards, Javier Martinez Canillas Linux Engineering Red Hat