Re: [PATCH 01/15] drm/amdgpu: Add interface to reserve bad page

2024-04-22 Thread Christian König
Am 18.04.24 um 04:58 schrieb YiPeng Chai: Add interface to reserve bad page. Signed-off-by: YiPeng Chai Yeah, that approach looks valid to me. Just keep in mind that amdgpu_vram_mgr_query_page_status() is not the fastest function cause it does a linear search. Apart from that

[PATCH 01/15] drm/amdgpu: Add interface to reserve bad page

2024-04-17 Thread YiPeng Chai
Add interface to reserve bad page. Signed-off-by: YiPeng Chai --- drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c | 19 +++ drivers/gpu/drm/amd/amdgpu/amdgpu_ras.h | 4 2 files changed, 23 insertions(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ras.c