Re: [PATCH] drm/amdgpu: wait for IB test on first device open

2018-11-02 Thread Zhang, Jerry(Junwei)
On 11/2/18 5:32 PM, Christian König wrote: Am 02.11.18 um 10:19 schrieb Zhang, Jerry(Junwei): On 11/2/18 4:44 PM, Christian König wrote: Instead of delaying that to the first query. Otherwise we could try to use the SDMA for VM updates before the IB tests are done. Be curious: Does that happ

Re: [PATCH] drm/amdgpu: wait for IB test on first device open

2018-11-02 Thread Christian König
Am 02.11.18 um 10:19 schrieb Zhang, Jerry(Junwei): On 11/2/18 4:44 PM, Christian König wrote: Instead of delaying that to the first query. Otherwise we could try to use the SDMA for VM updates before the IB tests are done. Be curious: Does that happen when App opens dri node without libdrm? s

Re: [PATCH] drm/amdgpu: wait for IB test on first device open

2018-11-02 Thread Zhang, Jerry(Junwei)
On 11/2/18 4:44 PM, Christian König wrote: Instead of delaying that to the first query. Otherwise we could try to use the SDMA for VM updates before the IB tests are done. Be curious: Does that happen when App opens dri node without libdrm? since device init always queries info at first. Regar

RE: [PATCH] drm/amdgpu: wait for IB test on first device open

2018-11-02 Thread Zhou, David(ChunMing)
Reviewed-by: Chunming Zhou > -Original Message- > From: amd-gfx On Behalf Of > Christian K?nig > Sent: Friday, November 02, 2018 4:45 PM > To: amd-gfx@lists.freedesktop.org > Subject: [PATCH] drm/amdgpu: wait for IB test on first device open > > Instead of de

[PATCH] drm/amdgpu: wait for IB test on first device open

2018-11-02 Thread Christian König
Instead of delaying that to the first query. Otherwise we could try to use the SDMA for VM updates before the IB tests are done. Signed-off-by: Christian König --- drivers/gpu/drm/amd/amdgpu/amdgpu_kms.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/gpu/drm/am