Re: [Intel-gfx] [CI 1/5] igt/gem_workarounds: Read the workaround registers from the active context

2017-10-04 Thread Mika Kuoppala
Chris Wilson writes: > Quoting Mika Kuoppala (2017-10-03 16:19:10) >> Chris Wilson writes: >> >> > The workarounds are only valid whilst the GPU is active. To be sure we >> > are reading the registers in the right state, issue the reads from the GPU. >> > >> >> Yay, this is the right way :) >>

Re: [Intel-gfx] [CI 1/5] igt/gem_workarounds: Read the workaround registers from the active context

2017-10-03 Thread Chris Wilson
Quoting Mika Kuoppala (2017-10-03 16:19:10) > Chris Wilson writes: > > > The workarounds are only valid whilst the GPU is active. To be sure we > > are reading the registers in the right state, issue the reads from the GPU. > > > > Yay, this is the right way :) > > Some comments and findings be

Re: [Intel-gfx] [CI 1/5] igt/gem_workarounds: Read the workaround registers from the active context

2017-10-03 Thread Mika Kuoppala
Chris Wilson writes: > The workarounds are only valid whilst the GPU is active. To be sure we > are reading the registers in the right state, issue the reads from the GPU. > Yay, this is the right way :) Some comments and findings below... > v2: Show ignored write-only failures as debug. > > S

[Intel-gfx] [CI 1/5] igt/gem_workarounds: Read the workaround registers from the active context

2017-10-03 Thread Chris Wilson
The workarounds are only valid whilst the GPU is active. To be sure we are reading the registers in the right state, issue the reads from the GPU. v2: Show ignored write-only failures as debug. Signed-off-by: Chris Wilson --- tests/gem_workarounds.c | 147 ++-