ian ; dri-devel@lists.freedesktop.org; Ghimiray, Himal Prasad
; Bommu, Krishnaiah ; Gupta, saurabhg
; Vishwanathapura, Niranjana ; intel...@lists.freedesktop.org;
Danilo Krummrich ; Shah, Ankur N ; jgli...@redhat.com; rcampb...@nvidia.com;
apop...@nvidia.com
Subject: RE: Making drm_gpuvm work across
redhat.com; rcampb...@nvidia.com;
apop...@nvidia.com
Subject: RE: Making drm_gpuvm work across gpu devices
Hi Christian/Daniel/Dave/Felix/Thomas, and all,
We have been refining our design internally in the past month. Below is our
plan. Please let us know if you have any concern.
1) Remove pseu
, Niranjana ;
Brost, Matthew ; Gupta, saurabhg
*Subject:* Re: Making drm_gpuvm work across gpu devices
Hi Oak,
Am 23.02.24 um 21:12 schrieb Zeng, Oak:
Hi Christian,
I go back this old email to ask a question.
sorry totally missed that one.
Quote from your email:
“Those ranges
g; Danilo Krummrich ; Shah, Ankur N
> ; jgli...@redhat.com; rcampb...@nvidia.com;
> apop...@nvidia.com
> Subject: Re: Making drm_gpuvm work across gpu devices
>
> Hi Oak,
>
> Am 31.01.24 um 21:17 schrieb Zeng, Oak:
> > Hi Sima, Dave,
> >
> > I am well aware n
ah ; Ghimiray, Himal
> > Prasad
> > ;
> > thomas.hellst...@linux.intel.com;
> > Vishwanathapura, Niranjana ;
> > Brost, Matthew ; Gupta, saurabhg
> >
> > *Subject:* Re: Making drm_gpuvm work across gpu devices
> >
> > Hi Oak,
> >
> > Am 23.02.2
thomas.hellst...@linux.intel.com<mailto:thomas.hellst...@linux.intel.com>;
Vishwanathapura, Niranjana
mailto:niranjana.vishwanathap...@intel.com>>;
Brost, Matthew mailto:matthew.br...@intel.com>>;
Gupta, saurabhg mailto:saurabhg.gu...@intel.com>>
Subject: Re: Making drm_gpuvm work acros
;
dri-devel@lists.freedesktop.org; intel...@lists.freedesktop.org;
Bommu, Krishnaiah ; Ghimiray, Himal Prasad
; thomas.hellst...@linux.intel.com;
Vishwanathapura, Niranjana ;
Brost, Matthew ; Gupta, saurabhg
*Subject:* Re: Making drm_gpuvm work across gpu devices
Hi Oak,
Am 23.02.24 um 21
m>;
Vishwanathapura, Niranjana
mailto:niranjana.vishwanathap...@intel.com>>;
Brost, Matthew mailto:matthew.br...@intel.com>>;
Gupta, saurabhg mailto:saurabhg.gu...@intel.com>>
Subject: Re: Making drm_gpuvm work across gpu devices
Hi Oak,
Am 23.02.24 um 21:12 schrieb Zeng
;
thomas.hellst...@linux.intel.com; Vishwanathapura, Niranjana
; Brost, Matthew
; Gupta, saurabhg
Subject: Re: Making drm_gpuvm work across gpu devices
Hi Oak,
Am 23.02.24 um 21:12 schrieb Zeng, Oak:
Hi Christian,
I go back this old email to ask a question.
sorry totally missed that one
; intel...@lists.freedesktop.org;
Bommu, Krishnaiah ; Ghimiray, Himal Prasad
; thomas.hellst...@linux.intel.com;
Vishwanathapura, Niranjana ;
Brost, Matthew ; Gupta, saurabhg
*Subject:* Re: Making drm_gpuvm work across gpu devices
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
Yes
, Krishnaiah ;
Ghimiray, Himal Prasad ;
thomas.hellst...@linux.intel.com; Vishwanathapura, Niranjana
; Brost, Matthew
; Gupta, saurabhg
Subject: Re: Making drm_gpuvm work across gpu devices
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
Yes most API are per device based.
One exception I know
Gupta, saurabhg ;
Vishwanathapura, Niranjana ; intel-
x...@lists.freedesktop.org; Danilo Krummrich ; Shah, Ankur N
; jgli...@redhat.com; rcampb...@nvidia.com;
apop...@nvidia.com
Subject: Re: Making drm_gpuvm work across gpu devices
On Wed, Jan 31, 2024 at 09:12:39AM +1000, David Airlie wrote:
On
; Felix Kuehling
> > ; Welty, Brian ; dri-
> > de...@lists.freedesktop.org; Ghimiray, Himal Prasad
> > ; Bommu, Krishnaiah
> > ; Gupta, saurabhg
> ;
> > Vishwanathapura, Niranjana ; intel-
> > x...@lists.freedesktop.org; Danilo Krummrich ; Shah, Ankur
> N
mu, Krishnaiah
> ; Gupta, saurabhg ;
> Vishwanathapura, Niranjana ; intel-
> x...@lists.freedesktop.org; Danilo Krummrich ; Shah, Ankur N
> ; jgli...@redhat.com; rcampb...@nvidia.com;
> apop...@nvidia.com
> Subject: Re: Making drm_gpuvm work across gpu devices
>
> On Wed, Jan
On Wed, Jan 31, 2024 at 09:12:39AM +1000, David Airlie wrote:
> On Wed, Jan 31, 2024 at 8:29 AM Zeng, Oak wrote:
> >
> > Hi Christian,
> >
> >
> >
> > Nvidia Nouveau driver uses exactly the same concept of SVM with HMM, GPU
> > address in the same process is exactly the same with CPU virtual addr
On Wed, Jan 31, 2024 at 8:29 AM Zeng, Oak wrote:
>
> Hi Christian,
>
>
>
> Nvidia Nouveau driver uses exactly the same concept of SVM with HMM, GPU
> address in the same process is exactly the same with CPU virtual address. It
> is already in upstream Linux kernel. We Intel just follow the same
;
intel...@lists.freedesktop.org; Danilo Krummrich
Subject: Re: Making drm_gpuvm work across gpu devices
Am 30.01.24 um 01:21 schrieb Zeng, Oak:
The example you used to prove that KFD is a design failure, is against *any*
design which utilize system allocator and hmm. The way that one proxy
ktop.org; Ghimiray, Himal Prasad
; Bommu, Krishnaiah
; Gupta, saurabhg
; Vishwanathapura, Niranjana
; intel...@lists.freedesktop.org;
Danilo Krummrich
*Subject:* Re: Making drm_gpuvm work across gpu devices
Well Daniel and Dave noted it as well, so I'm just repeating it: Your
design cho
rost, Matthew ; Felix Kuehling
; Welty, Brian ;
dri-devel@lists.freedesktop.org; Ghimiray, Himal Prasad
; Bommu, Krishnaiah
; Gupta, saurabhg
; Vishwanathapura, Niranjana
; intel...@lists.freedesktop.org;
Danilo Krummrich
*Subject:* Re: Making drm_gpuvm work across gpu devices
Well Daniel an
, Brian ;
dri-devel@lists.freedesktop.org; Ghimiray, Himal Prasad
; Bommu, Krishnaiah
; Gupta, saurabhg ;
Vishwanathapura, Niranjana ;
intel...@lists.freedesktop.org; Danilo Krummrich
Subject: Re: Making drm_gpuvm work across gpu devices
Well Daniel and Dave noted it as well, so I'm
On 2024-01-29 14:03, Christian König wrote:
Am 29.01.24 um 18:52 schrieb Felix Kuehling:
On 2024-01-29 11:28, Christian König wrote:
Am 29.01.24 um 17:24 schrieb Felix Kuehling:
On 2024-01-29 10:33, Christian König wrote:
Am 29.01.24 um 16:03 schrieb Felix Kuehling:
On 2024-01-25 13:32, Da
om>; Danilo Krummrich
<mailto:d...@redhat.com>; Daniel
Vetter <mailto:dan...@ffwll.ch>; Brost, Matthew
<mailto:matthew.br...@intel.com>; Bommu,
Krishnaiah <mailto:krishnaiah.bo...@intel.com>;
Vishwanathapura, Niranjana
<mailto:niranjana.vishwanathap...@intel.co
Am 29.01.24 um 18:52 schrieb Felix Kuehling:
On 2024-01-29 11:28, Christian König wrote:
Am 29.01.24 um 17:24 schrieb Felix Kuehling:
On 2024-01-29 10:33, Christian König wrote:
Am 29.01.24 um 16:03 schrieb Felix Kuehling:
On 2024-01-25 13:32, Daniel Vetter wrote:
On Wed, Jan 24, 2024 at 09:
On 2024-01-29 11:28, Christian König wrote:
Am 29.01.24 um 17:24 schrieb Felix Kuehling:
On 2024-01-29 10:33, Christian König wrote:
Am 29.01.24 um 16:03 schrieb Felix Kuehling:
On 2024-01-25 13:32, Daniel Vetter wrote:
On Wed, Jan 24, 2024 at 09:33:12AM +0100, Christian König wrote:
Am 23
Am 29.01.24 um 17:24 schrieb Felix Kuehling:
On 2024-01-29 10:33, Christian König wrote:
Am 29.01.24 um 16:03 schrieb Felix Kuehling:
On 2024-01-25 13:32, Daniel Vetter wrote:
On Wed, Jan 24, 2024 at 09:33:12AM +0100, Christian König wrote:
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
Yes
On 2024-01-29 10:33, Christian König wrote:
Am 29.01.24 um 16:03 schrieb Felix Kuehling:
On 2024-01-25 13:32, Daniel Vetter wrote:
On Wed, Jan 24, 2024 at 09:33:12AM +0100, Christian König wrote:
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
Yes most API are per device based.
One exceptio
Am 29.01.24 um 16:03 schrieb Felix Kuehling:
On 2024-01-25 13:32, Daniel Vetter wrote:
On Wed, Jan 24, 2024 at 09:33:12AM +0100, Christian König wrote:
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
Yes most API are per device based.
One exception I know is actually the kfd SVM API. If you lo
On 2024-01-25 13:32, Daniel Vetter wrote:
On Wed, Jan 24, 2024 at 09:33:12AM +0100, Christian König wrote:
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
Yes most API are per device based.
One exception I know is actually the kfd SVM API. If you look at the svm_ioctl
function, it is per-proce
p.org
*Subject:* Re: Making drm_gpuvm work across gpu devices
Am 26.01.24 um 09:21 schrieb Thomas Hellström:
Hi, all
On Thu, 2024-01-25 at 19:32 +0100, Daniel Vetter wrote:
On Wed, Jan 24, 2024 at 09:33:12AM +0100, Christian König wrote:
Am 23.01.24 um 20:37 sc
...@lists.freedesktop.org;intel...@lists.freedesktop.org; Gupta, saurabhg
; Danilo Krummrich; Daniel
Vetter; Brost, Matthew; Bommu,
Krishnaiah; Vishwanathapura, Niranjana
Subject: Re: Making drm_gpuvm work across gpu devices
Hi Oak,
you can still use SVM, but it should not be a design criteria for the
;
Vishwanathapura, Niranjana ;
intel...@lists.freedesktop.org
Subject: Re: Making drm_gpuvm work across gpu devices
Am 26.01.24 um 09:21 schrieb Thomas Hellström:
Hi, all
On Thu, 2024-01-25 at 19:32 +0100, Daniel Vetter wrote:
On Wed, Jan 24, 2024 at 09:33:12AM +0100, Christian König wrote:
Am 23.01.24
hah, Ankur N ; dri-
> de...@lists.freedesktop.org; intel...@lists.freedesktop.org; Gupta, saurabhg
> ; Danilo Krummrich ; Daniel
> Vetter ; Brost, Matthew ; Bommu,
> Krishnaiah ; Vishwanathapura, Niranjana
>
> Subject: Re: Making drm_gpuvm work across gpu devices
>
> Hi Oak,
>
> you can
; intel-
x...@lists.freedesktop.org; Bommu, Krishnaiah;
Ghimiray, Himal Prasad;
thomas.hellst...@linux.intel.com; Vishwanathapura, Niranjana
; Brost, Matthew
; Gupta, saurabhg
Subject: Re: Making drm_gpuvm work across gpu devices
On 2024-01-24 20:17, Zeng, Oak wrote:
Hi Christian,
Even though I
Am 26.01.24 um 09:21 schrieb Thomas Hellström:
Hi, all
On Thu, 2024-01-25 at 19:32 +0100, Daniel Vetter wrote:
On Wed, Jan 24, 2024 at 09:33:12AM +0100, Christian König wrote:
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
Yes most API are per device based.
One exception I know is actually t
urabhg
; Danilo Krummrich ; Daniel
Vetter ; Brost, Matthew ; Bommu,
Krishnaiah ; Vishwanathapura, Niranjana
; Christian König
Subject: Re: Making drm_gpuvm work across gpu devices
For us, Xekmd doesn't need to know it is running under bare metal or
virtualized environment. Xekmd is always
Hi, all
On Thu, 2024-01-25 at 19:32 +0100, Daniel Vetter wrote:
> On Wed, Jan 24, 2024 at 09:33:12AM +0100, Christian König wrote:
> > Am 23.01.24 um 20:37 schrieb Zeng, Oak:
> > > [SNIP]
> > > Yes most API are per device based.
> > >
> > > One exception I know is actually the kfd SVM API. If you
;
Dave Airlie ; Daniel Vetter
Cc: Welty, Brian ; dri-devel@lists.freedesktop.org;
intel-
x...@lists.freedesktop.org; Bommu, Krishnaiah
;
Ghimiray, Himal Prasad ;
thomas.hellst...@linux.intel.com; Vishwanathapura, Niranjana
; Brost, Matthew
Subject: Re: Making drm_gpuvm work across gpu devices
Hi
s.freedesktop.org; Bommu, Krishnaiah
> ; Ghimiray, Himal Prasad
> ; thomas.hellst...@linux.intel.com;
> Vishwanathapura, Niranjana ; Brost,
> Matthew ; Gupta, saurabhg
>
> Subject: Re: Making drm_gpuvm work across gpu devices
>
> On Wed, Jan 24, 2024 at 09:33:12AM +0100,
sktop.org;
> intel-
> x...@lists.freedesktop.org; Bommu, Krishnaiah ;
> Ghimiray, Himal Prasad ;
> thomas.hellst...@linux.intel.com; Vishwanathapura, Niranjana
> ; Brost, Matthew
> ; Gupta, saurabhg
> Subject: Re: Making drm_gpuvm work across gpu devices
>
>
> On 2
On Wed, Jan 24, 2024 at 09:33:12AM +0100, Christian König wrote:
> Am 23.01.24 um 20:37 schrieb Zeng, Oak:
> > [SNIP]
> > Yes most API are per device based.
> >
> > One exception I know is actually the kfd SVM API. If you look at the
> > svm_ioctl function, it is per-process based. Each kfd_proce
p.org; intel...@lists.freedesktop.org;
Bommu, Krishnaiah ; Ghimiray, Himal Prasad
; thomas.hellst...@linux.intel.com;
Vishwanathapura, Niranjana ;
Brost, Matthew ; Gupta, saurabhg
*Subject:* Re: Making drm_gpuvm work across gpu devices
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
, Krishnaiah ;
Ghimiray, Himal Prasad ;
thomas.hellst...@linux.intel.com; Vishwanathapura, Niranjana
; Brost, Matthew
; Gupta, saurabhg
Subject: Re: Making drm_gpuvm work across gpu devices
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
Yes most API are per device based.
One exception I know is
; Vishwanathapura, Niranjana
> ; Christian König
>
> Subject: Re: Making drm_gpuvm work across gpu devices
>
> >
> >
> > For us, Xekmd doesn't need to know it is running under bare metal or
> virtualized environment. Xekmd is always a guest driver. All the vir
el@lists.freedesktop.org;
> intel-
> x...@lists.freedesktop.org; Bommu, Krishnaiah ;
> Ghimiray, Himal Prasad ;
> thomas.hellst...@linux.intel.com; Vishwanathapura, Niranjana
> ; Brost, Matthew
> ; Gupta, saurabhg
> Subject: Re: Making drm_gpuvm work across gpu devices
>
&g
>
>
> For us, Xekmd doesn't need to know it is running under bare metal or
> virtualized environment. Xekmd is always a guest driver. All the virtual
> address used in xekmd is guest virtual address. For SVM, we require all the
> VF devices share one single shared address space with guest CPU pr
jana
; Brost, Matthew
; Gupta, saurabhg
Subject: Re: Making drm_gpuvm work across gpu devices
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
Yes most API are per device based.
One exception I know is actually the kfd SVM API. If you look at the svm_ioctl
function, it is per-process b
Am 23.01.24 um 20:37 schrieb Zeng, Oak:
[SNIP]
Yes most API are per device based.
One exception I know is actually the kfd SVM API. If you look at the svm_ioctl
function, it is per-process based. Each kfd_process represent a process across
N gpu devices.
Yeah and that was a big mistake in my
@lists.freedesktop.org; Ghimiray,
Himal Prasad ; Gupta, saurabhg
; Bommu, Krishnaiah
; Vishwanathapura, Niranjana
; intel...@lists.freedesktop.org
Subject: RE: Making drm_gpuvm work across gpu devices
Thanks a lot Danilo.
Maybe I wasn't clear enough. In the solution I proposed, each device still have
separate vm
, Matthew ;
> thomas.hellst...@linux.intel.com; dri-devel@lists.freedesktop.org; Ghimiray,
> Himal Prasad ; Gupta, saurabhg
> ; Bommu, Krishnaiah
> ; Vishwanathapura, Niranjana
> ; intel...@lists.freedesktop.org
> Subject: RE: Making drm_gpuvm work across gpu devices
>
> Thanks a l
x.intel.com; Vishwanathapura, Niranjana
> ; Brost, Matthew
> ; Gupta, saurabhg
> Subject: Re: Making drm_gpuvm work across gpu devices
>
> Hi Oak,
>
> On 1/23/24 20:37, Zeng, Oak wrote:
> > Thanks Christian. I have some comment inline below.
> >
> > Danilo
intel-
x...@lists.freedesktop.org; Bommu, Krishnaiah ;
Ghimiray, Himal Prasad ;
thomas.hellst...@linux.intel.com; Vishwanathapura, Niranjana
; Brost, Matthew
Subject: Re: Making drm_gpuvm work across gpu devices
Hi Oak,
Am 23.01.24 um 04:21 schrieb Zeng, Oak:
Hi Danilo and all,
During the wo
linux.intel.com; Vishwanathapura, Niranjana
; Brost, Matthew
Subject: Re: Making drm_gpuvm work across gpu devices
Hi Oak,
Am 23.01.24 um 04:21 schrieb Zeng, Oak:
Hi Danilo and all,
During the work of Intel's SVM code, we came up the idea of making
drm_gpuvm to work across multiple g
er
> Cc: Welty, Brian ; dri-devel@lists.freedesktop.org;
> intel-
> x...@lists.freedesktop.org; Bommu, Krishnaiah ;
> Ghimiray, Himal Prasad ;
> thomas.hellst...@linux.intel.com; Vishwanathapura, Niranjana
> ; Brost, Matthew
>
> Subject: Re: Making drm_gpuvm work across gpu d
Hi Oak,
Am 23.01.24 um 04:21 schrieb Zeng, Oak:
Hi Danilo and all,
During the work of Intel's SVM code, we came up the idea of making drm_gpuvm to
work across multiple gpu devices. See some discussion here:
https://lore.kernel.org/dri-devel/ph7pr11mb70049e7e6a2f40bf6282ecc292...@ph7pr11mb7004
54 matches
Mail list logo