aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorChris Wilson <[email protected]>2019-04-04 11:19:14 +0100
committerChris Wilson <[email protected]>2019-04-04 16:21:00 +0100
commit6960d9cfc721d9e577631b9057c07eecea8bdc0f (patch)
treeac3670b14ef6f7bffd6b4046822376c9e410b87e /tools/perf/scripts/python/check-perf-trace.py
parent28d618e9ab86f26a31af0b235ced55beb3e343c8 (diff)
drm/i915: Be precise in types for i915_gem_busy
Mixing u8 and -1u together leads to zero-extended integer expansion, and comparing 0x000000ff against 0xffffffff, causing us to report a mixed uabi-class request as not busy. The input flag is a u8, and we want to generate a u32 uABI response, mark our functions so. Fixes: c8b502422bfe ("drm/i915: Remove last traces of exec-id (GEM_BUSY)") Testcase: igt/gem_exec_balance/busy Signed-off-by: Chris Wilson <[email protected]> Cc: Tvrtko Ursulin <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions