aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorJoonas Lahtinen <[email protected]>2015-03-16 14:11:13 +0200
committerDaniel Vetter <[email protected]>2015-03-20 11:48:03 +0100
commitec7adb6ee79c8c9fe64d63ad638a31cd62e55515 (patch)
tree9af18c1e023146304feacf5dd5006ae07498d267 /tools/perf/scripts/python/event_analyzing_sample.py
parentaca5e361e84d20ac68eedb37b7c4561a33f56198 (diff)
drm/i915: Do not use ggtt_view with (aliasing) PPGTT
GGTT views are only applicable when dealing with GGTT. Change the code to reject ggtt_view where it should not be used and require it when it should be. v2: - Dropped _ppgtt_ infixes, allow both types to be passed - Disregard other but normal views when no view is specified - More checks that valid parameters are passed - More readable error checking v3: - Prefer WARN_ONCE over BUG_ON when there is code path for failure Signed-off-by: Joonas Lahtinen <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> [danvet: Drop unecessary forward decl from earlier patch iterations.] [danvet: Remove unused variable spotted by Tvrtko.] Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions