Re: [PATCH v2] drm/amdgpu: Clean sdma wptr register when only enable wptr polling

2018-03-07 Thread Christian König
ay, March 07, 2018 9:52 AM To: amd-gfx@lists.freedesktop.org Cc: Deng, Emily <emily.d...@amd.com> Subject: [PATCH v2] drm/amdgpu: Clean sdma wptr register when only enable wptr polling The sdma wptr polling memory is not fast enough, then the sdma wptr register will be random, and not equal t

RE: [PATCH v2] drm/amdgpu: Clean sdma wptr register when only enable wptr polling

2018-03-06 Thread Yu, Xiangliang
ily.d...@amd.com> > Subject: [PATCH v2] drm/amdgpu: Clean sdma wptr register when only > enable wptr polling > > The sdma wptr polling memory is not fast enough, then the sdma wptr > register will be random, and not equal to sdma rptr, which will cause sdma > engine hang when

[PATCH v2] drm/amdgpu: Clean sdma wptr register when only enable wptr polling

2018-03-06 Thread Emily Deng
The sdma wptr polling memory is not fast enough, then the sdma wptr register will be random, and not equal to sdma rptr, which will cause sdma engine hang when load driver, so clean up the sdma wptr directly to fix this issue. v2:add comment above the code and correct coding style Signed-off-by: