aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
diff options
context:
space:
mode:
authorYuBiao Wang <YuBiao.Wang@amd.com>2021-06-29 11:21:25 +0800
committerAlex Deucher <alexander.deucher@amd.com>2021-07-08 15:12:36 -0400
commit5af4438f1e830d090183c5f329d2ddbb09f3a5ee (patch)
treeb1511e9888a6a1bebaa4137423ae95e0d9c62d2d /drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c
parent51627f03804173a64d23828bc9e4d8474451814f (diff)
downloadlinux-5af4438f1e830d090183c5f329d2ddbb09f3a5ee.tar.gz
linux-5af4438f1e830d090183c5f329d2ddbb09f3a5ee.tar.bz2
linux-5af4438f1e830d090183c5f329d2ddbb09f3a5ee.zip
drm/amdgpu: Read clock counter via MMIO to reduce delay (v5)
[Why] GPU timing counters are read via KIQ under sriov, which will introduce a delay. [How] It could be directly read by MMIO. v2: Add additional check to prevent carryover issue. v3: Only check for carryover for once to prevent performance issue. v4: Add comments of the rough frequency where carryover happens. v5: Remove mutex and gfxoff ctrl unused with current timing registers. Signed-off-by: YuBiao Wang <YuBiao.Wang@amd.com> Acked-by: Horace Chen <horace.chen@amd.com> Reviewed-by: Christian König <christian.koenig@amd.co> Reviewed-by: Monk Liu <monk.liu@amd.com> Reviewed-by: Lijo Lazar <lijo.lazar@amd.com> Reviewed-by: Luben Tuikov <luben.tuikov@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c')
0 files changed, 0 insertions, 0 deletions