[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
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
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