Re: [Intel-gfx] [PATCH 3/5] drm/i915/contexts: Switch to default on resume

2012-08-15 Thread Ben Widawsky
On 2012-08-15 02:18, Chris Wilson wrote: On Tue, 14 Aug 2012 14:35:15 -0700, Ben Widawsky wrote: In order to make the HW state CCID match with what we think it should be, we must order a switch to the default context. The really sad thing here is that the switch can potentially fail, and as

Re: [Intel-gfx] [PATCH 3/5] drm/i915/contexts: Switch to default on resume

2012-08-15 Thread Chris Wilson
On Tue, 14 Aug 2012 14:35:15 -0700, Ben Widawsky wrote: > In order to make the HW state CCID match with what we think it should > be, we must order a switch to the default context. > > The really sad thing here is that the switch can potentially fail, and > as such we have to assume contexts no l

[Intel-gfx] [PATCH 3/5] drm/i915/contexts: Switch to default on resume

2012-08-14 Thread Ben Widawsky
In order to make the HW state CCID match with what we think it should be, we must order a switch to the default context. The really sad thing here is that the switch can potentially fail, and as such we have to assume contexts no longer work. There is likely room for improvement but until we actua