]> git.itanic.dy.fi Git - linux-stable/commit
drm/amdgpu: cache gpuvm fault information for gmc7+
authorAlex Deucher <alexander.deucher@amd.com>
Thu, 29 Sep 2022 15:57:12 +0000 (11:57 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 4 Oct 2023 22:37:07 +0000 (18:37 -0400)
commit8dbf1ba867c23a581973207d6d1d15ed72e814a7
tree4005de1ff16c0fd39ab24067c89a97c44334d76a
parent2e8ef6a56129526a67b1058124be0839ab8f976a
drm/amdgpu: cache gpuvm fault information for gmc7+

Cache the current fault info in the vm struct.  This can be queried
by userspace later to help debug UMDs.

Cc: samuel.pitoiset@gmail.com
Reviewed-by: Christian König <christian.koenig@amd.com>
Acked-by: Guchun Chen <guchun.chen@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/gmc_v10_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v11_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v7_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v8_0.c
drivers/gpu/drm/amd/amdgpu/gmc_v9_0.c