From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id EB333C2BD09 for ; Wed, 3 Jul 2024 07:47:14 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 5BDF510E051; Wed, 3 Jul 2024 07:47:14 +0000 (UTC) Authentication-Results: gabe.freedesktop.org; dkim=pass (2048-bit key; unprotected) header.d=collabora.com header.i=@collabora.com header.b="zk9bmG0i"; dkim-atps=neutral Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) by gabe.freedesktop.org (Postfix) with ESMTPS id CE8F810E051 for ; Wed, 3 Jul 2024 07:47:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1719992831; bh=VHvwZGHGQOJZ+hd/qBoR1yIE2foXTjB9inR2DQWt8QQ=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=zk9bmG0iCPVqciHUI+G88my7NBgMTmlHf78jtB7tuEsI8qHGWES+p9kGkMToH8Pix y++Rye+8km+ljSUloSGE7CeicoZtKLVXd2B0J3OUv5yF1G7WkkoC66UcsIyQLrcmIY tdz9wr+IWzmf4PXE1czXXnSRQWCpZDlMFnp8VefhDWC9XaUuolXq8rr/akwo5WXOs0 dcJh/piTWxFS19u+JMxlw5Y9q53z7k+tU6TKkdOz/urfwrQAcFhVzxe44ZE1bljFjb BDNF4UJddr/m4437l9VEEzxhiHubSWKDL0JAd1K2DAvLPyoZsMNSI36lBTCiAobkU0 OXcmRE/OiHHDA== Received: from localhost (cola.collaboradmins.com [195.201.22.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: bbrezillon) by madrid.collaboradmins.com (Postfix) with ESMTPSA id 1591A378211B; Wed, 3 Jul 2024 07:47:11 +0000 (UTC) Date: Wed, 3 Jul 2024 09:47:09 +0200 From: Boris Brezillon To: Boris Brezillon , Steven Price , Liviu Dudau , =?UTF-8?B?QWRy?= =?UTF-8?B?acOhbg==?= Larumbe Cc: dri-devel@lists.freedesktop.org, kernel@collabora.com Subject: Re: [PATCH v2 0/2] drm/panthor: Fix support for sync-only jobs Message-ID: <20240703094709.09fb2124@collabora.com> In-Reply-To: <20240703071640.231278-1-boris.brezillon@collabora.com> References: <20240703071640.231278-1-boris.brezillon@collabora.com> Organization: Collabora X-Mailer: Claws Mail 4.2.0 (GTK 3.24.41; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" On Wed, 3 Jul 2024 09:16:38 +0200 Boris Brezillon wrote: > Hello, > > Here are two relatively trivial fixes for bugs found while woking > on the Vulkan implementation, where NULL CS are needed to implement > VkQueue synchronization. > > Regards, > > Boris > > v2: > - Fix a UAF bug in the second patch > > Boris Brezillon (2): > drm/panthor: Don't check the array stride on empty uobj arrays > drm/panthor: Fix sync-only jobs Queued to drm-misc-next. > > drivers/gpu/drm/panthor/panthor_drv.c | 6 ++-- > drivers/gpu/drm/panthor/panthor_sched.c | 44 ++++++++++++++++++------- > include/uapi/drm/panthor_drm.h | 5 +++ > 3 files changed, 41 insertions(+), 14 deletions(-) >