drm/amdgpu: error out on mode1 reset failure
authorEvan Quan <evan.quan@amd.com>
Fri, 15 Mar 2019 02:02:59 +0000 (10:02 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 28 Mar 2019 03:40:12 +0000 (22:40 -0500)
commit39fee32b467c2773fdd71cb7cb2e0cdcb4104269
treeee6d1a06af0e069eccfb0efbd1f2df6061cb04df
parentfed184e9057a438910e7093ca7d9cf564b71bb16
drm/amdgpu: error out on mode1 reset failure

The error return value should be correctly reflected.

Signed-off-by: Evan Quan <evan.quan@amd.com>
Reviewed-by: Feifei Xu <Feifei.Xu@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/soc15.c