[Intel-gfx] [PATCH] drm/i915: simplify ppgtt setup
chris at chris-wilson.co.uk
Tue Apr 10 08:33:38 PDT 2012
On Tue, 10 Apr 2012 17:29:17 +0200, daniel.vetter at ffwll.ch wrote:
> From: Daniel Vetter <daniel.vetter at ffwll.ch>
> 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 <kostikbel at gmail.com>
> Signed-Off-by: Daniel Vetter <daniel.vetter at ffwll.ch>
Reviewed-by: Chris Wilson <chris at chris-wislon.co.uk>
Chris Wilson, Intel Open Source Technology Centre
More information about the Intel-gfx