From: Jesse Barnes Date: Tue, 5 Aug 2014 14:51:18 +0000 (-0700) Subject: drm/i915: clean up PPGTT checking logic X-Git-Tag: fixes-against-v3.18-rc2~73^2~78^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=692ef70c016b5035ad1942ccc2bc4040aa290044;p=pandora-kernel.git drm/i915: clean up PPGTT checking logic sanitize_enable_ppgtt is the function that checks all the conditions, honoring a forced ppgtt status or doing auto-detect as necessary. Just make sure it returns the right value in all cases and use that in the macros instead of the confusing intel_enable_ppgtt() function. Signed-off-by: Jesse Barnes Signed-off-by: Rodrigo Vivi [danvet: Don't reenable full ppgtt through the backdoor.] Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed