drm/amd/pp: Return error immediately if load firmware failed
authorRex Zhu <Rex.Zhu@amd.com>
Tue, 18 Sep 2018 12:30:36 +0000 (20:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 27 Sep 2018 02:09:04 +0000 (21:09 -0500)
commit19a86c08510f5edf64745e4c090e89ea105a14cf
treeee97699b40559d376b186d3e6a98e233e19f6f48
parent0fb5da0a9b7b3a256eacf1ace2212ad2342a0728
drm/amd/pp: Return error immediately if load firmware failed

this can avoid hard hang and be useful for debug.

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/powerplay/smumgr/smu8_smumgr.c