[RFC PATCH 0/4] drm/i915: implement NOA mux reprogramming at ctx-switch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,

This little series implements NOA muxes reprogramming on context
switch through the per context batch buffer.

NOA muxes resides in slices & subslices, which makes their
configuration subject to loss when a slice or subslice is shutdown.
The goal of this series is to restore the configuration on context
switch. It currently reloads all configurations on context switch but
we may be able to be a bit more clever by copying the last RPCS
configuration in memory and compare the current configuration before
executing all the MI_LRIs using a MI_PREDICATE.

Looking forward to comments!

Cheers,

Lionel Landwerlin (4):
  drm/i915: use same define size for wa_bb pin/allocation
  drm/i915: extract per-ctx/indirect bb programming
  drm/i915: pass wa_ctx as argument
  drm/i915: reprogram NOA muxes on context switch when using perf

 drivers/gpu/drm/i915/i915_drv.h  |   2 +
 drivers/gpu/drm/i915/i915_perf.c |  77 +++++++++++++++++++++++++++
 drivers/gpu/drm/i915/intel_lrc.c | 110 ++++++++++++++++++++++++++++++---------
 drivers/gpu/drm/i915/intel_lrc.h |   1 +
 4 files changed, 166 insertions(+), 24 deletions(-)

--
2.14.1
_______________________________________________
Intel-gfx mailing list
Intel-gfx@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/intel-gfx




[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]
  Powered by Linux