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

Imre Deak imre.deak at intel.com
Wed Mar 2 16:23:44 UTC 2016

On ke, 2016-03-02 at 15:28 +0000, Chris Wilson wrote:
> On Wed, Mar 02, 2016 at 05:01:19PM +0200, Imre Deak wrote:
> [...]
> Hmm, this file has a noticeable lack of GEM domain management. E.g.
> gem_mmap_subtest() will only work by happenstance on !llc with
> gtt_mmap=false.
> To test the shrinker and eviction code, you can use i915_drop_caches.
> First populate the GGTT using a GTT mmap, then
> igt_drop_caches_set(DROP_BOUND); (Unbind looks best to be exercised
> through gem_close, though adding DROP_EVICT_GGTT seems sane).
> I don't see how you detect the number of illegal accesses whilst
> suspended? Should we not have a counter exposed through debugfs?

Ok, I'll add JIRA task(s) for these;)


More information about the Intel-gfx mailing list