aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>2024-11-27 09:40:04 -0800
committerTvrtko Ursulin <tursulin@ursulin.net>2024-12-17 10:15:03 +0000
commitabcc2ddae5f82aa6cfca162e3db643dd33f0a2e8 (patch)
treef4cc3d3869e084055d7770ec1c69b56f8541bdfe /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parent78d4f34e2115b517bcbfe7ec0d018bbbb6f9b0b8 (diff)
downloadlinux-abcc2ddae5f82aa6cfca162e3db643dd33f0a2e8.tar.gz
linux-abcc2ddae5f82aa6cfca162e3db643dd33f0a2e8.tar.bz2
linux-abcc2ddae5f82aa6cfca162e3db643dd33f0a2e8.zip
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 (cherry picked from commit abd318237fa6556c1e5225529af145ef15d5ff0d) Signed-off-by: Tvrtko Ursulin <tursulin@ursulin.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions