From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: hangcheck parameter Date: Wed, 22 Jun 2011 19:05:28 +0100 Message-ID: References: <1308763970-2989-1-git-send-email-ben@bwidawsk.net> <20110622175526.GD5157@bwgnt.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by gabe.freedesktop.org (Postfix) with ESMTP id 292BA9E8F5 for ; Wed, 22 Jun 2011 11:05:31 -0700 (PDT) In-Reply-To: <20110622175526.GD5157@bwgnt.jf.intel.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org Errors-To: intel-gfx-bounces+gcfxdi-intel-gfx=m.gmane.org@lists.freedesktop.org To: Ben Widawsky Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 22 Jun 2011 10:55:33 -0700, Ben Widawsky wrote: > I was planning a debugfs entry for it. Do you see any advantages to > using an IOCTL? The only danger is that we developing a useful api and hiding it debugfs. We may be caught and forced to maintain such even if we do declare it as a work-in-progress... I'm not that worried about such just yet, we are a long way from having a mature enough hw and gfx stack to support a ptrace-like interface for generic GPU debugging. -Chris -- Chris Wilson, Intel Open Source Technology Centre