Re: [PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization

2021-04-27 Thread Zeng, Oak
--Original Message- > From: Christian König > Sent: Tuesday, April 27, 2021 23:17 > To: Zhang, Hawking ; Li, Dennis ; amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Kuehling, Felix ; Koenig, Christian > Subject: Re: [PATCH] drm/amdgpu: fix n

Re: [PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization

2021-04-27 Thread Christian König
-gfx@lists.freedesktop.org; Deucher, Alexander ; Kuehling, Felix ; Koenig, Christian Subject: Re: [PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization This is only done during bootup, isn't it? Wouldn't it be better to use the normal IB pool instead of the direct one? Or do

RE: [PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization

2021-04-27 Thread Zhang, Hawking
Subject: Re: [PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization This is only done during bootup, isn't it? Wouldn't it be better to use the normal IB pool instead of the direct one? Or do we also need to do this during GPU reset? Regards, Christian. Am 27.04.21 um 16:55 schrieb

Re: [PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization

2021-04-27 Thread Christian König
Message- From: Dennis Li Sent: Tuesday, April 27, 2021 22:38 To: amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Kuehling, Felix ; Zhang, Hawking ; Koenig, Christian Cc: Li, Dennis Subject: [PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization The number of waves

RE: [PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization

2021-04-27 Thread Zhang, Hawking
-gfx@lists.freedesktop.org; Deucher, Alexander ; Kuehling, Felix ; Koenig, Christian Cc: Li, Dennis Subject: RE: [PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization [AMD Public Use] Please split the following into another patch when you commit the one. Other than

RE: [PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization

2021-04-27 Thread Zhang, Hawking
); break; } - - return; } -Original Message- From: Dennis Li Sent: Tuesday, April 27, 2021 22:38 To: amd-gfx@lists.freedesktop.org; Deucher, Alexander ; Kuehling, Felix ; Zhang, Hawking ; Koenig, Christian Cc: Li, Dennis Subject: [PATCH] drm/amdgpu: fix no full

[PATCH] drm/amdgpu: fix no full coverage issue for gprs initialization

2021-04-27 Thread Dennis Li
The number of waves is changed to 8, so it is impossible to use old solution to cover all sgprs. Signed-off-by: Dennis Li diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ib.c index a2fe2dac32c1..2e6789a7dc46 100644 ---