diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-20 12:09:50 +0100 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2016-04-20 13:44:19 +0100 |
commit | ca61d4a425f2e23e870e027f2450fb126a1f2103 (patch) | |
tree | d0b3ea3fcaa533561f34fc4baceeea95f2e606b6 /drivers/gpu/drm/drm_internal.h | |
parent | 791bee125b42aa0bba3e521f148cfaf38f72a4fd (diff) | |
download | kernel_replicant_linux-ca61d4a425f2e23e870e027f2450fb126a1f2103.tar.gz kernel_replicant_linux-ca61d4a425f2e23e870e027f2450fb126a1f2103.tar.bz2 kernel_replicant_linux-ca61d4a425f2e23e870e027f2450fb126a1f2103.zip |
drm/i915/shrinker: Only report objects with extra pinned pages as pinned
When iterating over the bound list, we expect all objects there to have
their pages pinned (by the bound VMA). So only report 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 <akash.goel@intel.com>
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Akash Goel <akash.goel@intel.com>
Cc: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Reviewed-by: Joonas Lahtinen <joonas.lahtinen@linux.intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1461150592-27818-1-git-send-email-chris@chris-wilson.co.uk
Diffstat (limited to 'drivers/gpu/drm/drm_internal.h')
0 files changed, 0 insertions, 0 deletions