Re: [Intel-gfx] [PATCH] drm/i915: don't track relative-constants-mode

2016-08-26 Thread Dave Gordon
On 26/08/16 19:47, Chris Wilson wrote: On Fri, Aug 26, 2016 at 07:25:57PM +0100, Dave Gordon wrote: 'relative_constants_mode' has always been tracked per-device, but this has actually been wrong ever since hardware contexts were introduced, as the INSTPM register is saved (and automatically rest

Re: [Intel-gfx] [PATCH] drm/i915: don't track relative-constants-mode

2016-08-26 Thread Chris Wilson
On Fri, Aug 26, 2016 at 07:47:19PM +0100, Chris Wilson wrote: > On Fri, Aug 26, 2016 at 07:25:57PM +0100, Dave Gordon wrote: > > 'relative_constants_mode' has always been tracked per-device, but this > > has actually been wrong ever since hardware contexts were introduced, as > > the INSTPM registe

Re: [Intel-gfx] [PATCH] drm/i915: don't track relative-constants-mode

2016-08-26 Thread Chris Wilson
On Fri, Aug 26, 2016 at 07:25:57PM +0100, Dave Gordon wrote: > 'relative_constants_mode' has always been tracked per-device, but this > has actually been wrong ever since hardware contexts were introduced, as > the INSTPM register is saved (and automatically restored) as part of the > render ring c

[Intel-gfx] [PATCH] drm/i915: don't track relative-constants-mode

2016-08-26 Thread Dave Gordon
'relative_constants_mode' has always been tracked per-device, but this has actually been wrong ever since hardware contexts were introduced, as the INSTPM register is saved (and automatically restored) as part of the render ring context. The software per-device value could therefore get out of sync

[Intel-gfx] [PATCH] drm/i915: don't track relative-constants-mode

2015-10-22 Thread Dave Gordon
'relative_constants_mode' has always been tracked per-device, but this has actually been wrong ever since hardware contexts were introduced, as the INSTPM register is saved (and automatically restored) as part of the render ring context. The software per-device value could therefore get out of sync