Re: [PATCH v2] drm/amdkfd: Use partial hmm page walk during buffer validation in SVM

2023-12-06 Thread Chen, Xiaogang
On 12/5/2023 12:48 PM, Philip Yang wrote: On 2023-12-04 15:23, Xiaogang.Chen wrote: From: Xiaogang Chen v2: -not need calculate vram page number for new registered svm range, only do it for split vram pages. SVM uses hmm page walk to valid buffer before map to gpu vm. After have partial mi

Re: [PATCH v2] drm/amdkfd: Use partial hmm page walk during buffer validation in SVM

2023-12-05 Thread Philip Yang
On 2023-12-04 15:23, Xiaogang.Chen wrote: From: Xiaogang Chen v2: -not need calculate vram page number for new registered svm range, only do it for split vram pages. SVM uses hmm page walk to valid buffer before map to gpu vm. After have partial migration/

[PATCH v2] drm/amdkfd: Use partial hmm page walk during buffer validation in SVM

2023-12-04 Thread Xiaogang . Chen
From: Xiaogang Chen v2: -not need calculate vram page number for new registered svm range, only do it for split vram pages. SVM uses hmm page walk to valid buffer before map to gpu vm. After have partial migration/mapping do validation on same vm range as migration/map do instead of whole svm ra