]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb9774c0237f0a359db40a1c1760b76640febee48
treef4d90fb41a9ca78295d8dd4feab269c9dace76f7
parent5a5189063f9f2f495811662456f597181d47616f
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