diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-08-28 16:37:23 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2018-08-28 18:49:33 +0300 |
commit | ed11e4158451bf69e1e34b44797d6989d84db60f (patch) | |
tree | 4b68167570b62f5e481d090e2919bb7f840310b0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 1895759ee932e47f48b5e87baadc449ffd0853f1 (diff) |
drm/i915: Fix gtt_view asserts
gcc is too smart for us and doesn't evaluate BUILD_BUG_ON()s in
unused static inlines. Collect them up in one static inline and
actually call it to make sure gcc sees it.
Cc: Chris Wilson <chris@chris-wilson.co.uk>
Suggested-by: Chris Wilson <chris@chris-wilson.co.uk>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180828133723.18505-1-ville.syrjala@linux.intel.com
Reviewed-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions