RE: [PATCH] SWDEV-197284 - drm/amdgpu: Only use the peek function in productor side is not correct

2019-08-12 Thread Deng, Emily
Ok, please ignore this patch. Best wishes Emily Deng >-Original Message- >From: Christian König >Sent: Tuesday, August 13, 2019 1:00 AM >To: Deng, Emily ; amd-gfx@lists.freedesktop.org >Subject: Re: [PATCH] SWDEV-197284 - drm/amdgpu: Only use the peek >function in productor side is not

Re: [PATCH] SWDEV-197284 - drm/amdgpu: Only use the peek function in productor side is not correct

2019-08-12 Thread Christian König
Am 12.08.19 um 09:42 schrieb Emily Deng: For spsc queue, use peek function would cause error in productor side. As for the last element, when the push job is occurring during pop job, the peek function will not be updated in time, and it will return NULL. So use queue count for double