Received: by 2002:a89:2c3:0:b0:1ed:23cc:44d1 with SMTP id d3csp406389lqs; Tue, 5 Mar 2024 05:48:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWIZaOBl5vcbjn7sRk/5pbU71QWMHjZGKdEstkAnr4qW4QcFMTWrwDuwHhviktbJyxmKxy29/ZCcmlMcGzPp70vnmbegPOQSU8xacC2IQ== X-Google-Smtp-Source: AGHT+IFFupG9ZnbzyddvGaasGelIpJJzR31fkUyvJZfGGx2mUPsV9lENhlw/RmYOpy4o/lyTUBcR X-Received: by 2002:a05:6a00:2da8:b0:6e5:d88:a73e with SMTP id fb40-20020a056a002da800b006e50d88a73emr14957865pfb.9.1709646505386; Tue, 05 Mar 2024 05:48:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1709646505; cv=pass; d=google.com; s=arc-20160816; b=LF6Z/JOJNTKCwshPG7EqvW1GkCq8Qd+tiqNtUTkOWJNREoPrunQVd20IxcjnAM0mhA pVL8oR3ACMJ7ztUYfQ8+w91zh0cQ9ERiLW+RJm/ciLoPnB21scQVaPI968KbwvLny61a YFmZDTzEm0OEtEfh9lOen3XWEKQFUGgXVTev8TBVXEOZwQqNCOh3mNmC4xkUaO55EvIV GQu5d8rE7qtZQUESWd/9IyvSiAPNiImDD97ARdPqO592R+klFFiyazNVfUdLmQ0G+UlQ pJoIKub3enyWJWvMerQyGUe7FPXcF18/6GLD4z40MO9OXoqWPF0gEkFvIUAOTQi5wF4z HvcQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=NdMAZiRIAHsJUc1Mjq85NsXecYABbu9svdLTciq/OhY=; fh=NiVaUn9ev07y1m25rzQoj9Npcd+fFxtC69zYQ7nEJGU=; b=ZK0NBrQPvk+4MiyQ1U0bqJ/qpypV0cTQqOsgc1EENWmzk6R6cRfuEBWTGDbDn+Id5R TXRF+CstjF7+8Byte7P+5vlcvCHcorKtypWSxEj5OONrIne7WFfXFMVp1BDiUT83G0F9 JLb2fJ1GFnySNsggolrE3AhVD0uDb8nzcdgn3N1rWFiFxn61lWWyr5rQ38jEBNYwKESU 90k5kio8ugmJCLOfpWXaKtpfaSrQE2f7ZN6gYEdI7RTwONdUvVju2tPvgQd8MdqDugkA GXGrOgDJ4muUJVe7EKgyv8TudltuTpIyahsp9LmHZZ4+UAJ9UE+0w3x/Me+xf1wwS7z8 DDFQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UvxHncYk; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-92465-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id jc28-20020a056a006c9c00b006e6121d800asi4363246pfb.249.2024.03.05.05.48.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Mar 2024 05:48:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-92465-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=UvxHncYk; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-92465-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-92465-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DD7DC283002 for ; Tue, 5 Mar 2024 13:47:42 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2923F85C7D; Tue, 5 Mar 2024 13:47:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="UvxHncYk" Received: from mail-pg1-f171.google.com (mail-pg1-f171.google.com [209.85.215.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B42958593E; Tue, 5 Mar 2024 13:47:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.171 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709646456; cv=none; b=p1qf/Wgd12Il4iPUkhtWJiwE24/bzw0DxVLe+MR81l8lDBqlcfNnqyo1Rj+w57Aie0O2FISq/RayNiDHkawiBX7awKqwlf4g44Hg6SxanNPp3t63uOGanGsJk3/K6wCO0c5yYv3EGA655MOvdBYqnCinIgCOV/FsLJTU1kNLu/w= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1709646456; c=relaxed/simple; bh=S5ZNv7E8RgnA9nV9q0H3S6osZ6ssuaeHV9OzVm1dFFY=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=cnqVEiRM9r+j5nTXRkRhxadh0SbOOGJjNjL2SKkvsuRd/eybMkv+TBgGUpDLsTrLZ2G54nZmOwX1vFGAUxTilSFwhyP8guJQqdBy4Y8elqhsfB/eqoP/jjH/+iVwU5OabQWU0HFdhRUBxfUi7Gbp4kiCpV1joPBYYCX259PLgSs= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=UvxHncYk; arc=none smtp.client-ip=209.85.215.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pg1-f171.google.com with SMTP id 41be03b00d2f7-5d3907ff128so5532918a12.3; Tue, 05 Mar 2024 05:47:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709646454; x=1710251254; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NdMAZiRIAHsJUc1Mjq85NsXecYABbu9svdLTciq/OhY=; b=UvxHncYk8g9gYclCWu6+WJ0YfIESBUGAfXLOPTzGrMzb96ZJTh8WjIcoNso+4o716O vPXOMHLbyPAik5cncIgLfkBnl4Urlbclqh7rpqzd8Aa8FB+PEJ7xjCBg1H8BNXBESyrT czratn4oUa6bTZd96tUiorray17uM8YGjlQT0dIG/d6Hb9Ax4Ashb7FBCQ6h/PUmm5Xm Y00Jv+br8ogtoD9ux1BvP+Ilc8+9sJx+KRme04ViZmh4gCYUxRvD6L3ovmi2NZB5Zky3 b0Ffb0uXTFoC8phcO76H4As80+ucLQVjuDgT1d3MdtDAJPKjycONXbMY9FwXIpR0wd65 Kf0w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709646454; x=1710251254; 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=NdMAZiRIAHsJUc1Mjq85NsXecYABbu9svdLTciq/OhY=; b=mo26yhWPQvDjuyAzEIL8d80Yn5yaFXDz2hMf8jvHj6GympEhgn1euTX+84kjm+PdNG dArtRqksPExfCCaxRC5z3q+vfPX067vZLPLciNtsZ0D2uyBUrod6SzXwxanFJKKU1oSO cxADsT2J2FrWP3LpUOUtDDaV3KZuZWtDm0JGvCVt9s3zozOZlf1kn0ooqRMIJDcZmnOA 1nGGp9fOi2aKJXr0y4GXgkxFd2JVGgfn64AHXRL1k2dAP9aUJ1bIJSpxdkS5naDE/elZ aJhH0Q96UcbJ4jkykUTdoX8GcIXVn4TenU9Aclv26e45LHaK2lPmEVWOGFlrBVIVNR2F VB1g== X-Forwarded-Encrypted: i=1; AJvYcCUvNIA9E19VKV+5BTJsTIT0EvQxBHl7XStAT4GlIKE/M/lTLgfa1bMNov0JeYZgMXqIBhTkR9KjDt7CS3Tz+RxgNF20udm9pD208wPe14i8ZG8oyfhLs5BK4/dwEVEb8Toig9c/pNXZc62g2+J0ghw= X-Gm-Message-State: AOJu0Yzs3hC2Vbd42uhwDgS5Et3q6y5JWDXsvOvoIb7BIHH5iJpKuVNh V1pOnYzfrwZQa0kyMHTtq1jjSJax8tkSdcVXmPFtwICeUxfF/Go5wJJ0ewzRMKfOrwQqu16FNZf h/YiT4R9kIBzGiR/I6W0zMlZSn7Y= X-Received: by 2002:a17:90a:f191:b0:29b:2a8:9a89 with SMTP id bv17-20020a17090af19100b0029b02a89a89mr10234445pjb.21.1709646453778; Tue, 05 Mar 2024 05:47:33 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <6be2558b8462fc08095c24c9257563ab5f3ae013.1708001398.git.geert+renesas@glider.be> <76065296ad514898e2b8c29cd921c104b3692ae0.camel@imgtec.com> In-Reply-To: <76065296ad514898e2b8c29cd921c104b3692ae0.camel@imgtec.com> From: Adam Ford Date: Tue, 5 Mar 2024 07:47:22 -0600 Message-ID: Subject: Re: [PATCH v2] drm/imagination: DRM_POWERVR should depend on ARCH_K3 To: Frank Binns Cc: "geert@linux-m68k.org" , "marek.vasut@mailbox.org" , "tzimmermann@suse.de" , Matt Coster , "javierm@redhat.com" , "dri-devel@lists.freedesktop.org" , "linux-renesas-soc@vger.kernel.org" , "airlied@gmail.com" , "linux-kernel@vger.kernel.org" , "nm@ti.com" , "maarten.lankhorst@linux.intel.com" , Sarah Walker , "daniel@ffwll.ch" , "mripard@kernel.org" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Mar 5, 2024 at 5:58=E2=80=AFAM Frank Binns = wrote: > > Hi Adam, > > Sorry for not responding sooner. I've recently just returned from paterni= ty > leave, so just catching up on everything. Congratulations! > > On Thu, 2024-02-15 at 11:22 -0600, Adam Ford wrote: > > On Thu, Feb 15, 2024 at 11:10=E2=80=AFAM Adam Ford = wrote: > > > On Thu, Feb 15, 2024 at 10:54=E2=80=AFAM Geert Uytterhoeven > > > wrote: > > > > Hi Maxime, > > > > > > > > On Thu, Feb 15, 2024 at 5:18=E2=80=AFPM Maxime Ripard wrote: > > > > > On Thu, Feb 15, 2024 at 01:50:09PM +0100, Geert Uytterhoeven wrot= e: > > > > > > Using the Imagination Technologies PowerVR Series 6 GPU require= s a > > > > > > proprietary firmware image, which is currently only available f= or Texas > > > > > > Instruments K3 AM62x SoCs. Hence add a dependency on ARCH_K3, = to > > > > > > prevent asking the user about this driver when configuring a ke= rnel > > > > > > without Texas Instruments K3 Multicore SoC support. > > > > > > > > > > This wasn't making sense the first time you sent it, and now that= commit > > > > > log is just plain wrong. We have firmwares for the G6110, GX6250, > > > > > GX6650, BXE-4-32, and BXS-4-64 models, which can be found on (at = least) > > > > > Renesas, Mediatek, Rockchip, TI and StarFive, so across three > > > > > > > > I am so happy to be proven wrong! > > > > Yeah, GX6650 is found on e.g. R-Car H3, and GX6250 on e.g. R-Car M3= -W. > > > > > > > > > architectures and 5 platforms. In two months. > > > > > > > > That sounds like great progress, thanks a lot! > > > > > > > Geert, > > > > > > > Where can I find these firmwares? Linux-firmware[1] seems to lack a= ll > > > > but the original K3 AM62x one. > > > > > > I think PowerVR has a repo [1], but the last time I checked it, the > > > BVNC for the firmware didn't match what was necessary for the GX6250 > > > on the RZ/G2M. I can't remember what the corresponding R-Car3 model > > > is. I haven't tried recently because I was told more documentation > > > for firmware porting would be delayed until everything was pushed int= o > > > the kernel and Mesa. Maybe there is a better repo and/or newer > > > firmware somewhere else. > > > > > I should have doubled checked the repo contents before I sent my last > > e-mail , but it appears the firmware [2] for the RZ/G2M, might be > > present now. I don't know if there are driver updates necessary. I > > checked my e-mails, but I didn't see any notification, or I would have > > tried it earlier. Either way, thank you Frank for adding it. I'll > > try to test when I have some time. > > > > You may have noticed from one of Matt's emails that we now have a set of = repos > (linux, linux-firmware and Mesa) in our own area on freedesktop.org GitLa= b: > https://gitlab.freedesktop.org/imagination/ > > We'll be using this as a staging area for work that isn't ready to be ups= treamed > yet (including firmware binaries). > I tried to play with these a little, but it seems like there is still a fair amount of work to be done on the 6XT series. I tried to add the device tree support for several Renesas boards, but the series was NAK'd due to an inability to test it. > > > > adam > > > > > > [1] https://gitlab.freedesktop.org/frankbinns/linux-firmware/-/tree/p= owervr/powervr?ref_type=3Dheads > > > > [2] - https://gitlab.freedesktop.org/frankbinns/linux-firmware/-/commit= /fecb3caebf29f37221fe0a20236e5e1415d39d0b > > > > This is now the place to get the firmware for devices that aren't yet sup= ported > upstream: > https://gitlab.freedesktop.org/imagination/linux-firmware/-/commits/power= vr/?ref_type=3DHEADS > I've been following several of these repos and checking for software updates in both the Firmware, driver and userspace layers. > With the firmware for the Renesas variant of GX6250 being found in this c= ommit: > https://gitlab.freedesktop.org/imagination/linux-firmware/-/commit/fecb3c= aebf29f37221fe0a20236e5e1415d39d0b > If your group thinks they have stuff they want tested, I am willing to test them on the two platforms I have if I am CC'd on anything. Thanks for the work your group has done so far. It'll be nice to see the w= ork. adam > Thanks > Frank > > > > > > > > Thanks again! > > > > > > > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-= firmware.git/ > > > > > > > > Gr{oetje,eeting}s, > > > > > > > > Geert > > > > > > > > -- > > > > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@li= nux-m68k.org > > > > > > > > In personal conversations with technical people, I call myself a ha= cker. But > > > > when I'm talking to journalists I just say "programmer" or somethin= g like that. > > > > -- Linus Torvalds