commit | e637d2cba8f34ef5d67a988f18a7f6560e2e51f1 | [log] [tgz] |
---|---|---|
author | Chris Wilson <chris@chris-wilson.co.uk> | Thu Mar 16 13:19:57 2017 +0000 |
committer | Chris Wilson <chris@chris-wilson.co.uk> | Fri Mar 17 15:53:26 2017 +0000 |
tree | e9f4b683462f08999de4cff73eacb9928c09f5a1 | |
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