From: Ben Widawsky Date: Wed, 14 Aug 2013 01:09:07 +0000 (-0700) Subject: drm/i915: cleanup map&fence in bind X-Git-Tag: v3.12-rc1~136^2~14^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4bd561b3e8d7d2407cf465cb79c51a1ff1264343;p=pandora-kernel.git drm/i915: cleanup map&fence in bind Cleanup the map and fenceable setting during bind to make more sense, and not check i915_is_ggtt() 2 unnecessary times v2: Move the bools into the if block (Chris) - There are ways to tidy this function (fence calculations for instance) even further, but they are quite invasive, so I am punting on those unless specifically asked. v3: Add newline between variable declaration and logic (Chris) Recommended-by: Chris Wilson Reviewed-by: Chris Wilson Signed-off-by: Ben Widawsky Signed-off-by: Daniel Vetter --- Reading git-diff-tree failed