aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
diff options
context:
space:
mode:
authorUmesh Nerlige Ramappa <umesh.nerlige.ramappa@intel.com>2022-01-10 17:55:23 -0800
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2022-01-31 09:35:05 +0000
commitb3f74938d65665f892d1b7807c51140f68dc911c (patch)
treeaaa8959506bd7b0e16ccd373093368af074dd8a5 /drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c
parent90a3d22ff02b196d5884e111f39271a1d4ee8e3e (diff)
downloadlinux-b3f74938d65665f892d1b7807c51140f68dc911c.tar.gz
linux-b3f74938d65665f892d1b7807c51140f68dc911c.tar.bz2
linux-b3f74938d65665f892d1b7807c51140f68dc911c.zip
drm/i915/pmu: Use PM timestamp instead of RING TIMESTAMP for reference
All timestamps returned by GuC for GuC PMU busyness are captured from GUC PM TIMESTAMP. Since this timestamp does not tick when GuC goes idle, kmd uses RING_TIMESTAMP to measure busyness of an engine with an active context. In further stress testing, the MMIO read of the RING_TIMESTAMP is seen to cause a rare hang. Resolve the issue by using gt specific timestamp from PM which is in sync with the GuC PM timestamp. 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: Alan Previn <alan.previn.teres.alexis@intel.com> Signed-off-by: John Harrison <John.C.Harrison@Intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20220111015523.225562-1-umesh.nerlige.ramappa@intel.com (cherry picked from commit 721fd84ea1fe957453587efad5fdc44dfba58e04) Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c')
0 files changed, 0 insertions, 0 deletions