diff options
author | Chris Wilson <[email protected]> | 2016-06-30 15:33:27 +0100 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-06-30 15:42:25 +0100 |
commit | a5b2fd8cdc576688c65aec82c775fd779d48b503 (patch) | |
tree | de43077f91da4d9a781dbfcea0ad645aa9af37db /tools/perf/scripts/python/futex-contention.py | |
parent | eb0241c14ee936ba98d3bdf43506ccb3bef9c21a (diff) |
drm/i915: Convert wait_for(I915_READ(reg)) to intel_wait_for_register()
By using the out-of-line intel_wait_for_register() not only do we can
efficiency from using the hybrid wait_for() contained within, but we
avoid code bloat from the numerous inlined loops, in total (all patches):
text data bss dec hex filename
1078551 4557 416 1083524 108884 drivers/gpu/drm/i915/i915.ko
1070775 4557 416 1075748 106a24 drivers/gpu/drm/i915/i915.ko
Signed-off-by: Chris Wilson <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions