]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amdgpu:fix vf_error_put
authorMonk Liu <Monk.Liu@amd.com>
Mon, 16 Oct 2017 11:50:44 +0000 (19:50 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Fri, 20 Oct 2017 17:28:44 +0000 (13:28 -0400)
commit483e009ee0a515dd910342e5336cfe2a60205dc5
tree4f59ac885dd43f65fb07ecedfadd6ca3c535985b
parent58cc3a921014e8d7a846cce342a8d6039f840923
drm/amdgpu:fix vf_error_put

1,it should not work on non-SR-IOV case
2,the NO_VBIOS error is incorrect, should
handle it under detect_sriov_bios.
3,wrap the whole detect_sriov_bios with sriov check

Signed-off-by: Monk Liu <Monk.Liu@amd.com>
Reviewed-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
drivers/gpu/drm/amd/amdgpu/amdgpu_vf_error.c