From: Ville Syrjälä Date: Thu, 5 Jun 2014 17:02:59 +0000 (+0300) Subject: drm/i915: Don't clobber the GTT when it's within stolen memory X-Git-Tag: omap-for-v3.17/fixes-against-rc2~315^2~1^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1e1c2129b79cfdaf07bca37c5a10569fe021abe;p=pandora-kernel.git drm/i915: Don't clobber the GTT when it's within stolen memory On most gen2-4 platforms the GTT can be (or maybe always is?) inside the stolen memory region. If that's the case, reduce the size of the stolen memory appropriately to make make sure we don't clobber the GTT. v2: Deal with gen4 36 bit physical address Signed-off-by: Ville Syrjälä Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80151 Acked-by: Chris Wilson Cc: stable@vger.kernel.org Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed