Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp762911rwb; Wed, 26 Jul 2023 02:24:33 -0700 (PDT) X-Google-Smtp-Source: APBJJlFL3dav45wbMetpM+7EHw89fLFpQnRV6gt1o9R5GQJoFeCkx/ayXHgV1mVlDc0iEavEfKtq X-Received: by 2002:a17:906:74d4:b0:992:a31f:f584 with SMTP id z20-20020a17090674d400b00992a31ff584mr1233481ejl.31.1690363473058; Wed, 26 Jul 2023 02:24:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690363473; cv=none; d=google.com; s=arc-20160816; b=RaJ9Y3OXoJNq2cpCKFeJ60ittA3uLxNBLusR6XET/gXAQmIDYXBWjRDtRSUqsLQcFJ ZKQ1nCRY/jiY9VTQPAeP25CZgzEF6mKxt0tJlCip31hONCUXZHBYWjMWobU/yNs79izZ KBfxinORTdDBiPmK5dnFSrpoxgCS/kdhInPG7QTRlo9MIPM1S7OfSqEfIvhl5aSN7f6R DSE5Q3bP3uI5FgXw6uUptDWFjMi2hXY63uDfIZ67wsCXVJWLhsheCXYhaOGgbTPXhv6b LTaXfahVYQbdTm8rwgMe9+AQ+wdb+FJPFa/sqQ+ECuFa/EWAuFitz/NOlQrDoodJXQCh X3qQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=fAaxUKQ38GDgR2OmXqLR47mRWIe2n/NF7SoPW0emVCM=; fh=xG7SxR7BKddp7yHoBQkQwV+2BJ0v58ody6gZ3JXmwmQ=; b=rflvtkNTNuiSzyn/TJaPmHGCoW/mXYwmv2b3p+tVHRcUDxPF7RnEBcLykPmwnvnShv JQcBrGdkhmy0ER/ORZNwf/wUSlAEu6x3VwozQ1Rw6IizkQVDIEPuRrq4JLxm3J4SGuR3 xgBfsTBei2O6f2kB/OFTpbMZ9tZqIiOqzAzd8QXq8lOxN/w6yuP6b/3IIFEKIQGm9ZkK GoX4N2kt7ElXgfrETtm91Yv5jX0/giqk/KSMCDbdQJabC5cU95+KAMYigNzEKOMjNllM wmFhd4qSKp+wSlWABYJ7IAHEm6pyMCHhwsAuuYkoFjhEAMpM/ssrMMY33ZDds5oL6Nwx Rx/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YTpkfUSN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b26-20020aa7c91a000000b005221dcbc362si6015550edt.321.2023.07.26.02.24.08; Wed, 26 Jul 2023 02:24:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=YTpkfUSN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232793AbjGZIsc (ORCPT + 99 others); Wed, 26 Jul 2023 04:48:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233394AbjGZIrP (ORCPT ); Wed, 26 Jul 2023 04:47:15 -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 ESMTPS id 90A224EDA for ; Wed, 26 Jul 2023 01:39:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690360749; 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: in-reply-to:in-reply-to:references:references; bh=fAaxUKQ38GDgR2OmXqLR47mRWIe2n/NF7SoPW0emVCM=; b=YTpkfUSNMwNue0LhzuiKyz6E8ij2Jdz9nQJxx4ClDB65qsqt+3sKLNCC0onSt25o0podOM rRf9o0QaiHKT8LD9x0TZz5PWI+52P+NgX+k760XpSp8amjDyzc9Us6fYC9WFkT74kndv3a oCrvi44sdKYvfGePbwBuBEB5PlbtOks= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-93-oQRUPdrmMuW2AoByFLhnig-1; Wed, 26 Jul 2023 04:39:08 -0400 X-MC-Unique: oQRUPdrmMuW2AoByFLhnig-1 Received: by mail-wm1-f70.google.com with SMTP id 5b1f17b1804b1-3f5df65fa35so34302825e9.3 for ; Wed, 26 Jul 2023 01:39:08 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690360747; x=1690965547; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=fAaxUKQ38GDgR2OmXqLR47mRWIe2n/NF7SoPW0emVCM=; b=Ke0dP5Cj27QvFj4+/usGGpwopuydnAPGhhalV8qr+SijSHWzTkx1clkoBMeX2FTb78 L7lY2Zm8H9hfCU8ednV8F+C8RK9Ti0EMhzpOjZ3IKdc2vOi6/YLWQK57Ma0Vg7RFWCm6 el0Yuv9wdXuYk98xyhA5ayjlFcRK9WPSFrSHoInudOtAokvpdXPDvxlUWZ3dlsEmhAfU rE4JTyoBYKxb1q+AP+3IUFmh4PzbRvMOERhBCHJ24FZeNQLVgbxVYV5pl/Gmj2KapCsA xThA4gIP/xYHnRVG2iRYCAHlC1Z7Q+mmpvDM9QN1yBJl+213O4NMA3JOFCSDqJhsCVXm X9Tg== X-Gm-Message-State: ABy/qLYPC2krctyOZSnWbdrGhaFbJNrHZ4A7Q1ghpc6hFA/xhm6QEQIZ noFYvUSqwg83vKcg90T2Q1iMZDAufaTlJo0kfpfs9oASvsDJx2jvpVnSRi4ubWzhRqhIcFF5gg8 M8SFGpy/v3YkkmQmhbCIRm9lk X-Received: by 2002:a7b:c4d9:0:b0:3fd:ee50:d6a4 with SMTP id g25-20020a7bc4d9000000b003fdee50d6a4mr760517wmk.17.1690360747438; Wed, 26 Jul 2023 01:39:07 -0700 (PDT) X-Received: by 2002:a7b:c4d9:0:b0:3fd:ee50:d6a4 with SMTP id g25-20020a7bc4d9000000b003fdee50d6a4mr760504wmk.17.1690360747093; Wed, 26 Jul 2023 01:39:07 -0700 (PDT) Received: from localhost (205.pool92-176-231.dynamic.orange.es. [92.176.231.205]) by smtp.gmail.com with ESMTPSA id l25-20020a7bc459000000b003fbaade072dsm1343652wmi.23.2023.07.26.01.39.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 01:39:06 -0700 (PDT) From: Javier Martinez Canillas To: Sam Ravnborg Cc: Thomas Zimmermann , Geert Uytterhoeven , dri-devel@lists.freedesktop.org, Helge Deller , linux-fbdev@vger.kernel.org, Arnd Bergmann , linux-kernel@vger.kernel.org Subject: Re: [PATCH] video: logo: LOGO should depend on FB_CORE i.s.o. FB In-Reply-To: <20230726083557.GA921641@ravnborg.org> References: <5ab3d1fe7b67ab10e4bc1bdbc0fa7731f7960965.1690300189.git.geert+renesas@glider.be> <87a5vkj7qe.fsf@minerva.mail-host-address-is-not-set> <877cqoj5q5.fsf@minerva.mail-host-address-is-not-set> <874jlrkbtf.fsf@minerva.mail-host-address-is-not-set> <20230726083557.GA921641@ravnborg.org> Date: Wed, 26 Jul 2023 10:39:06 +0200 Message-ID: <87y1j3hxsl.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE autolearn=ham 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 Sam Ravnborg writes: > On Tue, Jul 25, 2023 at 09:53:16PM +0200, Javier Martinez Canillas wrote: >> Thomas Zimmermann writes: >> >> > Hi >> > >> >> [...] >> >> >> >> >> Yes. I meant to move drivers/video/logo/ to drivers/fbdev/core/logo and to >> >> source its Kconfig from drivers/fbdev/core/Kconfig, since it now depends >> >> on FB_CORE. >> > >> > No, please rather leave it where it is. There's no code dependencies to >> > the fbdev core; it merely depends on the Kconfig token. >> > >> >> Sure, fine by me. But I disagree that there's merely a Kconfig dependency. >> The include/linux/linux_logo.h header declares both fb_find_logo() and >> fb_append_extra_logo(). >> >> The fb_find_logo() function is defined in drivers/video/logo.c while the >> fb_append_extra_logo() is in drivers/video/fbdev/core/fbmem.c, even though >> only arch/powerpc/platforms/cell/spu_base.c uses fb_append_extra_logo(). >> >> So there's a relationship already between logo and fbdev/core, that's why >> I wondered if would make sense to also move drivers/video/logo.c to have >> both functions in there. > Or as I also suggested on irc - to pull out all the logo stuff from > fbmem and put it in video/logo/ > With a bit of refactoring to make it obvious this is logo stuff and > maybe avoid some of the ifdeffery in the code of the users. > Agreed. That option may be better. > Sam > -- Best regards, Javier Martinez Canillas Core Platforms Red Hat