]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drm/amdgpu: Implement Runtime Bad Page query for VFs
authorEllen Pan <yunru.pan@amd.com>
Tue, 29 Apr 2025 20:48:09 +0000 (16:48 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 7 May 2025 21:41:49 +0000 (17:41 -0400)
commit5da3d8820dd3202d5ae871050e45facb2787235d
treeb91db527c27e25145926c35e725c9ea76b6ec0dd
parent6615f1ad34d379c3ddb67f924702bbbcc602507b
drm/amdgpu: Implement Runtime Bad Page query for VFs

Host will send a notification when new bad pages are available.

Uopn guest request, the first 256 bad page addresses
will be placed into the PF2VF region.
Guest should pause the PF2VF worker thread while
the copy is in progress.

Reviewed-by: Shravan Kumar Gande <Shravankumar.Gande@amd.com>
Signed-off-by: Victor Skvortsov <victor.skvortsov@amd.com>
Signed-off-by: Ellen Pan <yunru.pan@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c
drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c
drivers/gpu/drm/amd/amdgpu/mxgpu_ai.h
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.c
drivers/gpu/drm/amd/amdgpu/mxgpu_nv.h