Re: [Intel-gfx] [PATCH i-g-t v4] tests/pm_rpm: Fix CRASH on machines that lack LLC

2016-03-02 Thread Imre Deak
On ke, 2016-03-02 at 17:20 +, Chris Wilson wrote: > On Wed, Mar 02, 2016 at 07:01:28PM +0200, David Weinehall wrote: > > On machines that lack an LLC the pm-caching subtest will > > terminate with sigbus and thus CRASH during the > > I915_CACHING_CACHED iteration. To work around this we reset

Re: [Intel-gfx] [PATCH i-g-t v4] tests/pm_rpm: Fix CRASH on machines that lack LLC

2016-03-02 Thread Chris Wilson
On Wed, Mar 02, 2016 at 07:01:28PM +0200, David Weinehall wrote: > On machines that lack an LLC the pm-caching subtest will > terminate with sigbus and thus CRASH during the > I915_CACHING_CACHED iteration. To work around this we reset > the caching to I915_CACHING_NONE before doing memory access.

[Intel-gfx] [PATCH i-g-t v4] tests/pm_rpm: Fix CRASH on machines that lack LLC

2016-03-02 Thread David Weinehall
On machines that lack an LLC the pm-caching subtest will terminate with sigbus and thus CRASH during the I915_CACHING_CACHED iteration. To work around this we reset the caching to I915_CACHING_NONE before doing memory access. v2: Various improvements based on feedback from Chris Wilson v3: Fix