diff options
author | Chris Wilson <[email protected]> | 2016-12-19 12:43:46 +0000 |
---|---|---|
committer | Chris Wilson <[email protected]> | 2016-12-20 12:31:52 +0000 |
commit | c2dc6cc946aa8463e1e7676c8f82334c1dc8a01c (patch) | |
tree | a83ac3e9d491988014fd223992ba078cb93eba8c /tools/perf/scripts/python/stackcollapse.py | |
parent | d766ef53006c2c38a7fe2bef0904105a793383f2 (diff) |
drm/i915: Add a test that we terminate the trimmed sgtable as expected
In commit 0c40ce130e38 ("drm/i915: Trim the object sg table"), we expect
to copy exactly orig_st->nents across and allocate the table thusly.
The copy loop should therefore end with the new_sg being NULL.
Signed-off-by: Chris Wilson <[email protected]>
Cc: Tvrtko Ursulin <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Daniel Vetter <[email protected]>
Reviewed-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions