Re: [PATCH] drm/amdgpu: always use polling mem to update wptr v2

2017-12-12 Thread Christian König
bject: [PATCH] drm/amdgpu: always use polling mem to update wptr v2 Both doorbell and polling mem are working on Tonga VF. SDMA issue happens because SDMA engine accepts doorbell writes even if it's inactive, that introduces conflict when world switch routine update wptr though polling m

RE: [PATCH] drm/amdgpu: always use polling mem to update wptr v2

2017-12-11 Thread Liu, Monk
doing the updating on wptr register in parallel. With that addressed: Reviewed-by: Monk Liu -Original Message- From: Pixel Ding [mailto:pixel.d...@amd.com] Sent: 2017年12月12日 15:26 To: amd-gfx@lists.freedesktop.org; Liu, Monk Cc: Ding, Pixel Subject: [PATCH] drm/amdgpu: always use

[PATCH] drm/amdgpu: always use polling mem to update wptr v2

2017-12-11 Thread Pixel Ding
Both doorbell and polling mem are working on Tonga VF. SDMA issue happens because SDMA engine accepts doorbell writes even if it's inactive, that introduces conflict when world switch routine update wptr though polling memory. Use polling mem in driver too. v2: - standalone pollmem code path Sig

Re: [PATCH] drm/amdgpu: always use polling mem to update wptr

2017-12-11 Thread Ding, Pixel
Hi Monk, Please review. — Sincerely Yours, Pixel On 12/12/2017, 2:05 PM, "Pixel Ding" wrote: Both doorbell and polling mem are working on Tonga VF. SDMA issue happens because SDMA engine accepts doorbell writes even if it's inactive, that introduces conflict when world switch rou

[PATCH] drm/amdgpu: always use polling mem to update wptr

2017-12-11 Thread Pixel Ding
Both doorbell and polling mem are working on Tonga VF. SDMA issue happens because SDMA engine accepts doorbell writes even if it's inactive, that introduces conflict when world switch routine update wptr though polling memory. Use polling mem in driver too. Signed-off-by: Pixel Ding --- drivers/