diff options
| author | Chris Wilson <[email protected]> | 2016-06-30 15:32:55 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2016-06-30 15:42:05 +0100 |
| commit | 6b18826a9e656d6e2d791ae925752323e92f706b (patch) | |
| tree | 8f8abc252e6429fde7c0ca52cd6625458d297452 /tools/perf/scripts/python/Perf-Trace-Util/Context.c | |
| parent | 2c30b43b59c5662aaacd6ec9a6b3f55124121746 (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/Perf-Trace-Util/Context.c')
0 files changed, 0 insertions, 0 deletions