drm/amd/amdgpu: S3 resumed failed after 4-5 times loop
authorjimqu <Jim.Qu@amd.com>
Fri, 19 Aug 2016 01:31:50 +0000 (09:31 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 19 Aug 2016 16:32:55 +0000 (12:32 -0400)
commitabc8c1ce48b6ab32224cd6902645f9acb8e7e686
tree8257c56de39336fae06b95eeae9e5eb94e3d6f20
parent27798e07ed9a8e9ae8d71c7a2b0ec3f313076cb8
drm/amd/amdgpu: S3 resumed failed after 4-5 times loop

Phenomenon: software hang when device resume back, read UVD fence is 0xffffffff
and read pcie pid is 0xffff.
The issue is caused by VCE reset when update cg setting. according to HW programming
guide, adjust update VCE cg sequence.
The patch apply to VCE2.0.

Signed-off-by: JimQu <Jim.Qu@amd.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/vce_v2_0.c