Re: [Intel-gfx] [PATCH] drm/i915/shrinker: Only report objects with extra pinned pages as pinned

2016-04-20 Thread Joonas Lahtinen
On ke, 2016-04-20 at 08:43 +0100, Chris Wilson wrote: > When iterating over the bound list, we expect all objects there to have > their pages pinned (by the bound VMA). So only add those objects with > additional pin count on their pages as "pinned". These should be those > objects used for display

[Intel-gfx] [PATCH] drm/i915/shrinker: Only report objects with extra pinned pages as pinned

2016-04-20 Thread Chris Wilson
When iterating over the bound list, we expect all objects there to have their pages pinned (by the bound VMA). So only add those objects with additional pin count on their pages as "pinned". These should be those objects used for display and hardware access. Reported-by: Akash Goel Signed-off-by: