[Intel-gfx] [PATCH 08/11] drm/i915: enable ppgtt

Daniel Vetter daniel at ffwll.ch
Fri Dec 2 23:19:35 CET 2011


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 at ffwll.ch
Mobile: +41 (0)79 365 57 48



More information about the Intel-gfx mailing list