Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp285122imu; Thu, 8 Nov 2018 08:17:42 -0800 (PST) X-Google-Smtp-Source: AJdET5eVhLrAd35qyxWZjp04ylt0kQGD1IOiwcyhpfy8wwjhVI752ZL/L7R0gy1GrWAnYy41QU1N X-Received: by 2002:a17:902:61:: with SMTP id 88-v6mr5203248pla.189.1541693862671; Thu, 08 Nov 2018 08:17:42 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1541693862; cv=none; d=google.com; s=arc-20160816; b=HGT86GypzfJcC6pmkR0rV7ZdPbF1T6O7mfectlNC7d+vSCwuCyFeHI1FpyN5E9MOTS 0IpDNefcHHPueiaDYmjWD7tuxA7TIe981WVxUuV/5aQQSbyLsjP32ZcehdmSGMDtr1Bq SCO/fHOl5IgQuDG7To2d3V4VQRsWHLa2D3+KbP6HRESXHZxzHBCM7dg+KNIBKKIVydWa xKrw1aVrCH1QJYDNZaIZF24mO1AN0frNJeCNYNrnAWp2/Jp48ApgwgFCn79ryNCKjpdR tqV33hknD5b5hr37R7gmPm88ODiUCO8beuyy6cifh2O1L0Zrj68LxPj3J3OD7rNYg/qU ovvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=1Q5xKg7FTFKvXpwUK5iqbIGD1bTAPceUd+3rHuxUcak=; b=c07jSmTPF6zZ8BWNW7+Vx78EWxKaSB07A+NlsR/dazrBjik00kniHTrw56tHoudZTB Z9REIsQRrZirSXWICCCmrT7iaqfmw8DA04Iv161EPeH4uAEIY1IAFvw1IJwfgG62maxf fmAInOyGp8iTBoxjg9db0MQFw4EOYEGNPfjmhnNuFlaAjeQDNP1EXSs8T2c8mk4TG/Oe YTfD4hzPta4vAgBsTV+EwztZi4WzXNve4jZ5uVIpEyHqTdGVps3Kq91YSpu/qhUAK6Jk x5yRxVyz4OoVGNF8HnjnEuMYiPBpIMK+LpAkY0yVZqRAlubFuxmvW8C+K1JOmAkFGwO3 IBww== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id i69si4134857pgc.538.2018.11.08.08.17.27; Thu, 08 Nov 2018 08:17:42 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727332AbeKIBxJ (ORCPT + 99 others); Thu, 8 Nov 2018 20:53:09 -0500 Received: from anholt.net ([50.246.234.109]:33366 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727003AbeKIBxJ (ORCPT ); Thu, 8 Nov 2018 20:53:09 -0500 Received: from localhost (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id DDEB010A135B; Thu, 8 Nov 2018 08:16:56 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at anholt.net Received: from anholt.net ([127.0.0.1]) by localhost (kingsolver.anholt.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id unvb3EfBPcGW; Thu, 8 Nov 2018 08:16:55 -0800 (PST) Received: from eliezer.anholt.net (localhost [127.0.0.1]) by anholt.net (Postfix) with ESMTP id 5220910A1218; Thu, 8 Nov 2018 08:16:55 -0800 (PST) Received: by eliezer.anholt.net (Postfix, from userid 1000) id 072BE2FE1B8F; Thu, 8 Nov 2018 08:16:54 -0800 (PST) From: Eric Anholt To: dri-devel@lists.freedesktop.org Cc: linux-kernel@vger.kernel.org, boris.brezillon@bootlin.com, Daniel Vetter , Eric Anholt Subject: [PATCH 0/4] V3D TFU engine support Date: Thu, 8 Nov 2018 08:16:50 -0800 Message-Id: <20181108161654.19888-1-eric@anholt.net> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This series adds support for V3D's TFU engine (a little texture tiling/YUV import/mipmap generation block). Corresponding Mesa userspace is at https://gitlab.freedesktop.org/anholt/mesa/commits/v3d-tfu Once we have TFU, the next step will be compute shaders, which are a lot more interesting. Eric Anholt (4): drm/v3d: Fix whitespace inconsistency in the header. drm/v3d: Update a comment about what uses v3d_job_dependency(). drm/v3d: Clean up the reservation object setup. drm/v3d: Add support for submitting jobs to the TFU. drivers/gpu/drm/v3d/v3d_drv.c | 12 +- drivers/gpu/drm/v3d/v3d_drv.h | 32 +++++- drivers/gpu/drm/v3d/v3d_gem.c | 193 ++++++++++++++++++++++++++------ drivers/gpu/drm/v3d/v3d_irq.c | 12 +- drivers/gpu/drm/v3d/v3d_regs.h | 58 ++++++++++ drivers/gpu/drm/v3d/v3d_sched.c | 149 ++++++++++++++++++++---- drivers/gpu/drm/v3d/v3d_trace.h | 20 ++++ include/uapi/drm/v3d_drm.h | 29 ++++- 8 files changed, 437 insertions(+), 68 deletions(-) -- 2.19.1