diff options
author | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-10 17:29:17 +0200 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2012-04-12 21:14:10 +0200 |
commit | 211c568bc6a1ebd51e35724f6d733e76717ce368 (patch) | |
tree | e103a75917c325ab2c602da32ce395f938b947b7 /tools/perf/scripts/python/syscall-counts.py | |
parent | e3aef17286850a77f11a6dac28d972f65cde2235 (diff) |
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: Konstantin Belousov <kostikbel@gmail.com>
Reviewed-by: Chris Wilson <chris@chris-wislon.co.uk>
Signed-Off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions