Re: [Intel-gfx] [PATCH 2/2] drm/i915/g4x: Fix unreliable gpu reset

2017-05-18 Thread Chris Wilson
On Thu, May 18, 2017 at 03:51:19PM +0300, Mika Kuoppala wrote: > Chris Wilson writes: > > > On Thu, May 18, 2017 at 03:34:22PM +0300, Mika Kuoppala wrote: > >> ELK seems to very picky about the preconditions to reset. > >> Evidence on Eaglelake (8086:2e12 (rev 03)) shows that it does > >> not lik

Re: [Intel-gfx] [PATCH 2/2] drm/i915/g4x: Fix unreliable gpu reset

2017-05-18 Thread Mika Kuoppala
Chris Wilson writes: > On Thu, May 18, 2017 at 03:34:22PM +0300, Mika Kuoppala wrote: >> ELK seems to very picky about the preconditions to reset. >> Evidence on Eaglelake (8086:2e12 (rev 03)) shows that it does >> not like if reset occurs when there is active ring. >> >> Ville found out that th

Re: [Intel-gfx] [PATCH 2/2] drm/i915/g4x: Fix unreliable gpu reset

2017-05-18 Thread Chris Wilson
On Thu, May 18, 2017 at 03:34:22PM +0300, Mika Kuoppala wrote: > ELK seems to very picky about the preconditions to reset. > Evidence on Eaglelake (8086:2e12 (rev 03)) shows that it does > not like if reset occurs when there is active ring. > > Ville found out that there is workaround with name >

Re: [Intel-gfx] [PATCH 2/2] drm/i915/g4x: Fix unreliable gpu reset

2017-05-18 Thread Mika Kuoppala
Mika Kuoppala writes: > ELK seems to very picky about the preconditions to reset. > Evidence on Eaglelake (8086:2e12 (rev 03)) shows that it does > not like if reset occurs when there is active ring. > > Ville found out that there is workaround with name > 'WaMediaResetMainRingCleanup' which sugg

[Intel-gfx] [PATCH 2/2] drm/i915/g4x: Fix unreliable gpu reset

2017-05-18 Thread Mika Kuoppala
ELK seems to very picky about the preconditions to reset. Evidence on Eaglelake (8086:2e12 (rev 03)) shows that it does not like if reset occurs when there is active ring. Ville found out that there is workaround with name 'WaMediaResetMainRingCleanup' which suggests that we need to cleanup rings