summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>2024-11-27 20:40:04 +0300
committerUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>2024-12-14 02:13:49 +0300
commitabd318237fa6556c1e5225529af145ef15d5ff0d (patch)
tree600827689012889fe3c939bb7ad4c4d6475c80ab /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c
parent630e03808a71c06407f5720b494fd76f5665ffc2 (diff)
downloadlinux-abd318237fa6556c1e5225529af145ef15d5ff0d.tar.xz
i915/guc: Reset engine utilization buffer before registration
On GT reset, we store total busyness counts for all engines and re-register the utilization buffer with GuC. At that time we should reset the buffer, so that we don't get spurious busyness counts on subsequent queries. To repro this issue, run igt@perf_pmu@busy-hang followed by igt@perf_pmu@most-busy-idle-check-all for a couple iterations. Fixes: 77cdd054dd2c ("drm/i915/pmu: Connect engine busyness stats from GuC to pmu") Signed-off-by: Umesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com> Reviewed-by: John Harrison <John.C.Harrison@Intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20241127174006.190128-2-umesh.nerlige.ramappa@intel.com
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions