]> git.samba.org - sfrench/cifs-2.6.git/commit
drm/i915: Pass i915_sched_node around internally
authorChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 May 2019 12:01:01 +0000 (13:01 +0100)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 13 May 2019 12:57:55 +0000 (13:57 +0100)
commit52c76fb18a34fc08dd06f32b9fc83f1375f083ee
treefb22e5bd52fc1e9b4a38f760e06848c3371a205b
parent5ae87063c162679a61f2141041d0918cc3045daf
drm/i915: Pass i915_sched_node around internally

To simplify the next patch, update bump_priority and schedule to accept
the internal i915_sched_ndoe directly and not expect a request pointer.

add/remove: 0/0 grow/shrink: 2/1 up/down: 8/-15 (-7)
Function                                     old     new   delta
i915_schedule_bump_priority                  109     113      +4
i915_schedule                                 50      54      +4
__i915_schedule                              922     907     -15

v2: Adopt node for the old rq local, since it no longer is a request but
the origin node.

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190513120102.29660-2-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/i915_scheduler.c