[Intel-gfx] [PATCH 2/5] [v2] drm/i915: cleanup map&fence in bind

Chris Wilson chris at chris-wilson.co.uk
Tue Aug 13 08:56:48 CEST 2013


On Mon, Aug 12, 2013 at 05:34:17PM -0700, Ben Widawsky wrote:
> 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.
> 
> Recommended-by: Chris Wilson <chris at chris-wilson.co.uk>
> Signed-off-by: Ben Widawsky <ben at bwidawsk.net>

Missing newline between variable declaration and logic, trivial enough
for Daniel to fix up inline...

Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre



More information about the Intel-gfx mailing list