]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Handle fault with same timestamp
authorPhilip Yang <Philip.Yang@amd.com>
Wed, 8 Dec 2021 19:55:15 +0000 (14:55 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 13 Dec 2021 21:32:35 +0000 (16:32 -0500)
commitc7b53c01b5a13daa90a62bcad87c0722546efeb2
tree286b4d6afd2aad9c8cd58af6b554596415fb7fc6
parent89fc76dde23e22053399dac97cbaed28ed190dc7
drm/amdgpu: Handle fault with same timestamp

Remove not unique timestamp WARNING as same timestamp interrupt happens
on some chips,

Drain fault need to wait for the processed_timestamp to be truly greater
than the checkpoint or the ring to be empty to be sure no stale faults
are handled.

Bug: https://gitlab.freedesktop.org/drm/amd/-/issues/1818
Signed-off-by: Philip Yang <Philip.Yang@amd.com>
Reviewed-by: Felix Kuehling <Felix.Kuehling@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_ih.c
drivers/gpu/drm/amd/amdgpu/amdgpu_irq.c