Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1282499

Re: [PATCH 9/9] drm/vc4: Add an interface for capturing the GPU state after a hang.

Path csiph.com!eternal-september.org!feeder.eternal-september.org!aioe.org!bofh.it!news.nic.it!robomod
From Daniel Stone <daniel@fooishbar.org>
Newsgroups linux.kernel
Subject Re: [PATCH 9/9] drm/vc4: Add an interface for capturing the GPU state after a hang.
Date Thu, 03 Dec 2015 00:00:04 +0100
Message-ID <qBoxu-50H-57@gated-at.bofh.it> (permalink)
References <qAZSq-622-7@gated-at.bofh.it> <qAZSq-622-15@gated-at.bofh.it> <qBe54-6Dh-11@gated-at.bofh.it> <qBlpU-35b-23@gated-at.bofh.it> <qBo4q-4OQ-29@gated-at.bofh.it>
X-Original-To Eric Anholt <eric@anholt.net>, Emil Velikov <emil.l.velikov@gmail.com>, "Linux-Kernel@Vger. Kernel. Org" <linux-kernel@vger.kernel.org>, ML dri-devel <dri-devel@lists.freedesktop.org>
Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=fooishbar-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=soHpmQChNDgmCzQWlgTzSn/MlJXuxoYSdOWXBGNDX/U=; b=ZtIQ22D30Okrna3EBLRQtiXCZLaNDKeQlXzpBi9ArWOhO6NPNATdpippFmoimhdUYv HpZ5gFw2mnfs7r6KQ3fniEhJtj3cx8Z8a970C2HHUpfiTbh5ySleyiVNDnCVN9xzfohk 3NJEpqL+QkdiQuEV2VV9a/gu/3OHHLLPpEv5f5zABQeF7XBzxGCI1BkvKEHiF9Fwhg0F vF5Alpwz/LB3dzJTnajkevtDdSbdcnbdSlkNpq7xlJ8gFZkRFGJz60k+cgwrLwzIN09Z Ya5hMUMiXv/jkToxoOlgI8v/8KpDalXjUUyQdQDvpRUR3LrCoPgaMB9HYpyTid75DhUi kkMQ==
X-Google-Dkim-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=soHpmQChNDgmCzQWlgTzSn/MlJXuxoYSdOWXBGNDX/U=; b=KdmARQXDTK0wDmRNVqlTwEDPqL4NnaFpRkk/BDt3qopKgDC691JdEqPu7Ps86dm6PJ s72mbTFtpT6p6eI/wAOIoXfEclX9NxfXFZ2EN904DTD86zGcGsmTIDWN0iSP1i7XJy6p r76CByWXIhOrfzQy5OMkhhk6JWdbwt22Wj5IUGht0BnkOeL90/c0NTcJhpxnHEf5H3Pp di4vVXR1onBnXvRnw6SQvvgsZprlgMQJYbJbuiUhBzdx1KBqFTBEvl5dJIFvo/llLHVC QgpSKspUWtP0pdYdkHCklSq3/Im68OSPIgoNCdAv5krN2Hbwd+PR4ZUri3a9v5MQ8LVK PQpA==
X-Gm-Message-State ALoCoQmlRUQoHSKfHgY37f7Fhe7ZzsHH2VOCZNSK7UpgWbyjNLxPz3nA8gXoajx3XB0fbgwB4a9D
MIME-Version 1.0
X-Received by 10.28.195.10 with SMTP id t10mr44849272wmf.11.1449097124999; Wed, 02 Dec 2015 14:58:44 -0800 (PST)
Content-Type text/plain; charset=UTF-8
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 43
Organization linux.* mail to news gateway
X-Original-Date Wed, 2 Dec 2015 22:58:44 +0000
X-Original-Message-ID <CAPj87rP+0rk1kdkMGiBqHXLioTasBuVTN9SjT2VQWYjw-yZtvg@mail.gmail.com>
X-Original-References <1449002158-19156-1-git-send-email-eric@anholt.net> <1449002158-19156-9-git-send-email-eric@anholt.net> <CACvgo52FXmpJYtjT1nfmOrQZFB3CVTF=J2Zurpw=SULHSU-aAQ@mail.gmail.com> <87r3j48wzv.fsf@eliezer.anholt.net> <20151202222629.GC10243@phenom.ffwll.local>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1282499

Show key headers only | View raw


Hey,

On 2 December 2015 at 22:26, Daniel Vetter <daniel@ffwll.ch> wrote:
> On Wed, Dec 02, 2015 at 11:35:16AM -0800, Eric Anholt wrote:
>> Yes, I have thought about basing vc4-gpu-tools off of intel-gpu-tools.
>> I've actually tried to build and use the kms testing stuff on vc4, and
>> it was a total bust.  Someone needs to do a lot of work to make igt
>> useful for non-intel.  If you'd like me to build my vc4 testing inside
>> of igt, I'd someone to demo one of my tests building inside of igt, with
>> the test runner working and none of the intel-specific tests reporting
>> failure, and get me permission to just push code to that repository
>> (It's hard enough getting piglit tests reviewed, vc4-specific tests and
>> tools would never get review).
>
> Daniel Stone claimed that this Just Works but evidently it doesn't.
> There's some autoconfig fail where igt wants too much intel crap that just
> doesn't build on arm. Iirc Daniel had some patches floating around for
> that.

Yeah, it was working, though with my ARM farm still being in pieces, I
haven't been able to keep on top of it lately. Apparently the patch to
disable the ancilliary tools fixes the build, so I'll get that pushed
when I can actually test it, or for the meantime:
http://paste.fedoraproject.org/296836/09692714

This does still require libpciaccess and libdrm-intel to be built, but
they _are_ totally possible to build on ARM, without any stupid hacks.
My first cut at getting igt running on ARM (before Micah took over)
actually started by eviscerating those as well, but it ended up being
too much of a yak-shave.

If you can get past those, you get a skip for all but the core tests.
For the rest, they either need porting to just use dumb-buffers, or
split such that the bits exercising Intel-specific tiling modes can be
run separately, or left as Intel only.

Cheers,
Daniel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 9/9] drm/vc4: Add an interface for capturing the GPU state after a hang. Eric Anholt <eric@anholt.net> - 2015-12-01 21:40 +0100
  Re: [PATCH 9/9] drm/vc4: Add an interface for capturing the GPU state  after a hang. Emil Velikov <emil.l.velikov@gmail.com> - 2015-12-02 12:50 +0100
    Re: [PATCH 9/9] drm/vc4: Add an interface for capturing the GPU state after a hang. Eric Anholt <eric@anholt.net> - 2015-12-02 20:40 +0100
      Re: [PATCH 9/9] drm/vc4: Add an interface for capturing the GPU  state after a hang. Daniel Vetter <daniel@ffwll.ch> - 2015-12-02 23:30 +0100
        Re: [PATCH 9/9] drm/vc4: Add an interface for capturing the GPU state  after a hang. Daniel Stone <daniel@fooishbar.org> - 2015-12-03 00:00 +0100
          Re: [PATCH 9/9] drm/vc4: Add an interface for capturing the GPU state  after a hang. Emil Velikov <emil.l.velikov@gmail.com> - 2015-12-03 13:00 +0100
      Re: [PATCH 9/9] drm/vc4: Add an interface for capturing the GPU state  after a hang. Emil Velikov <emil.l.velikov@gmail.com> - 2015-12-03 12:50 +0100

csiph-web