diff options
author | Ben Widawsky <benjamin.widawsky@intel.com> | 2013-08-13 18:09:07 -0700 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2013-08-22 13:31:45 +0200 |
commit | 4bd561b3e8d7d2407cf465cb79c51a1ff1264343 (patch) | |
tree | 21d15c837730156e4beaf2f876396ab920d53289 /tools/perf/scripts/python/net_dropmonitor.py | |
parent | 433544bd25b06cb6dcdb79b6da8d748a0220898e (diff) |
drm/i915: cleanup map&fence in bind
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.
v3: Add newline between variable declaration and logic (Chris)
Recommended-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions