aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts
diff options
context:
space:
mode:
authorMatthew Auld <[email protected]>2016-12-02 18:47:50 +0000
committerChris Wilson <[email protected]>2016-12-05 20:49:17 +0000
commit4cfa20c8345f04f0aa3ab5e33aa4487bbbcd8d9e (patch)
treebbdc45147ddb1a27c8a9393f9e1f65ddf5908529 /tools/perf/scripts
parent0798cff46bb2fc9ac24d5d465216db235a8f11f6 (diff)
drm/i915: allow GEM_BUG_ON expr checking with !DEBUG_GEM
Use BUILD_BUG_ON_INVALID(expr) in GEM_BUG_ON when building without DEBUG_GEM. This means the compiler can now check the validity of expr without generating any code, in turn preventing us from inadvertently breaking the build when DEBUG_GEM is not enabled. Cc: Chris Wilson <[email protected]> Signed-off-by: Matthew Auld <[email protected]> Link: http://patchwork.freedesktop.org/patch/msgid/[email protected] Reviewed-by: Chris Wilson <[email protected]> Signed-off-by: Chris Wilson <[email protected]>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions