summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/i915/intel_lrc.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2017-03-16 16:19:57 +0300
committerChris Wilson <chris@chris-wilson.co.uk>2017-03-17 18:53:26 +0300
commite637d2cba8f34ef5d67a988f18a7f6560e2e51f1 (patch)
treee9f4b683462f08999de4cff73eacb9928c09f5a1 /drivers/gpu/drm/i915/intel_lrc.c
parentfacbecad717155dbe57eced608fba5dcc1c972aa (diff)
downloadlinux-e637d2cba8f34ef5d67a988f18a7f6560e2e51f1.tar.xz
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 'drivers/gpu/drm/i915/intel_lrc.c')
0 files changed, 0 insertions, 0 deletions