From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751427AbbLBTfU (ORCPT ); Wed, 2 Dec 2015 14:35:20 -0500 Received: from gabe.freedesktop.org ([131.252.210.177]:60867 "EHLO gabe.freedesktop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751067AbbLBTfS (ORCPT ); Wed, 2 Dec 2015 14:35:18 -0500 From: Eric Anholt To: Emil Velikov Cc: ML dri-devel , "Linux-Kernel\@Vger. Kernel. Org" Subject: Re: [PATCH 9/9] drm/vc4: Add an interface for capturing the GPU state after a hang. In-Reply-To: References: <1449002158-19156-1-git-send-email-eric@anholt.net> <1449002158-19156-9-git-send-email-eric@anholt.net> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Wed, 02 Dec 2015 11:35:16 -0800 Message-ID: <87r3j48wzv.fsf@eliezer.anholt.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --=-=-= Content-Type: text/plain Emil Velikov writes: > On 1 December 2015 at 20:35, Eric Anholt 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). --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJWX0f0AAoJELXWKTbR/J7o+zgP/3B5/oJtJt6+9MSw5SsqgkiC NIU+RYJsvAbRPmlOmc9QXgUf53lAjODM3yRkmR2JqBOO80fkFx9La1qgMcUtisLu C91aMIBiU/lpA0BeJXiRlsjwvcGITVMmeYP5FxTLRcIo/z+wFd6x5kHC/U/Udxkt ibgzKxWoyGK+QVyEUiVb4YMtuuAxJzVD4x1lCj0DYW6gt5RpxbFAeyUFkLt94toQ Vc1T/poSp6sYIXCy/tzM2JTMsJoc47paUC0VNyaBQcbOzxkIVSGGuZP4kb8Sikim p2YqqCNqafMdAHHqWvfuNuODK9OVQ7oKG7HNVSR7SPgG0VsUah0sNaXvgWxCjAir vDk2KMmL7drG7xY2OyaiLHI2XHSqU/mg2Nfir14rJzo8VFpiq3CrfmpHBSba0gVm QU1kMXR4RHV8jIkBg0035n5m0V4Omq7zikV1O7g6GLWX1Lb/GICsEk5q+0uKc/E0 6SxnTzLk9Ig3auzkE3erAi7v/bVHnto9aoHsCSASXtF5q7xzLQGU+EAq0EtorMMM SFZ2iPGga1MRTmOp/m+JTQQhR3a+hHxnOW/SSrVp+s91A5I4BXJGqN9yE115RNC9 4gZvxqqYdxBK1rU9fSgrv9BMUSEgXVM+j5eo2sjAPBBlSD2J8O06zXog3oT6pgW5 6UxJGHqHkC6bzhYqJL4b =fT1y -----END PGP SIGNATURE----- --=-=-=--