Skip to content

intel/perf: powergating configuration locking

The main goal of this MR is to lock the powergating configuration on Gen11 to all EU enabled when using the performance monitoring HW.

We have a dilemma on Gen11 where a functional requirement for media forces the media driver to powergate half the EU array of the GPU. This is because the HW is designed in such a way that VME samplers are only available for half the EUs. Targeting those samplers from a subslice that does not have them risk triggering a hang.

Unfortunately this doesn't play well with the performance monitoring HW needing a stable power configuration. So the initial performance support in i915 powergates half the EU for all contexts when using the performance monitoring HW (only configuration that works for all contexts). But this makes performance analysis somewhat pointless for 3D workloads.

This series paired with the following i915 changes https://patchwork.freedesktop.org/patch/355910/?series=74136&rev=1 gives the ability to userspace to force a given powergating configuration for the whole system through i915-perf.

This series picks up some generic cleanups from !2775 (merged) (first 3 commits).

Edited by Lionel Landwerlin

Merge request reports