From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jesse Barnes Subject: Re: [PATCH 2/2] drm/i915: Document the multi-threaded FORCEWAKE bits Date: Wed, 17 Oct 2012 10:05:15 -0700 Message-ID: <20121017100515.239e7eec@jbarnes-desktop> References: <1350472195-8051-1-git-send-email-chris@chris-wilson.co.uk> <1350472195-8051-2-git-send-email-chris@chris-wilson.co.uk> <20121017092724.22093e1c@jbarnes-desktop> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from oproxy7-pub.bluehost.com (oproxy7-pub.bluehost.com [67.222.55.9]) by gabe.freedesktop.org (Postfix) with SMTP id F16989E732 for ; Wed, 17 Oct 2012 10:04:26 -0700 (PDT) In-Reply-To: <20121017092724.22093e1c@jbarnes-desktop> 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: Jesse Barnes Cc: intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Wed, 17 Oct 2012 09:27:24 -0700 Jesse Barnes wrote: > On Wed, 17 Oct 2012 12:09:55 +0100 > Chris Wilson wrote: > > > No functional change, but reserves 0x2 for use by userspace. > > > > Signed-off-by: Chris Wilson > > --- > > drivers/gpu/drm/i915/i915_reg.h | 2 ++ > > drivers/gpu/drm/i915/intel_pm.c | 10 +++++----- > > 2 files changed, 7 insertions(+), 5 deletions(-) > > Each of the bits in this reg correspond to a specific agent that may > need to wake the GT. Unfortunately I don't have docs about which bits > are used by which agents. IIRC the BIOS uses one as does the AMT > engine if present. > > I'll try to find out who owns each and maybe we can reserve our own for > userspace. Ok we're in the clear here. I was afraid there might be other system components that would do sneaky things behind our back. But once the driver loads, we own the GT, so we can make these bits whatever we want. -- Jesse Barnes, Intel Open Source Technology Center