]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu: Check late_init status before set cg/pg state
authorRex Zhu <Rex.Zhu@amd.com>
Wed, 3 Oct 2018 08:19:50 +0000 (16:19 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 10 Oct 2018 19:48:44 +0000 (14:48 -0500)
commit6ff2292d2f3f6383c788e061f687ea2d1fe647fd
treea494d4a7bc2007fc974f71c1fa084a85accb5379
parentc6b1bf163a4e8b88820cf54677551959af2d0628
drm/amdgpu: Check late_init status before set cg/pg state

Fix cg/pg unexpected set in hw init failed case.

Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Rex Zhu <Rex.Zhu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c