]> git.proxmox.com Git - mirror_ubuntu-disco-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)
commit6867e1b5fbd1a9deaf95a1bd23ea930063c8d216
tree4f59ac885dd43f65fb07ecedfadd6ca3c535985b
parentef4c166dc2335bf20c7a854a0de52d17ed9f2f38
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