drm/amdgpu: fix to clear ASIC INIT COMPLETE bit on resuming phase
authorHuang Rui <ray.huang@amd.com>
Mon, 10 Apr 2017 01:29:13 +0000 (09:29 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 28 Apr 2017 21:32:13 +0000 (17:32 -0400)
commit692bb1ac038a0b736c2b6e9bba41ac2da38e16cf
treef4d90fb41a9ca78295d8dd4feab269c9dace76f7
parentb4de2c5aab2d5cd84c2a648d825b0e48ca426e27
drm/amdgpu: fix to clear ASIC INIT COMPLETE bit on resuming phase

ASIC_INIT_COMPLETE bit must be cleared during S3 resuming phase,
because VBIOS will check the bit to decide if execute ASIC_Init
posting via kernel driver.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_atombios.c
drivers/gpu/drm/amd/amdgpu/amdgpu_atomfirmware.c