drm/amd: reset hw count when reset job
authorChunming Zhou <David1.Zhou@amd.com>
Fri, 22 Jul 2016 05:01:02 +0000 (13:01 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 29 Jul 2016 18:37:05 +0000 (14:37 -0400)
commitbdc2eea4722b96f54edb7588078540505b5ac096
tree8a0f5e79e5396a0b1802126fc3ca8b244adaebb3
parentcd437e37cb836805604d8b607a28ee6769d800ef
drm/amd: reset hw count when reset job

Means the hw ring is empty after gpu reset.

Signed-off-by: Chunming Zhou <David1.Zhou@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/scheduler/gpu_scheduler.c