[PATCH] drm/i915: simplify ppgtt setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

-- 
Chris Wilson, Intel Open Source Technology Centre


[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux