From: Joonas Lahtinen Date: Wed, 6 May 2015 11:36:09 +0000 (+0300) Subject: drm/i915: Use partial view in mmap fault handler X-Git-Tag: omap-for-v4.3/legacy-v2-signed~46^2~54^2~11 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c5ad54cf7dd8922bd1cee2d5871aebf73dc9638e;p=pandora-kernel.git drm/i915: Use partial view in mmap fault handler Use partial view for huge BOs (bigger than half the mappable aperture) in fault handler so that they can be accessed withough trying to make room for them by evicting other objects. v2: - Only use partial views in the case where early rejection was previously done. - Account variable type changes from previous reroll. v3: - Add a comment about overwriting existing page entries. (Tvrtko Ursulin) - Whitespace fixes. Cc: Chris Wilson Cc: Tvrtko Ursulin Signed-off-by: Joonas Lahtinen Reviewed-by: Tvrtko Ursulin Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed