diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-16 13:19:57 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2017-03-17 15:53:26 +0000 |
commit | e637d2cba8f34ef5d67a988f18a7f6560e2e51f1 (patch) | |
tree | e9f4b683462f08999de4cff73eacb9928c09f5a1 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | facbecad717155dbe57eced608fba5dcc1c972aa (diff) |
drm/i915: Stop using obj->obj_exec_link outside of execbuf
i915_gem_stolen_list_info() sneakily takes advantage of the
obj->obj_exec_link to save itself from having to allocate. Enough of the
subterfuge, just allocate an array of pointers and sort them instead of
the list.
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Mika Kuoppala <mika.kuoppala@intel.com>
Link: http://patchwork.freedesktop.org/patch/msgid/20170316132006.7976-7-chris@chris-wilson.co.uk
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions