Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4430493rdh; Wed, 29 Nov 2023 00:58:45 -0800 (PST) X-Google-Smtp-Source: AGHT+IFyFKRuXnRiLuEFrVdJAWgvy759awgCHbKJDQ7+F5fmbnyEMaJ8n6TKgbym+xWEX+VIT4o5 X-Received: by 2002:a17:902:848a:b0:1cc:6cc3:d9ba with SMTP id c10-20020a170902848a00b001cc6cc3d9bamr15225082plo.4.1701248324807; Wed, 29 Nov 2023 00:58:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701248324; cv=none; d=google.com; s=arc-20160816; b=J3sIa3SptIiFZaw2HR8o9qhkGZUHtGPyzugBKHnHjqNPQqM+ebagE1dz2AgS0pTgvk V0gqb6xOtBKCsGllrMyKn9ha9HWi/oJptOn6Oxp/uLMnrWiaspMn1CVyjJDzIS9nvJJa QBT4u5VerRByulNglAImwCnRQsbUR7R88DA/BV/hW2wlymAr7abWj6jr9sEWOGWzRcEf x6R3g591YAxBjdnMYS5wP7x+BTwDE63srIoyn+bYJ5gLaaEXQLvGs4c3VHNnOWfP5WQ1 UI+e+FEqsPGrOM7bWj6r6A/bO3nOgK9wep+ppT19SqP4jj15iCgs4rke243c6bxvfhnJ MItA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=J2xTv7e428Wz8WEyYm90tzYg6tzvUZpoJUWIvCaKxGk=; fh=2Z9WD+TrJEFqQPBMJAtkIVBfXx4Poi89zF0CRNJZy5o=; b=DFBiSeNuALfnsYhLancUMCaM2khBXKrIqGOJR0aQ0TWNv4a2CBuekOlCY3ibGIdjcO YAH7G7xH5libWXvOmcjsGUA66PAqeKomv5aIFquXcAqvPSTGDBQGIFdxQArcRCLw8asj e3cQ7/Aas2JzENQ40p+AxZ1VW9DQktI9FlQV5PTaiNTA8rxb4pprLKyyernSXc7ZpO4a oEQMN2PRKrewSNYwXHjSW3L8GnneTRWpqFT0xLB4ZhLCFlY2IfBq2/ttATSwCrpUTutT de07x/2IYquoW3J8inVpqIauFGxFI+lgHlmEROg0otT6P7KgMVC7tlpzxJltcBuBvZvL PLGA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id b15-20020a170902d50f00b001cfd4eb4deasi6167815plg.357.2023.11.29.00.58.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Nov 2023 00:58:44 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 56E64805A794; Wed, 29 Nov 2023 00:58:42 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232178AbjK2I6X convert rfc822-to-8bit (ORCPT + 99 others); Wed, 29 Nov 2023 03:58:23 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232049AbjK2I6T (ORCPT ); Wed, 29 Nov 2023 03:58:19 -0500 Received: from mail-yw1-f177.google.com (mail-yw1-f177.google.com [209.85.128.177]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 41A78F5 for ; Wed, 29 Nov 2023 00:58:26 -0800 (PST) Received: by mail-yw1-f177.google.com with SMTP id 00721157ae682-5cd3c4457a0so63126057b3.3 for ; Wed, 29 Nov 2023 00:58:26 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701248305; x=1701853105; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=7R/KGp93btDjGWFKKu/IcOnp8F5jcJhWKyHePUJieV4=; b=j7WfLoQHySsyRT6T1u1l++9JlQYmq385RWoHpp94O5IvFR5wFzPEQDbyc4ewaW67gC tQhVNDiuaFv0sUvUrPdDRqoNPGY4aETRicLvzbG79aT4S1VrkyjTclhSVadRzG+yDrgb jN5+E+Ruo+nLXbFh3vUs1fJwJILQ7SGIzai+1ldHNJWWVQddLgLeCtWYybUF+1BVBod3 8fG34StapXI2h/OxLdk7gdX59WFd1vPyO7Z5vtlX4i/a5mtICcAXAti2xECR+Bsuw6w/ ilpurCw0D+bZRCG5rC5HfQgwoVpBRpVh6SYUYyUGY1hrQ2RnnnjKcO5zXCE+qg1oLI4z iYPw== X-Gm-Message-State: AOJu0Yxo2tE12ZgFdpHY5qMxKzCA6zLZTaEKhOaAcW23AXXcLXiyOSE0 QaPpz+Xbt+RISuNAk/RePsuuVmwieOxd1A== X-Received: by 2002:a05:690c:3007:b0:5d0:3a64:4a2e with SMTP id ey7-20020a05690c300700b005d03a644a2emr8132416ywb.16.1701248305237; Wed, 29 Nov 2023 00:58:25 -0800 (PST) Received: from mail-yw1-f179.google.com (mail-yw1-f179.google.com. [209.85.128.179]) by smtp.gmail.com with ESMTPSA id s64-20020a817743000000b005956b451fb8sm4372794ywc.100.2023.11.29.00.58.24 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Nov 2023 00:58:24 -0800 (PST) Received: by mail-yw1-f179.google.com with SMTP id 00721157ae682-5cc589c0b90so65496987b3.2 for ; Wed, 29 Nov 2023 00:58:24 -0800 (PST) X-Received: by 2002:a81:9a97:0:b0:5d2:b29a:5e08 with SMTP id r145-20020a819a97000000b005d2b29a5e08mr135066ywg.17.1701248304126; Wed, 29 Nov 2023 00:58:24 -0800 (PST) MIME-Version: 1.0 References: <87o7fdbszs.fsf@minerva.mail-host-address-is-not-set> <7hee65pmdl5pajm2kgqld22xfi4iox4s2psswu2mdlfk6u6f7x@w4ecogdx6uj6> In-Reply-To: <7hee65pmdl5pajm2kgqld22xfi4iox4s2psswu2mdlfk6u6f7x@w4ecogdx6uj6> From: Geert Uytterhoeven Date: Wed, 29 Nov 2023 09:58:12 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] drm/imagination: DRM_POWERVR should depend on ARCH_K3 To: Maxime Ripard 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 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, 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 morse.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 (morse.vger.email [0.0.0.0]); Wed, 29 Nov 2023 00:58:42 -0800 (PST) Hi Maxime, On Wed, Nov 29, 2023 at 9:35 AM Maxime Ripard wrote: > On Tue, Nov 28, 2023 at 08:16:18PM +0100, Geert Uytterhoeven wrote: > > On Tue, Nov 28, 2023 at 8:03 PM 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 configuring a > > > > kernel without Texas Instruments K3 Multicore SoC support. > > > > > > > > Fixes: 4babef0708656c54 ("drm/imagination: Add skeleton PowerVR driver") > > > > Signed-off-by: Geert Uytterhoeven > > > In any case, I agree with you that restricting to only K3 makes sense. > > > > 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. While PowerVR is a generic IP, I believe it needs a non-generic firmware, which is currently only available for AM62x SoCs. Once it becomes truly generic, I'm happy to drop all platform dependencies. Until then, there is no point in asking everyone who configures an arm64 kernel about this driver, unless they also enabled K3 support. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds