]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/powerplay: smu needs to be initialized after rlc in direct mode
authorHuang Rui <ray.huang@amd.com>
Wed, 20 Feb 2019 12:05:11 +0000 (20:05 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 21 Jun 2019 23:59:24 +0000 (18:59 -0500)
commitf213b765653c8e2a57cdd6e8eba0ea663ae58a47
tree02d839727b587b65988f40e804a3b325cd568b64
parent416336cfb8bf7c0803d319738e217ffb78db1f10
drm/amd/powerplay: smu needs to be initialized after rlc in direct mode

For gfx 10, rlc firmware loading relies on smu firmware is loaded firstly, so in
direct type, it has to load smc ucode here before rlc. And meanwhile, the smu
initialization has to move after rlc, otherwise, smu message will get failure
during the handshake with rlc and smu.

Signed-off-by: Huang Rui <ray.huang@amd.com>
Reviewed-by: Hawking Zhang <Hawking.Zhang@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/powerplay/amdgpu_smu.c