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

2025-01-13 Thread Chen, Xiaogang
On 1/12/2025 8:02 PM, Deng, Emily wrote: [AMD Official Use Only - AMD Internal Distribution Only] -Original Message- From: Chen, Xiaogang Sent: Saturday, January 11, 2025 2:13 AM To: Yang, Philip ; Deng, Emily ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH v4] drm/amdkfd: Fix

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

2025-01-12 Thread Deng, Emily
[AMD Official Use Only - AMD Internal Distribution Only] >-Original Message- >From: Chen, Xiaogang >Sent: Saturday, January 11, 2025 2:13 AM >To: Yang, Philip ; Deng, Emily ; >amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH v4] drm/amdkfd: Fix partial migrate issue

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

2025-01-10 Thread Chen, Xiaogang
On 1/10/2025 11:33 AM, Philip Yang wrote: On 2025-01-10 11:23, Chen, Xiaogang wrote: On 1/10/2025 8:37 AM, Philip Yang wrote: On 2025-01-10 02:49, Emily Deng wrote: For partial migrate from ram to vram, the migrate->cpages is not equal to migrate->npages, should use migrate->npages to c

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

2025-01-10 Thread Philip Yang
On 2025-01-10 11:23, Chen, Xiaogang wrote: On 1/10/2025 8:37 AM, Philip Yang wrote: On 2025-01-10 02:49, Emily Deng wrote: For partial migrate from ram to vram, the migrate->cpages is n

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

2025-01-10 Thread Chen, Xiaogang
On 1/10/2025 8:37 AM, Philip Yang wrote: On 2025-01-10 02:49, 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 pa

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

2025-01-10 Thread Philip Yang
On 2025-01-10 02:49, 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 v4] drm/amdkfd: Fix partial migrate issue

2025-01-09 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