Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752202AbdHRQQk (ORCPT ); Fri, 18 Aug 2017 12:16:40 -0400 Received: from mail.kapsi.fi ([91.232.154.25]:58396 "EHLO mail.kapsi.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751671AbdHRQQi (ORCPT ); Fri, 18 Aug 2017 12:16:38 -0400 From: Mikko Perttunen To: thierry.reding@gmail.com, jonathanh@nvidia.com Cc: digetx@gmail.com, dri-devel@lists.freedesktop.org, linux-tegra@vger.kernel.org, linux-kernel@vger.kernel.org, Mikko Perttunen Subject: [PATCH 0/4] Miscellaneous improvements to Host1x and TegraDRM Date: Fri, 18 Aug 2017 19:15:49 +0300 Message-Id: <20170818161553.27597-1-mperttunen@nvidia.com> X-Mailer: git-send-email 2.14.1 X-SA-Exim-Connect-IP: 86.115.6.181 X-SA-Exim-Mail-From: mperttunen@nvidia.com X-SA-Exim-Scanned: No (on mail.kapsi.fi); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1778 Lines: 48 Hi all, here are some new features and improvements. Patch 1 enables syncpoint protection which prevents channels from touching syncpoints not belonging to them on Tegra186. Patch 2 enables the gather filter which prevents userspace command buffers from using CDMA commands usually reserved for the kernel. A test is available at git://github.com/cyndis/host1x_test, branch gather-filter. Patch 3 greatly improves formatting of debug dumps spewed by host1x in case of job timeouts. They are now actually readable by humans without use of additional scripts. Patch 4 is a simple aesthetical fix to the TegraDRM submit path. Everything was tested on TX1 and TX2 and should be applied on the previously posted Tegra186 support series. Cheers, Mikko *** BLURB HERE *** Mikko Perttunen (4): gpu: host1x: Enable Tegra186 syncpoint protection gpu: host1x: Enable gather filter gpu: host1x: Improve debug disassembly formatting drm/tegra: Use u64_to_user_ptr helper drivers/gpu/drm/tegra/drm.c | 9 +++--- drivers/gpu/host1x/debug.c | 14 ++++++++- drivers/gpu/host1x/debug.h | 14 ++++++--- drivers/gpu/host1x/dev.h | 16 ++++++++++ drivers/gpu/host1x/hw/channel_hw.c | 25 ++++++++++++++++ drivers/gpu/host1x/hw/debug_hw.c | 46 ++++++++++++++++++----------- drivers/gpu/host1x/hw/debug_hw_1x01.c | 8 ++--- drivers/gpu/host1x/hw/debug_hw_1x06.c | 9 +++--- drivers/gpu/host1x/hw/hw_host1x04_channel.h | 12 ++++++++ drivers/gpu/host1x/hw/hw_host1x05_channel.h | 12 ++++++++ drivers/gpu/host1x/hw/syncpt_hw.c | 26 ++++++++++++++++ drivers/gpu/host1x/syncpt.c | 3 ++ 12 files changed, 159 insertions(+), 35 deletions(-) -- 2.14.1