diff options
author | Alex Deucher <alexander.deucher@amd.com> | 2019-05-17 09:21:13 -0500 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2019-05-28 14:47:20 -0500 |
commit | d55f33da541324c7f41156dd6d045b8b450de230 (patch) | |
tree | 14f66bfb6c1de0e03649a5433e0d8a25e1b7399e /drivers/gpu/drm/amd/amdgpu | |
parent | 8d8a5a64a8904ea32bbf7292b89c11156d64f9a1 (diff) | |
download | lwn-d55f33da541324c7f41156dd6d045b8b450de230.tar.gz lwn-d55f33da541324c7f41156dd6d045b8b450de230.zip |
drm/amdgpu/soc15: skip reset on init
Not necessary on soc15 and breaks driver reload on server cards.
Acked-by: Amber Lin <Amber.Lin@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu')
-rw-r--r-- | drivers/gpu/drm/amd/amdgpu/soc15.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/amdgpu/soc15.c b/drivers/gpu/drm/amd/amdgpu/soc15.c index 32dc5a128249..78bd4fc07bab 100644 --- a/drivers/gpu/drm/amd/amdgpu/soc15.c +++ b/drivers/gpu/drm/amd/amdgpu/soc15.c @@ -761,6 +761,11 @@ static bool soc15_need_reset_on_init(struct amdgpu_device *adev) { u32 sol_reg; + /* Just return false for soc15 GPUs. Reset does not seem to + * be necessary. + */ + return false; + if (adev->flags & AMD_IS_APU) return false; |