Quoting Mika Kuoppala (2018-02-19 13:59:43)
> Chris Wilson writes:
>
> > The compiler is not automatically caching the i915->regs address inside
> > a register and emitting a load for every mmio access. For simple
> > functions like gen8_gt_irq_handler that are already using the raw
> > accessors
Chris Wilson writes:
> The compiler is not automatically caching the i915->regs address inside
> a register and emitting a load for every mmio access. For simple
> functions like gen8_gt_irq_handler that are already using the raw
> accessors, we can open-code them for substantial savings:
>
> add
The compiler is not automatically caching the i915->regs address inside
a register and emitting a load for every mmio access. For simple
functions like gen8_gt_irq_handler that are already using the raw
accessors, we can open-code them for substantial savings:
add/remove: 0/0 grow/shrink: 0/2 up/d