RE: [PATCH v3] drm/amdkfd: Fix partial migrate issue

2025-01-08 Thread Deng, Emily
[AMD Official Use Only - AMD Internal Distribution Only] From: Yang, Philip Sent: Thursday, January 9, 2025 6:05 AM To: Deng, Emily ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH v3] drm/amdkfd: Fix partial migrate issue On 2025-01-08 08:19, Emily Deng wrote: For partial migrate from

Re: [PATCH v3] drm/amdkfd: Fix partial migrate issue

2025-01-08 Thread Philip Yang
On 2025-01-08 08:19, Emily Deng wrote: For partial migrate from ram to vram, the migrate->cpages is not equal to migrate->npages, should use migrate->npages to check all needed migrate pages which could be copied or not. And only need to set those pages could be m

[PATCH v3] drm/amdkfd: Fix partial migrate issue

2025-01-08 Thread Emily Deng
For partial migrate from ram to vram, the migrate->cpages is not equal to migrate->npages, should use migrate->npages to check all needed migrate pages which could be copied or not. And only need to set those pages could be migrated to migrate->dst[i], or the migrate_vma_pages will migrate the wro