Skip to content
Commit 211c568b authored by Daniel Vetter's avatar Daniel Vetter
Browse files

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: default avatarKonstantin Belousov <kostikbel@gmail.com>
Reviewed-by: default avatarChris Wilson <chris@chris-wislon.co.uk>
Signed-Off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent e3aef172
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment