Re: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed

2019-01-03 Thread Koenig, Christian
Christian >> ; amd-gfx@lists.freedesktop.org >> Subject: Re: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt >> accessed >> >> Writes are then not ignored and garbage the dummy page. >> >> Christian. >> >> Am 03.01.19 um 10:46 schrieb Zho

RE: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed

2019-01-03 Thread Zhou, David(ChunMing)
ng) ; Koenig, Christian > ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt > accessed > > Writes are then not ignored and garbage the dummy page. > > Christian. > > Am 03.01.19 um 10:46 schrieb Zhou, David(ChunMing):

Re: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed

2019-01-03 Thread Christian König
, January 03, 2019 5:23 PM To: Koenig, Christian ; amd- g...@lists.freedesktop.org Subject: RE: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed -Original Message- From: Christian König Sent: Thursday, January 03, 2019 5:05 PM To: Zhou, David(ChunMing) ; Koenig, Christian

RE: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed

2019-01-03 Thread Zhou, David(ChunMing)
E: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt > accessed > > > > > -Original Message- > > From: Christian König > > Sent: Thursday, January 03, 2019 5:05 PM > > To: Zhou, David(ChunMing) ; Koenig, Christian > > ; Zhou, David(ChunMing) &

Re: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed

2019-01-03 Thread Koenig, Christian
top.org >> Subject: Re: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt >> accessed >> >> Yes, exactly. >> >> Problem is that we then probably need two page tables. One for the CB/TC >> and one for the SDMA. > But when setup page table, how can we k

RE: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed

2019-01-03 Thread Zhou, David(ChunMing)
> -Original Message- > From: Christian König > Sent: Thursday, January 03, 2019 5:05 PM > To: Zhou, David(ChunMing) ; Koenig, Christian > ; Zhou, David(ChunMing) > ; amd-gfx@lists.freedesktop.org > Subject: Re: [PATCH 2/2] drm/amdgpu: disable vm fault irq during pr

Re: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed

2019-01-03 Thread Christian König
Yes, exactly. Problem is that we then probably need two page tables. One for the CB/TC and one for the SDMA. Christian. Am 03.01.19 um 10:02 schrieb zhoucm1: need dummy page for that? -David On 2019年01月03日 17:01, Christian König wrote: NAK, the problem is not the interrupt. E.g.

Re: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed

2019-01-03 Thread zhoucm1
need dummy page for that? -David On 2019年01月03日 17:01, Christian König wrote: NAK, the problem is not the interrupt. E.g. causing faults by accessing unmapped pages with the SDMA can still crash the MC. The key point is that SDMA can't work with PRT tiles on pre-gmc9 and we need to

Re: [PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed

2019-01-03 Thread Christian König
NAK, the problem is not the interrupt. E.g. causing faults by accessing unmapped pages with the SDMA can still crash the MC. The key point is that SDMA can't work with PRT tiles on pre-gmc9 and we need to forbid access on the application side. Regards, Christian. Am 03.01.19 um 09:54

[PATCH 2/2] drm/amdgpu: disable vm fault irq during prt accessed

2019-01-03 Thread Chunming Zhou
For pre-gmc9, UMD can only access unmapped PRT tile from CB/TC without firing VM fault. Kernel would still receive the VM fault interrupt and output the error message if SDMA is the mc_client. GMC9 don't need the same since it handle the PRT in different way. We cannot just skip message for SDMA,