drm/i915/gt: Prune 'inline' from execlists
authorChris Wilson <chris@chris-wilson.co.uk>
Wed, 13 Jan 2021 15:11:12 +0000 (15:11 +0000)
committerChris Wilson <chris@chris-wilson.co.uk>
Thu, 14 Jan 2021 15:38:54 +0000 (15:38 +0000)
commite73263367088bf36fcea22da609122e5f01b4313
tree3ee5502c475b71f0c65137e96fcb027ccd33b5ae
parent3db9353ea32c7f7816de8e48c7a3b5f00b3a59ba
drm/i915/gt: Prune 'inline' from execlists

Remove the extraneous inlines. The only split by the compiler that
looked dubious was execlists_schedule_out, so push the code around
slightly to move all the work into the out-of-line function.

In a normal build, bloat-o-meter shows that only the
execlists_schedule_out is contentious:

add/remove: 1/0 grow/shrink: 0/2 up/down: 803/-1532 (-729)
Function                                     old     new   delta
__execlists_schedule_out                       -     803    +803
execlists_submission_tasklet                6488    5766    -722
execlists_reset_csb.constprop               1587     777    -810
Total: Before=1605815, After=1605086, chg -0.05%

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Jani Nikula <jani.nikula@intel.com>
Reviewed-by: Mika Kuoppala <mika.kuoppala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20210113151112.15212-1-chris@chris-wilson.co.uk
drivers/gpu/drm/i915/gt/intel_execlists_submission.c