From: Daniel Vetter Date: Tue, 10 Apr 2012 15:29:17 +0000 (+0200) Subject: drm/i915: simplify ppgtt setup X-Git-Tag: v3.5-rc1~83^2~81^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=211c568bc6a1ebd51e35724f6d733e76717ce368;p=pandora-kernel.git drm/i915: simplify ppgtt setup We don't need the pt_addr for the !dmar case, so drop the else and move the if (dmar) condition out of the loop. v2: Fixup whitespace damage noticed by Chris Wilson. v3: Collapse the two identical if blocks. Chris Wilson makes me look like a moron right now ... Noticed-by: Konstantin Belousov Reviewed-by: Chris Wilson Signed-Off-by: Daniel Vetter --- Reading git-diff-tree failed