]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
drm/i915/pmu: Support PMU for all engines
authorTvrtko Ursulin <tvrtko.ursulin@intel.com>
Fri, 19 May 2023 15:49:41 +0000 (08:49 -0700)
committerUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Mon, 22 May 2023 18:07:49 +0000 (11:07 -0700)
commite367d3c45158ba34bb684227d87c52d8d840fd67
treec4d55b6c449a32c0daf3e33d390fcef1ecea3309
parenta644fde77ff73ee54970c0fc5a64cf7624c8b5b1
drm/i915/pmu: Support PMU for all engines

Given how the metrics are already exported, we also need to run sampling
over engines from all GTs.

Problem of GT frequencies is left for later.

Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Reviewed-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230519154946.3751971-3-umesh.nerlige.ramappa@intel.com
drivers/gpu/drm/i915/i915_pmu.c