Re: [Intel-gfx] [PATCH v2] drm/i915: Check whitelist registers across resets

2018-04-13 Thread Chris Wilson
Quoting Oscar Mateo (2018-04-13 18:04:16) > > > On 4/13/2018 9:54 AM, Chris Wilson wrote: > > Quoting Oscar Mateo (2018-04-13 17:46:42) > >> > >> On 4/12/2018 8:21 AM, Chris Wilson wrote: > >>> Add a selftest to ensure that we restore the whitelisted registers after > >>> rewrite the registers

Re: [Intel-gfx] [PATCH v2] drm/i915: Check whitelist registers across resets

2018-04-13 Thread Oscar Mateo
On 4/13/2018 9:54 AM, Chris Wilson wrote: Quoting Oscar Mateo (2018-04-13 17:46:42) On 4/12/2018 8:21 AM, Chris Wilson wrote: Add a selftest to ensure that we restore the whitelisted registers after rewrite the registers everytime they might be scrubbed, e.g. module load, reset and resume.

Re: [Intel-gfx] [PATCH v2] drm/i915: Check whitelist registers across resets

2018-04-13 Thread Chris Wilson
Quoting Oscar Mateo (2018-04-13 17:46:42) > > > On 4/12/2018 8:21 AM, Chris Wilson wrote: > > Add a selftest to ensure that we restore the whitelisted registers after > > rewrite the registers everytime they might be scrubbed, e.g. module > > load, reset and resume. For the other volatile

Re: [Intel-gfx] [PATCH v2] drm/i915: Check whitelist registers across resets

2018-04-13 Thread Oscar Mateo
On 4/12/2018 8:21 AM, Chris Wilson wrote: Add a selftest to ensure that we restore the whitelisted registers after rewrite the registers everytime they might be scrubbed, e.g. module load, reset and resume. For the other volatile workaround registers, we export their presence via debugfs and

[Intel-gfx] [PATCH v2] drm/i915: Check whitelist registers across resets

2018-04-12 Thread Chris Wilson
Add a selftest to ensure that we restore the whitelisted registers after rewrite the registers everytime they might be scrubbed, e.g. module load, reset and resume. For the other volatile workaround registers, we export their presence via debugfs and check in igt/gem_workarounds. However, we don't