Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Kuehling, Felix
Sent: Tuesday, March 12, 2019 11:09 AM >>>> To: Russell, Kent ; Koenig, Christian >>>> ; Kuehling, Felix ; >>>> amd-gfx@lists.freedesktop.org >>>> Subject: Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand >>>> >>>> Yeah, same

Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Kuehling, Felix
ery time for me. >> >>Kent >> >>> -Original Message- >>> From: Christian König >>> Sent: Tuesday, March 12, 2019 11:09 AM >>> To: Russell, Kent ; Koenig, Christian >>> ; Kuehling, Felix ; >>> amd-gfx@lists.freedesktop.org >>>

Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Yang, Philip
e, so I ended >> up >> having to remove the libhsakmt package and pointing it to the folders >> instead. >>> >>>Kent >>> >>>> -----Original Message- >>>> From: Koenig, Christian >>>> Sent: Tuesday, March 12, 201

Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Kuehling, Felix
al Message- >>>> From: Kuehling, Felix >>>> Sent: Friday, March 08, 2019 11:16 PM >>>> To: Koenig, Christian ; Russell, Kent >>>> ; amd-gfx@lists.freedesktop.org >>>> Subject: RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand &g

Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Kuehling, Felix
nal Message- >>> From: Kuehling, Felix >>> Sent: Friday, March 08, 2019 11:16 PM >>> To: Koenig, Christian ; Russell, Kent >>> ; amd-gfx@lists.freedesktop.org >>> Subject: RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand >>> >&

RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Russell, Kent
> ; Kuehling, Felix ; > amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand > > Yeah, same problem here. > > I removed libhsakmt package and installed it manually and now it seems to > work. > > Doing some testing now, but

Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Christian König
To: Russell, Kent ; Kuehling, Felix ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand Yeah, the problem is I do have the libhsakmt installed. Going to give it a try to specify the directory directly. Christian. Am 12.03.19 um 15:47 schrieb

RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Russell, Kent
istian > Sent: Tuesday, March 12, 2019 10:49 AM > To: Russell, Kent ; Kuehling, Felix > ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand > > Yeah, the problem is I do have the libhsakmt installed. > > Going to give it

Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Koenig, Christian
eb Russell, Kent: >>>>  From what I've been able to dig through, the VM Fault seems to occur >>>> right after a doorbell mmap, but that's as far as I got. I can try to >>>> revert it in today's merge and see how things go. >>>> >>>>

RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Russell, Kent
t ; Kuehling, Felix > ; Koenig, Christian > ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand > > Hi guys, > > so found a few minutes today to compile kfdtest. > > Problem is that during the compile I get a lots

Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-12 Thread Christian König
/amdgpu: allocate VM PDs/PTs on demand My concerns were related to eviction fence handing. It would manifest by unnecessary eviction callbacks into KFD that aren't cause by real evictions. I addressed that with a previous patch series that removed the need to remove eviction fences and add them

Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-11 Thread Christian König
Message- From: Kuehling, Felix Sent: Friday, March 08, 2019 11:16 PM To: Koenig, Christian ; Russell, Kent ; amd-gfx@lists.freedesktop.org Subject: RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand My concerns were related to eviction fence handing. It would manifest by unnecessary eviction

RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-11 Thread Russell, Kent
11:16 PM > To: Koenig, Christian ; Russell, Kent > ; amd-gfx@lists.freedesktop.org > Subject: RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand > > My concerns were related to eviction fence handing. It would manifest by > unnecessary eviction callbacks into KFD that aren't

RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-08 Thread Kuehling, Felix
://github.com/RadeonOpenCompute/ROCT-Thunk-Interface Regards, Felix -Original Message- From: amd-gfx On Behalf Of Christian König Sent: Friday, March 08, 2019 9:14 AM To: Russell, Kent ; amd-gfx@lists.freedesktop.org Subject: Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand My best

RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-08 Thread Russell, Kent
That dmesg was from Fiji, but it occurred on Vega10 as well. Kent > -Original Message- > From: Christian König > Sent: Friday, March 08, 2019 9:14 AM > To: Russell, Kent ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on dema

Re: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-08 Thread Christian König
My best guess is that we forget somewhere to update the PDs. What hardware is that on? Felix already mentioned that this could be problematic for the KFD. Maybe he has an idea, Christian. Am 08.03.19 um 15:04 schrieb Russell, Kent: Hi Christian, This patch ended up causing a VM Fault in

RE: [PATCH 3/6] drm/amdgpu: allocate VM PDs/PTs on demand

2019-03-08 Thread Russell, Kent
Hi Christian, This patch ended up causing a VM Fault in KFDTest. Reverting just this patch addressed the issue: [ 82.703503] amdgpu :0c:00.0: GPU fault detected: 146 0x480c for process pid 0 thread pid 0 [ 82.703512] amdgpu :0c:00.0: VM_CONTEXT1_PROTECTION_FAULT_ADDR