mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mikko Perttunen <mperttunen@nvidia.com>
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 <mperttunen@nvidia.com>
Subject: [PATCH 0/4] Miscellaneous improvements to Host1x and TegraDRM
Date: Fri, 18 Aug 2017 19:15:49 +0300	[thread overview]
Message-ID: <20170818161553.27597-1-mperttunen@nvidia.com> (raw)

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

             reply	other threads:[~2017-08-18 16:16 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-18 16:15 Mikko Perttunen [this message]
2017-08-18 16:15 ` [PATCH 1/4] gpu: host1x: Enable Tegra186 syncpoint protection Mikko Perttunen
2017-08-18 22:36   ` Dmitry Osipenko
2017-08-19  8:10     ` Mikko Perttunen
2017-08-19 10:09       ` Dmitry Osipenko
2017-08-19 10:35         ` Mikko Perttunen
2017-08-19 11:11           ` Dmitry Osipenko
2017-08-19 11:32             ` Mikko Perttunen
2017-08-19 11:51               ` Dmitry Osipenko
2017-08-19 12:02   ` Dmitry Osipenko
2017-08-20 16:18   ` Dmitry Osipenko
2017-08-20 16:59   ` Dmitry Osipenko
2017-08-20 18:13   ` Dmitry Osipenko
2017-08-18 16:15 ` [PATCH 2/4] gpu: host1x: Enable gather filter Mikko Perttunen
2017-08-19 10:42   ` Dmitry Osipenko
2017-08-19 10:46     ` Mikko Perttunen
2017-08-19 12:05       ` Dmitry Osipenko
2017-08-20 16:24   ` Dmitry Osipenko
2017-08-20 16:44     ` Dmitry Osipenko
2017-08-20 16:59       ` Dmitry Osipenko
2017-08-21 17:27         ` Mikko Perttunen
2017-08-21 17:28           ` Mikko Perttunen
2017-08-18 16:15 ` [PATCH 3/4] gpu: host1x: Improve debug disassembly formatting Mikko Perttunen
2017-08-18 21:54   ` Dmitry Osipenko
2017-08-18 16:15 ` [PATCH 4/4] drm/tegra: Use u64_to_user_ptr helper Mikko Perttunen
2017-08-18 22:05   ` Dmitry Osipenko
2017-08-19  8:06     ` Mikko Perttunen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170818161553.27597-1-mperttunen@nvidia.com \
    --to=mperttunen@nvidia.com \
    --cc=digetx@gmail.com \
    --cc=dri-devel@lists.freedesktop.org \
    --cc=jonathanh@nvidia.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-tegra@vger.kernel.org \
    --cc=thierry.reding@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®