Re: [PATCH] drm/amdgpu/gfx9: reset compute ring wptr when gpu reset

2019-06-11 Thread Alex Deucher
On Tue, Jun 4, 2019 at 11:44 AM Yintian Tao wrote: > > We need reset compute ring wptr to zero when gpu reset > in order to prevent CP hang. > > Signed-off-by: Yintian Tao Acked-by: Alex Deucher > --- > drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 + > 1 file changed, 1 insertion(+) > > diff --g

[PATCH] drm/amdgpu/gfx9: reset compute ring wptr when gpu reset

2019-06-04 Thread Yintian Tao
We need reset compute ring wptr to zero when gpu reset in order to prevent CP hang. Signed-off-by: Yintian Tao --- drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v9_0.c index 2e9cac