diff options
| author | Matthew Auld <[email protected]> | 2019-08-29 21:19:19 +0100 |
|---|---|---|
| committer | Chris Wilson <[email protected]> | 2019-08-29 21:59:16 +0100 |
| commit | 31444afb460ee627cb7800acee46548449c52368 (patch) | |
| tree | 4d20cb75763736f9b11291bd789fa232da41e920 /tools/perf/scripts/python | |
| parent | 9be02fde93e5b564663f10a48f19159fba718e3d (diff) | |
drm/i915: s/for_each_sgt_dma/for_each_sgt_daddr/
The sg_table for our backing store might contain addresses from
stolen-memory or in the future local-memory, at which point this is no
longer a dma-iterator. As a consequence we should now break on NULL
iter.sgp, instead of dmap == 0 which is considered an invalid dma
address.
As a bonus, gcc much prefers this construct,
Function old new delta
gen8_ggtt_insert_entries 211 192 -19
gen6_ggtt_insert_entries 292 262 -30
i915_error_object_create 996 954 -42
Signed-off-by: Matthew Auld <[email protected]>
Cc: Chris Wilson <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Chris Wilson <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions