diff options
author | Chris Wilson | 2019-04-05 14:38:31 +0200 |
---|---|---|
committer | Chris Wilson | 2019-04-05 16:23:40 +0200 |
commit | 6d4257284a87ecbd0fd7eaed0d98531a009f579f (patch) | |
tree | 010d9639e35e6459e38dfbda81495de31797cfdd /net/can | |
parent | drm/i915/selftests: Fix plain use of integer 0 as NULL (diff) | |
download | kernel-qcow2-linux-6d4257284a87ecbd0fd7eaed0d98531a009f579f.tar.gz kernel-qcow2-linux-6d4257284a87ecbd0fd7eaed0d98531a009f579f.tar.xz kernel-qcow2-linux-6d4257284a87ecbd0fd7eaed0d98531a009f579f.zip |
drm/i915: Make RING_PDP relative to engine->mmio_base
The PDP registers are an oddity inside the set of context saved
registers in that they take the engine as a parameter to the macro and
not the mmio_base as the others do. Make it accept the engine->mmio_base
for consistency in programming the context registers.
add/remove: 0/0 grow/shrink: 2/1 up/down: 3/-32 (-29)
Function old new delta
emit_ppgtt_update 324 326 +2
capture 5102 5103 +1
execlists_init_reg_state.isra 1128 1096 -32
And similar savings later!
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/20190405123831.9724-1-chris@chris-wilson.co.uk
Diffstat (limited to 'net/can')
0 files changed, 0 insertions, 0 deletions