]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/amdgpu: query the allocated vram address block info
authorYiPeng Chai <YiPeng.Chai@amd.com>
Thu, 10 Jul 2025 05:51:57 +0000 (13:51 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Jul 2025 20:40:06 +0000 (16:40 -0400)
commit020ad3a4ed62e5e8d97db27008c1e470f91bfd8d
tree9cd4c9904da9177436ec5949951d0fab3dc77b73
parentdef57ea33fb79d72c9bd3a4216f2bb77e768d7ca
drm/amdgpu: query the allocated vram address block info

The bad pages that need to be retired are not all allocated
in the same poison consumption process, so an interface is
needed to query the processes that allocate the bad pages.
By killing all the processes that allocate the bad pages,
the bad pages can be reserved immediately.

Signed-off-by: YiPeng Chai <YiPeng.Chai@amd.com>
Reviewed-by: Tao Zhou <tao.zhou1@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vram_mgr.h