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

Chris Wilson chris at chris-wilson.co.uk
Wed Mar 2 17:20:24 UTC 2016


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.
> 
> v2: Various improvements based on feedback from Chris Wilson
> 
> v3: Fix incorrect Signed-off-by: line
> 
> v4: Further improvements based on feedback from Chris Wilson
> 
> Signed-off-by: David Weinehall <david.weinehall at linux.intel.com>

Looks good to me, I'll let Imre double check if I haven't broke
something subtle in the test setup.
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list