]> 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)
commite87369f6a1c91df7d4212e221c86aaa4f9c99cc5
treea494d4a7bc2007fc974f71c1fa084a85accb5379
parentebebb8e88d0d4db69ea7bda23407f8deb1357a01
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