Re: [Intel-gfx] [PATCH 28/43] drm/i915: Handle unmappable buffers during error state capture

2012-01-31 Thread Daniel Vetter
On Wed, Dec 14, 2011 at 04:46:48PM -0200, Eugeni Dodonov wrote: On Wed, Dec 14, 2011 at 10:57, Daniel Vetter daniel.vet...@ffwll.ch wrote: From: Chris Wilson ch...@chris-wilson.co.uk As the buffer is not necessarily accessible through the GTT at the time of a GPU hang, and capturing

[Intel-gfx] [PATCH 28/43] drm/i915: Handle unmappable buffers during error state capture

2011-12-14 Thread Daniel Vetter
From: Chris Wilson ch...@chris-wilson.co.uk As the buffer is not necessarily accessible through the GTT at the time of a GPU hang, and capturing some of its contents is far more valuable than skipping it, provide a clflushed fallback read path. We still prefer to read through the GTT as that is

Re: [Intel-gfx] [PATCH 28/43] drm/i915: Handle unmappable buffers during error state capture

2011-12-14 Thread Eugeni Dodonov
On Wed, Dec 14, 2011 at 10:57, Daniel Vetter daniel.vet...@ffwll.ch wrote: From: Chris Wilson ch...@chris-wilson.co.uk As the buffer is not necessarily accessible through the GTT at the time of a GPU hang, and capturing some of its contents is far more valuable than skipping it, provide a