aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2016-03-24 15:54:20 +0000
committerJoonas Lahtinen <[email protected]>2016-03-30 13:47:18 +0300
commitade7daa164709e5851836195c6cd7502cea1eb5e (patch)
tree45f542f2882f56dbf89fd63c89121947831fa45d /tools/perf/scripts/python/sctop.py
parent9f54d4bd5808b5c892a44c539c126b71d299f341 (diff)
drm/i915: BUG_ON when ggtt_view is NULL
Lets BUG_ON and don't bother with a WARN and returning an error, so we can remove the need to pollute the code with error handling, after all it is a programmer error to provide NULL view. Also while we're here remove redundant NULL ggtt_view check. Cc: Joonas Lahtinen <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Acked-by: Daniel Vetter <[email protected]> Reviewed-by: Joonas Lahtinen <[email protected]> Signed-off-by: Joonas Lahtinen <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions