Re: [Intel-gfx] [PATCH] drm/i915: Prevent context obj from being corrupted

2014-03-26 Thread Daniel Vetter
On Tue, Mar 25, 2014 at 07:01:50PM -0700, Ben Widawsky wrote: While the context is not being used, we can make the PTEs invalid, so nothing can accidentally corrupt it. Systems tend to have a lot of trouble when the context gets corrupted. NOTE: This is a slightly different patch than what I

Re: [Intel-gfx] [PATCH] drm/i915: Prevent context obj from being corrupted

2014-03-26 Thread Daniel Vetter
On Wed, Mar 26, 2014 at 07:24:16AM +0100, Daniel Vetter wrote: On Tue, Mar 25, 2014 at 07:01:50PM -0700, Ben Widawsky wrote: While the context is not being used, we can make the PTEs invalid, so nothing can accidentally corrupt it. Systems tend to have a lot of trouble when the context gets

Re: [Intel-gfx] [PATCH] drm/i915: Prevent context obj from being corrupted

2014-03-26 Thread Ben Widawsky
On Wed, Mar 26, 2014 at 08:04:38AM +0100, Daniel Vetter wrote: On Wed, Mar 26, 2014 at 07:24:16AM +0100, Daniel Vetter wrote: On Tue, Mar 25, 2014 at 07:01:50PM -0700, Ben Widawsky wrote: While the context is not being used, we can make the PTEs invalid, so nothing can accidentally

Re: [Intel-gfx] [PATCH] drm/i915: Prevent context obj from being corrupted

2014-03-26 Thread Ben Widawsky
On Wed, Mar 26, 2014 at 08:06:00AM -0700, Ben Widawsky wrote: On Wed, Mar 26, 2014 at 08:04:38AM +0100, Daniel Vetter wrote: On Wed, Mar 26, 2014 at 07:24:16AM +0100, Daniel Vetter wrote: On Tue, Mar 25, 2014 at 07:01:50PM -0700, Ben Widawsky wrote: While the context is not being used,

[Intel-gfx] [PATCH] drm/i915: Prevent context obj from being corrupted

2014-03-25 Thread Ben Widawsky
While the context is not being used, we can make the PTEs invalid, so nothing can accidentally corrupt it. Systems tend to have a lot of trouble when the context gets corrupted. NOTE: This is a slightly different patch than what I posted to Bugzilla. References: