From mboxrd@z Thu Jan 1 00:00:00 1970 From: j.glisse@gmail.com Subject: Reworking of GPU reset logic + dumping Date: Wed, 25 Apr 2012 15:03:05 -0400 Message-ID: <1335380609-5804-1-git-send-email-j.glisse@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-qc0-f177.google.com (mail-qc0-f177.google.com [209.85.216.177]) by gabe.freedesktop.org (Postfix) with ESMTP id 31BB59E85C for ; Wed, 25 Apr 2012 12:03:44 -0700 (PDT) Received: by qcsu28 with SMTP id u28so327267qcs.36 for ; Wed, 25 Apr 2012 12:03:43 -0700 (PDT) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org Errors-To: dri-devel-bounces+sf-dri-devel=m.gmane.org@lists.freedesktop.org To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org Patches also available at: http://people.freedesktop.org/~glisse/debug/ So it's the Christian series minus all the debugfs related to ring/ib/mc. The last patch add a new blob dumping facilities that dump everythings (pm4, relocs table, bo content). It's just a proof of concept to show what i meant because code speaks more clearly on this kind of topic. The blob format we dump could be different i want with a simple binary dword format: type, id, size, [data (present if size > 0)] Note that the benefit (simpler code, less code) of dumping current debugfs seems to me greater than their usefullness. Cheers, Jerome