From: Joonas Lahtinen Date: Fri, 24 Apr 2015 12:09:03 +0000 (+0300) Subject: drm/i915: Do not clear mappings beyond VMA size X-Git-Tag: omap-for-v4.3/legacy-v2-signed~46^2~54^2~89 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=06615ee5c54740a970754b6d8d7d5e7106dec186;p=pandora-kernel.git drm/i915: Do not clear mappings beyond VMA size Do not to clear mappings outside the allocated VMA under any circumstances. Only clear the smaller of VMA or object page count. This is required to allow creating partial object VMAs which in turn are needed for partial GGTT views. Signed-off-by: Joonas Lahtinen Reviewed-by: Tvrtko Ursulin Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed