drm/amdgpu: reset wptr at cp compute resume (v2)
authorSonny Jiang <sonny.jiang@amd.com>
Tue, 23 Jun 2015 15:59:55 +0000 (11:59 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jun 2015 15:21:48 +0000 (11:21 -0400)
commit845253e78a7871ae87cdc5c135a914c58d6d4f64
tree5b6d1e7091e3b4defc346574012fa943e88e9dc6
parentdc78330a8e07285a26f165242c3a86744ef3ad20
drm/amdgpu: reset wptr at cp compute resume (v2)

This patch is to resolve compute hang at resume time.

v2: (agd5f) squash in second fix

Signed-off-by: Sonny Jiang <sonny.jiang@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
drivers/gpu/drm/amd/amdgpu/gfx_v8_0.c