RE: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-29 Thread Errabolu, Ramesh
: Surface svm_attr_gobm, a RW module parameter On 2024-08-26 15:34, Ramesh Errabolu wrote: > Enables users to update the default size of buffer used in migration > either from Sysmem to VRAM or vice versa. > The param GOBM refers to granularity of buffer migration, and is > specified

RE: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-29 Thread Errabolu, Ramesh
Ramesh mailto:ramesh.errab...@amd.com>>; amd-gfx@lists.freedesktop.org<mailto:amd-gfx@lists.freedesktop.org> Subject: Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter On 2024-08-26 15:34, Ramesh Errabolu wrote: Enables users to update the default size of buffer used in mig

Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Felix Kuehling
:* Errabolu, Ramesh ; amd-gfx@lists.freedesktop.org *Subject:* Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter On 8/28/2024 2:52 PM, Errabolu, Ramesh wrote:     Response inline     Regards,     Ramesh     -Original Message-     From: Chen, Xiaogang

RE: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Errabolu, Ramesh
From: Chen, Xiaogang Sent: Wednesday, August 28, 2024 4:38 PM To: Kuehling, Felix ; Errabolu, Ramesh ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter On 8/28/2024 4:05 PM, Felix Kuehling wrote: On 2024-08-28 16:34, Chen

Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Chen, Xiaogang
@lists.freedesktop.org *Subject:* Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter On 8/28/2024 2:52 PM, Errabolu, Ramesh wrote:     Response inline     Regards,     Ramesh     -Original Message-     From: Chen, Xiaogang <mailto:xiaogang.c...@amd.com>     Sent: Wednesday,

Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Felix Kuehling
To: Errabolu, Ramesh <mailto:ramesh.errab...@amd.com>;amd-gfx@lists.freedesktop.org Subject: Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter Why need this driver parameter? kfd has KFD_IOCTL_SVM_ATTR_GRANULARITY api that allows user space to set migration gra

Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Felix Kuehling
On 2024-08-26 15:34, Ramesh Errabolu wrote: Enables users to update the default size of buffer used in migration either from Sysmem to VRAM or vice versa. The param GOBM refers to granularity of buffer migration, and is specified in terms of log(numPages(buffer)). It facilitates users of unregi

Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Chen, Xiaogang
On 8/28/2024 3:26 PM, Errabolu, Ramesh wrote: Responses inline Regards, Ramesh *From:*Chen, Xiaogang *Sent:* Wednesday, August 28, 2024 3:01 PM *To:* Errabolu, Ramesh ; amd-gfx@lists.freedesktop.org *Subject:* Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter On 8

RE: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Errabolu, Ramesh
Responses inline Regards, Ramesh From: Chen, Xiaogang Sent: Wednesday, August 28, 2024 3:01 PM To: Errabolu, Ramesh ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter On 8/28/2024 2:52 PM, Errabolu, Ramesh wrote: Response inline

Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Chen, Xiaogang
On 8/28/2024 2:52 PM, Errabolu, Ramesh wrote: Response inline Regards, Ramesh -Original Message- From: Chen, Xiaogang Sent: Wednesday, August 28, 2024 2:43 PM To: Errabolu, Ramesh;amd-gfx@lists.freedesktop.org Subject: Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module

RE: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Errabolu, Ramesh
Response inline Regards, Ramesh   -Original Message- From: Chen, Xiaogang Sent: Wednesday, August 28, 2024 2:43 PM To: Errabolu, Ramesh ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter Why need this driver parameter? kfd

Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Chen, Xiaogang
Why need this driver parameter? kfd has KFD_IOCTL_SVM_ATTR_GRANULARITY api that allows user space to set migration granularity per prange. If both got set which will take precedence? Regards Xiaogang On 8/26/2024 2:34 PM, Ramesh Errabolu wrote: Caution: This message originated from an Ext

RE: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Kasiviswanathan, Harish
[AMD Official Use Only - AMD Internal Distribution Only] Some comments inline. From: amd-gfx On Behalf Of Philip Yang Sent: Wednesday, August 28, 2024 11:49 AM To: Errabolu, Ramesh ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

Re: [PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-28 Thread Philip Yang
On 2024-08-26 15:34, Ramesh Errabolu wrote: Enables users to update the default size of buffer used in migration either from Sysmem to VRAM or vice versa. The param GOBM refers to granularity of buffer migration, and is specified in terms of log(numPages(buff

[PATCH v2] drm/amdgpu: Surface svm_attr_gobm, a RW module parameter

2024-08-26 Thread Ramesh Errabolu
Enables users to update the default size of buffer used in migration either from Sysmem to VRAM or vice versa. The param GOBM refers to granularity of buffer migration, and is specified in terms of log(numPages(buffer)). It facilitates users of unregistered memory to control GOBM, albeit at a coars