Re: [PATCH 06/56] drm/i915/guc: Optimize CTB writes and reads

2021-07-07 Thread Michal Wajdeczko
Hi, On 07.07.2021 21:09, Matthew Brost wrote: > CTB writes are now in the path of command submission and should be > optimized for performance. Rather than reading CTB descriptor values > (e.g. head, tail) which could result in accesses across the PCIe bus, > store shadow local copies and only rea

[PATCH 06/56] drm/i915/guc: Optimize CTB writes and reads

2021-07-07 Thread Matthew Brost
CTB writes are now in the path of command submission and should be optimized for performance. Rather than reading CTB descriptor values (e.g. head, tail) which could result in accesses across the PCIe bus, store shadow local copies and only read/write the descriptor values when absolutely necessary