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


Groups > linux.kernel > #1282301

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

From Eric Anholt <eric@anholt.net>
Newsgroups linux.kernel
Subject Re: [PATCH 9/9] drm/vc4: Add an interface for capturing the GPU state after a hang.
Date 2015-12-02 20:40 +0100
Message-ID <qBlpU-35b-23@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>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Emil Velikov <emil.l.velikov@gmail.com> writes:

> On 1 December 2015 at 20:35, Eric Anholt <eric@anholt.net> wrote:
>> This can be parsed with vc4-gpu-tools tools for trying to figure out
>> what was going on.
>>
> I might be pushing my luck here ... have you thought about basing
> (forking) vc4-gpu-tools of intel-gpu-tools ? I'd imagine that the
> macros and helpers will come in handy, despite that some are quite
> intel specific.
>
> On a related note - with the above project in place I'd imagine you
> have (re)considered about having libdrm-vc4 ? Copying hunks around
> might lead to interesting moments (as you have already noticed :-P)
>
> On that note I'll stop now with beating the libdrm drum :-)

The headers and code that I copy between the two userspace locations
will go in libdrm when I have a kernel ABI, but vc4_drm.h can't go in
until merging to the kernel, and there's not a whole lot of point
without that.

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).

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