From patchwork Thu Sep 28 11:45:31 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Iago Toral X-Patchwork-Id: 13402857 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 DD0D6E732C9 for ; Thu, 28 Sep 2023 11:46:09 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id C7EF810E62E; Thu, 28 Sep 2023 11:45:57 +0000 (UTC) Received: from fanzine2.igalia.com (fanzine.igalia.com [178.60.130.6]) by gabe.freedesktop.org (Postfix) with ESMTPS id DAF1D10E62C for ; Thu, 28 Sep 2023 11:45:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=igalia.com; s=20170329; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To:Content-Type:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=3yLxFjj2fMjZyeI1u5MhTpkP8PqVEo0RwESmQ/j1u3I=; b=dMXwVB9CbKSWQYnBCR5HALV/h6 GD+lSkrsp2CsUKAXxQhX+nS78gTXMH1D6c2d7IbcGWROmjkV9TSSTp73JTzzmif+gIO0bRC9YBqBW 1myrSKkUrPnAomreNpnTFO9kjhlYWzv0FV8TBv53uTyfHSv39fgaYmBL9wLyN6nUe8d5e1YE4/pPj qxEaGiBaiCOA2Uk1ALbz4YYrYz5yIAemHyEnOo5TbBfgWS+oJmav6AClU5it1NPSycGsKovnedryf 5Rs3oJVXhYvVb4tSzytDpSPA/kS5Lj/hLqaBq6GUbki92OWOcxoIaeWRhuTTo0phoILLnaARxw94D zieh/RDw==; Received: from [213.60.48.236] (helo=vega.mundo-R.com) by fanzine2.igalia.com with esmtpsa (Cipher TLS1.3:ECDHE_X25519__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim) id 1qlpSr-009FgI-2q; Thu, 28 Sep 2023 13:45:53 +0200 From: Iago Toral Quiroga To: dri-devel@lists.freedesktop.org Subject: [PATCH 2/3] drm/v3d: update UAPI to match user-space for V3D 7.x Date: Thu, 28 Sep 2023 13:45:31 +0200 Message-Id: <20230928114532.167854-3-itoral@igalia.com> X-Mailer: git-send-email 2.39.2 In-Reply-To: <20230928114532.167854-1-itoral@igalia.com> References: <20230928114532.167854-1-itoral@igalia.com> MIME-Version: 1.0 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: , Cc: Maira Canal , Iago Toral Quiroga Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" V3D t.x takes a new parameter to configure TFU jobs that needs to be provided by user space. --- include/uapi/drm/v3d_drm.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/uapi/drm/v3d_drm.h b/include/uapi/drm/v3d_drm.h index 3dfc0af8756a..1a7d7a689de3 100644 --- a/include/uapi/drm/v3d_drm.h +++ b/include/uapi/drm/v3d_drm.h @@ -319,6 +319,11 @@ struct drm_v3d_submit_tfu { /* Pointer to an array of ioctl extensions*/ __u64 extensions; + + struct { + __u32 ioc; + __u32 pad; + } v71; }; /* Submits a compute shader for dispatch. This job will block on any