drm/amdgpu: fix reboot failure issue for virtualization
authorXiangliang Yu <Xiangliang.Yu@amd.com>
Wed, 18 Jan 2017 04:47:55 +0000 (12:47 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 27 Jan 2017 16:13:39 +0000 (11:13 -0500)
commite941ea997d3388dd6d6a8712453c13caacc7a966
tree791ddc8acc40a21df5a975f6cbf2384ac7bf7820
parent9a9993590d03794a56365d6025cf694fd1a8f6da
drm/amdgpu: fix reboot failure issue for virtualization

Reboot process will call HW fini functions of IP blocks. For virt,
need to send event three before hw fini and send event four after
hw fini.

Signed-off-by: Xiangliang Yu <Xiangliang.Yu@amd.com>
Reviewed-by: Monk Liu <Monk.Liu@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/amdgpu_device.c