Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp2008324rdf; Mon, 6 Nov 2023 01:43:46 -0800 (PST) X-Google-Smtp-Source: AGHT+IEUdSyUuf+wjGiE8IAEs7NDvt3EyukFmLiEDQm9VOC40iC0ZjqVvAyyktTLE0iTgqmr8M5X X-Received: by 2002:a05:6870:ab15:b0:1e9:bf07:783d with SMTP id gu21-20020a056870ab1500b001e9bf07783dmr37391094oab.33.1699263826189; Mon, 06 Nov 2023 01:43:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1699263826; cv=none; d=google.com; s=arc-20160816; b=M4Y5iGrOiaa+ejXOAXIteSstgLkYJd+MwkuCR97QFH/P3Y2GZkByE8XmzAyipmKC/k r4jZTDPhmoFNM3TfUdT3QtiXpQkowITmqOgS2xcJcpAfkd0TwW3JuV5Xwe4QbbxPoD/c C5jqS2BQC7Fy4wTMPnwYFSxsoszmLVTaCU2rvmlz70fsg/g38vPGMbcQDuOIG/jHknNY Pr1M8iUKDSvGtc9/Z11M8GC4EsnJVt7+sJj6CF9s+jLnGaPOXyJhWoJo2WKpaI8hbbHf zPwJY6fHBLKle+89EyUVJCwZq75WsNMRLvGwbaCPG/Olsh48jAZ+URMSAg6TH4xm5NQ4 /K+Q== 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=EbiNQ0wMfobMI1z5mJX35LewscG2bdMCyBYFT3D/620=; fh=g0ISeuZBsKjszo1okZBwZsLmJltEd8KC2vfjTkZNrCc=; b=NbKJQRLNCqIyKfTVcg4jMLWgU97UjaJOmSqJrNtqoPfD5AC1xw8hH9TC2bdkmDd1ZA R2eSG/PPCy1Wf/U8yuZTYMXjdTvYtDGTZNRL7JSaN434yQ3NwabZrch0HXrd2qlBlkbD EdYn9W27MXVOoSlyoFWf9bkkcbuBMPcSaKwI9LU3/ej39dE245ISewutufV8euImkXgW o+AZXob07potwCXyhsngnrD2Y9V0uAtQtAWH3Ait4E2XonwbnWJql5xx7Ogi7lk0Et7T ciiYLDV1n066LbeuX7YjWWV3eyOJ9RSfdj3/WZDMJ+jq3n1utszfbgGCSg1ZLZhX85UA vqWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tn/boXB5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id by38-20020a056a0205a600b005b95ee3edb4si8739634pgb.621.2023.11.06.01.43.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Nov 2023 01:43:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="tn/boXB5"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 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 snail.vger.email (Postfix) with ESMTP id 2946A802DA95; Mon, 6 Nov 2023 01:43:45 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231408AbjKFJno (ORCPT + 99 others); Mon, 6 Nov 2023 04:43:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231126AbjKFJnn (ORCPT ); Mon, 6 Nov 2023 04:43:43 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92CACE1 for ; Mon, 6 Nov 2023 01:43:40 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 8D1CDC433C8; Mon, 6 Nov 2023 09:43:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1699263820; bh=mW57g3/oo1AgcyVKDztTrcwktcxhtqaiT1BLrsHk/WM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=tn/boXB5eKY5pI6iM/T1MWnfyTzOajgPL6jvcIBqLVRYycUwM0Jci7ErTJRpBiHBs Ba85sQTjKSR97qqj/Q9eNy8Ougm3Jz+L9kh0HhJX6KSxKt1Dbe2L0br/zEogSPZmFf 1lpVerA/r+Ox/SlOXsRqEU/Lx44E/++VN/pGSutCXMQ5gmjxUFImPkMM+6zjOL396N ksYT0tZJmqh/aFQyXfmTLxrk3oCd78BkuYmfafk/kfVbjB9gzHzpqmqodmI9CYdL57 K4cagrLD6Gyfcs9KYUHZTyFCrV8sLAezXFJmxlfL1+28+zz4R9Kwh1olam7LY4DcPr 2WjKY59BBrtyQ== Date: Mon, 6 Nov 2023 10:43:37 +0100 From: "mripard@kernel.org" To: Frank Binns Cc: "faith.ekstrand@collabora.com" , Sarah Walker , "corbet@lwn.net" , "luben.tuikov@amd.com" , "christian.koenig@amd.com" , "krzysztof.kozlowski+dt@linaro.org" , "tzimmermann@suse.de" , "dakr@redhat.com" , "hns@goldelico.com" , "afd@ti.com" , "daniel@ffwll.ch" , "maarten.lankhorst@linux.intel.com" , "boris.brezillon@collabora.com" , "linux-kernel@vger.kernel.org" , "devicetree@vger.kernel.org" , "conor+dt@kernel.org" , "matthew.brost@intel.com" , "linux-doc@vger.kernel.org" , "robh+dt@kernel.org" , "airlied@gmail.com" Subject: Re: [PATCH v8 00/20] Imagination Technologies PowerVR DRM driver Message-ID: References: <20231031151257.90350-1-sarah.walker@imgtec.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="r3wyv22s6z5b2f2v" Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 06 Nov 2023 01:43:45 -0800 (PST) --r3wyv22s6z5b2f2v Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Frank, On Wed, Nov 01, 2023 at 10:15:15AM +0000, Frank Binns wrote: > Hi Maxime, >=20 > On Tue, 2023-10-31 at 17:31 +0100, Maxime Ripard wrote: > > Hi Sarah, Faith, Frank, > >=20 > > On Tue, Oct 31, 2023 at 03:12:37PM +0000, Sarah Walker wrote: > > > This patch series adds the initial DRM driver for Imagination Technol= ogies PowerVR > > > GPUs, starting with those based on our Rogue architecture. It's worth= pointing > > > out that this is a new driver, written from the ground up, rather tha= n a > > > refactored version of our existing downstream driver (pvrsrvkm). > > >=20 > > > This new DRM driver supports: > > > - GEM shmem allocations > > > - dma-buf / PRIME > > > - Per-context userspace managed virtual address space > > > - DRM sync objects (binary and timeline) > > > - Power management suspend / resume > > > - GPU job submission (geometry, fragment, compute, transfer) > > > - META firmware processor > > > - MIPS firmware processor > > > - GPU hang detection and recovery > > >=20 > > > Currently our main focus is on the AXE-1-16M GPU. Testing so far has = been done > > > using a TI SK-AM62 board (AXE-1-16M GPU). The driver has also been co= nfirmed to > > > work on the BeaglePlay board. Firmware for the AXE-1-16M can befound = here: > > > https://gitlab.freedesktop.org/frankbinns/linux-firmware/-/tree/power= vr > > >=20 > > > A Vulkan driver that works with our downstream kernel driver has alre= ady been > > > merged into Mesa [1][2]. Support for this new DRM driver is being mai= ntained in > > > a merge request [3], with the branch located here: > > > https://gitlab.freedesktop.org/frankbinns/mesa/-/tree/powervr-winsys > > >=20 > > > Job stream formats are documented at: > > > https://gitlab.freedesktop.org/mesa/mesa/-/blob/f8d2b42ae65c2f16f36a4= 3e0ae39d288431e4263/src/imagination/csbgen/rogue_kmd_stream.xml > > >=20 > > > The Vulkan driver is progressing towards Vulkan 1.0. The current comb= ination of this > > > kernel driver with the Mesa Vulkan driver (powervr-mesa-next branch) = successfully > > > completes Vulkan CTS 1.3.4.1 in our local runs. The driver is expecte= d to pass the > > > Khronos Conformance Process once the submission is made. > > >=20 > > > The code in this patch series, along with the needed dts changes can = be found here: > > > https://gitlab.freedesktop.org/sarah-walker-imgtec/powervr/-/tree/dev= /v8_dts > > > The full development history can be found here: > > > https://gitlab.freedesktop.org/frankbinns/powervr/-/tree/powervr-next > >=20 > > Awesome, thanks for sending a new version of that series. > >=20 > > At XDC, we all agreed that we would merge this version if the changes > > requested by Faith were fixed, and if the Mesa PR was updated to match > > that new kernel series. > >=20 > > Are we there yet? >=20 > We've made all the changes that were requested at XDC. There are a couple= of > questions Faith had for me that I still need to respond to. I'll hopefull= y be > getting to these today. >=20 > The Mesa MR adding support for this kernel driver is all up to date: > https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15507 Ok, great :) > > If so, Faith, should we add your Reviewed-by/Acked-by tag to the UAPI p= atch? > >=20 > > > This patch series has dependencies on a number of patches not yet mer= ged. They > > > are listed below : > > >=20 > > > drm/sched: Convert drm scheduler to use a work queue rather than kthr= ead: > > > https://lore.kernel.org/dri-devel/20230404002211.3611376-2-matthew.= brost@intel.com/ > > > drm/sched: Move schedule policy to scheduler / entity: > > > https://lore.kernel.org/dri-devel/20230404002211.3611376-3-matthew.= brost@intel.com/ > > > drm/sched: Add DRM_SCHED_POLICY_SINGLE_ENTITY scheduling policy: > > > https://lore.kernel.org/dri-devel/20230404002211.3611376-4-matthew.= brost@intel.com/ > > > drm/sched: Start run wq before TDR in drm_sched_start: > > > https://lore.kernel.org/dri-devel/20230404002211.3611376-6-matthew.= brost@intel.com/ > > > drm/sched: Submit job before starting TDR: > > > https://lore.kernel.org/dri-devel/20230404002211.3611376-7-matthew.= brost@intel.com/ > > > drm/sched: Add helper to set TDR timeout: > > > https://lore.kernel.org/dri-devel/20230404002211.3611376-8-matthew.= brost@intel.com/ > >=20 > > What is the state of those patches? Iirc, we were expecting them to be > > merged soon at XDC >=20 > I see there was a new version posted yesterday: > https://lists.freedesktop.org/archives/dri-devel/2023-October/428612.html >=20 > It looks pretty close now. We'll rebase our patches so hopefully we have a > trivial rebase once they get merged. It looks like it's been merged last Wednesday, so I guess we can move forward on this? Maxime --r3wyv22s6z5b2f2v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEABYKAB0WIQRcEzekXsqa64kGDp7j7w1vZxhRxQUCZUi1SQAKCRDj7w1vZxhR xdUsAP4i+05ShczLQ2FI8+SrV8Li2WkzO07REWaHFGt3x7dGewEA7dZ9GE1aIscC uvLu+cPb1BHF93SCBChUim7WcipZJgE= =OnRV -----END PGP SIGNATURE----- --r3wyv22s6z5b2f2v--