Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4422431rdh; Wed, 29 Nov 2023 00:35:40 -0800 (PST) X-Google-Smtp-Source: AGHT+IEysDWggBYe4oRAJQUxchT6lx5+CH1VYGWS9H3R3g+smjqZKgdLdGP0bneWr7rbBmgRMdSY X-Received: by 2002:a17:903:32ce:b0:1d0:187d:a0b4 with SMTP id i14-20020a17090332ce00b001d0187da0b4mr599510plr.1.1701246939405; Wed, 29 Nov 2023 00:35:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701246939; cv=none; d=google.com; s=arc-20160816; b=RrHZB5+29qVlJMDfRXbNL4E/tNX+r0zLCXv2XcLVe5vCmF0cQNFcVpA6zCwGlsRXhh g/XrYEqMQcxhZ1hwY+G5wmUSlQGn71PT7ts8WFBx76RHXcYmNNi3QjwL5xrVOaROnzUe joxFSPOkEKjfihOPzwyXfeoNvYWPpo1xCqt84EmGwg2MH/aCQeGIg0HlL10/rrSdq7A0 iwSXwrn4/MXrWFETdh8uWCPw2fyKb6XNYR+U8Ab2Mmh3nadw3zvZoP75iwOy/E+UnmJZ /iYQ7n9RZuvTsyu2Enhse237T58eKy4xDPd3Gvpeo+fYu+8yJokV573oKVGSkCkOxn8x ivlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=JhewMQ2xrCDa5csIfz7ps+gIj7nj3zRG9MsMAl2HS/M=; fh=zps5f7AhwQN+l1NJD8cszVgp0VzFdHe6y6vVwrQi+rw=; b=u0xFVCBt974JV3iDv/LyAzta29sKU6rhgiRwxKmQh0I9V3uTc0hpBRwcnOiiKrKDer KPu5saGujbed4QMzhvzdW7bPLGpFgvDr48ROd2L2+AyzD/kUDPuzMR2/PqPoP5vvWRdX LmW3OZC9WLDCtzUf/skx4SbO95CKcpyYbyWwl9vn1dpIaYWfRYtlttPeAD5xTLRaJ4QB qEVt1r0rJRiVLoCRUkSdk46WHkPH4YIqy3grN3uvg4kQHDzwQ3MwPdZMbLFB4vN0vrbk dPiTywPuT7h+hZBymWUhOHtZPr2HRyp3z16VMQIp+kaaeroNNyO5/Iv9wZnD2vGEuWBg ssPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QNT3LWMC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id d5-20020a170902cec500b001cc4770b9aesi8075451plg.419.2023.11.29.00.35.39 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 00:35:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QNT3LWMC; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 2491E806300C; Wed, 29 Nov 2023 00:35:37 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229791AbjK2IfV (ORCPT + 99 others); Wed, 29 Nov 2023 03:35:21 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229488AbjK2IfU (ORCPT ); Wed, 29 Nov 2023 03:35:20 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 877B4C1 for ; Wed, 29 Nov 2023 00:35:26 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8C97AC433C8; Wed, 29 Nov 2023 08:35:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1701246926; bh=UyWVj6bbpMmgMhEJPGFtZp+drl9Kr0KS/AbbpRwNBTs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QNT3LWMCxoKcbCmQvEchFQWIOvU1Jm4SCQYnCDeefZD7g6sO1bHr9rNGbKeewfuCg TfbOV8W4DCwZFd1pZyfX0hc+YKzvVas5N/P6RPIdkWDWen5pW57yQ5D815dqZZqSsS ptq49cTrMR8QGvp6gEmUJG6uwmFMeKH7BmL33BAVaVQuFSWkZ/fXHJgq1I8B7FDqrB P/F27eJt3Ui0RSaWTw8LEySbvNwTU41Bmoj8XroISmKurYBrHrVQ3Hw3iKghpoArU7 MYJGZoUfN6sPFG8n6dnLfIIearJsr1sdefwnKeLXQHeBu8o/mTuG4HlVunXKi5wbxa nboghSzhIJ9qQ== Date: Wed, 29 Nov 2023 09:35:23 +0100 From: Maxime Ripard To: Geert Uytterhoeven Cc: Javier Martinez Canillas , Frank Binns , Donald Robson , Matt Coster , Maarten Lankhorst , Thomas Zimmermann , David Airlie , Daniel Vetter , Sarah Walker , Nishanth Menon , Vignesh Raghavendra , Tero Kristo , linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH] drm/imagination: DRM_POWERVR should depend on ARCH_K3 Message-ID: <7hee65pmdl5pajm2kgqld22xfi4iox4s2psswu2mdlfk6u6f7x@w4ecogdx6uj6> References: <87o7fdbszs.fsf@minerva.mail-host-address-is-not-set> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="753wc6rfmeqxfjjh" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Wed, 29 Nov 2023 00:35:37 -0800 (PST) --753wc6rfmeqxfjjh Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, On Tue, Nov 28, 2023 at 08:16:18PM +0100, Geert Uytterhoeven wrote: > On Tue, Nov 28, 2023 at 8:03=E2=80=AFPM Javier Martinez Canillas > wrote: > > Geert Uytterhoeven writes: > > > The Imagination Technologies PowerVR Series 6 GPU is currently only > > > supported on Texas Instruments K3 AM62x SoCs. Hence add a dependency= on > > > ARCH_K3, to prevent asking the user about this driver when configurin= g a > > > kernel without Texas Instruments K3 Multicore SoC support. > > > > > > Fixes: 4babef0708656c54 ("drm/imagination: Add skeleton PowerVR drive= r") > > > Signed-off-by: Geert Uytterhoeven > > > --- > > > > Indeed. Although I wonder what is the supposed policy since for example > > the DRM_PANFROST symbol only depends on ARM || ARM64 and others such as >=20 > I think ARM Mali is sufficiently ubiquitous on ARM/ARM64 systems to > have just an ARM/ARM64 dependency... >=20 > > DRM_ETNAVIV don't even have an SoC or architecture dependency. >=20 > Vivante GPUs are found in DTS files on at least 4 architectures. > Might be worthwhile to add some dependencies, though... >=20 > > In any case, I agree with you that restricting to only K3 makes sense. >=20 > I am looking forward to adding || SOC_AM33XX || ARCH_RENESAS || ..., > eventually ;-) I disagree. This is to handle a generic IP, just like panfrost, lima, or etnaviv, and we certaintly don't want to maintain the Kconfig list of every possible architecture and SoC family it might or might not be found. GPUs supposed to be handled are spread across 4 architectures (x86, riscv, arm, arm64, mips?), and in arm/arm64 alone we have at least 5 platforms that might use it (allwinner, ti, mediatek, renesas, rockchip) It didn't make sense for panfrost, or etnaviv. It doesn't make sense for that driver either. Especially for something that olddefconfig can handle just fine. Maxime --753wc6rfmeqxfjjh Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZWb3ygAKCRDj7w1vZxhR xSzQAP9lznhhHr2F5gTKfl3cW+5jN5/LKK8tc/SurLuznqLJ1wD/fcF+ZyviLO/O xBOmROvOixmLQ2KcKiTO1gbodbPMqQE= =7EPk -----END PGP SIGNATURE----- --753wc6rfmeqxfjjh--