From: Ben Widawsky Date: Wed, 24 Apr 2013 06:15:30 +0000 (-0700) Subject: drm/i915: BUG_ON bad PPGTT offset X-Git-Tag: v3.11-rc1~65^2~131^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0a73287060cdd8fc2b50ecd216c918c2d097de59;p=pandora-kernel.git drm/i915: BUG_ON bad PPGTT offset Because PPGTT PDEs within the GTT are calculated in cachelines (HW guys consistency ftw) we do a divide which will wreak havoc if this is wrong, and I know that from experience). If/when we move to multiple PPGTTs this will have to become a WARN, and return an error. For now however it should always be considered fatal, and only a developer could hit it. Signed-off-by: Ben Widawsky Reviewed-by: Jesse Barnes [danvet: s/BUG/WARN] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed