]> 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)
commitc21ae4d52251e437da2e2cddb7331f66d20ee86e
treef4d90fb41a9ca78295d8dd4feab269c9dace76f7
parent6a05b963a0f7c4879f85a8fdb51a5f0d3ce5643e
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