From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Wilson Subject: Re: [PATCH] drm/i915: Fix restore of 965 fence regs since the register tracing change. Date: Mon, 22 Nov 2010 12:13:45 +0000 Message-ID: References: <1290045900-4012-1-git-send-email-eric@anholt.net> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by gabe.freedesktop.org (Postfix) with ESMTP id D7C5FA0C91 for ; Mon, 22 Nov 2010 04:13:48 -0800 (PST) In-Reply-To: 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: Keith Packard , Eric Anholt , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org On Thu, 18 Nov 2010 11:47:12 +0800, Keith Packard wrote: > > We were reading our 64-bit value in I915_READ64 and returning 32 bits > of it. The restoration of fence regs at resume then had a zero end > value, and the fence had no effect. It was a good catch. Applied one final tweak to use macros to generate the various read/write routines and applied to -next. -Chris -- Chris Wilson, Intel Open Source Technology Centre