From mboxrd@z Thu Jan 1 00:00:00 1970 From: Daniel Vetter Subject: Re: [PATCH 08/11] drm/i915: enable ppgtt Date: Fri, 2 Dec 2011 23:19:35 +0100 Message-ID: <20111202221935.GD4291@phenom.ffwll.local> References: <1322515495-13049-1-git-send-email-daniel.vetter@ffwll.ch> <20111130000553.GI25081@seagal.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail-fx0-f49.google.com (mail-fx0-f49.google.com [209.85.161.49]) by gabe.freedesktop.org (Postfix) with ESMTP id 8C7499E758 for ; Fri, 2 Dec 2011 14:18:13 -0800 (PST) Received: by fabs1 with SMTP id s1so556753fab.36 for ; Fri, 02 Dec 2011 14:18:12 -0800 (PST) Content-Disposition: inline In-Reply-To: <20111130000553.GI25081@seagal.amr.corp.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: Daniel Vetter , intel-gfx@lists.freedesktop.org List-Id: intel-gfx@lists.freedesktop.org Sorry, missed your mail. On Tue, Nov 29, 2011 at 04:05:53PM -0800, Ben Widawsky wrote: > On Mon, Nov 28, 2011 at 10:24:52PM +0100, Daniel Vetter wrote: > Maybe through some DRM_INFOs in here for later debugging to see if we > failed in setting up the page tables? Tha's kinda what the debugfs file is for, to check whether the registers have the right values in an easy way. Caveat though, there are some errata on snb that you can't read back stuff from the render ring registers. And experience shows that if you frob these too often, they start to read garbage (but writes still work as they should, strangely). > Also, does this work across resume and reset? i915_gem_init_hw is called for both initial setup and resum, and the reset code is a few hunks up. Reset tested with my gpu hangman. -Daniel -- Daniel Vetter Mail: daniel@ffwll.ch Mobile: +41 (0)79 365 57 48