diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0262-drm-amdgpu-always-repost-cards-that-support-SR-IOV.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0262-drm-amdgpu-always-repost-cards-that-support-SR-IOV.patch | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/common/recipes-kernel/linux/files/0262-drm-amdgpu-always-repost-cards-that-support-SR-IOV.patch b/common/recipes-kernel/linux/files/0262-drm-amdgpu-always-repost-cards-that-support-SR-IOV.patch deleted file mode 100644 index 748b62a1..00000000 --- a/common/recipes-kernel/linux/files/0262-drm-amdgpu-always-repost-cards-that-support-SR-IOV.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 7cb1f29018daa909fd4b64df67279b4bab1080c8 Mon Sep 17 00:00:00 2001 -From: Alex Deucher <alexander.deucher@amd.com> -Date: Mon, 1 Feb 2016 11:23:15 -0500 -Subject: [PATCH 0262/1110] drm/amdgpu: always repost cards that support SR-IOV -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Generally a good idea between VM sessions. We need a way to -detect VM pass-through in general and always run asic_init in -that case. - -Reviewed-by: Monk Liu <monk.liu@amd.com> -Reviewed-by: Christian König <christian.koenig@amd.com> -Signed-off-by: Alex Deucher <alexander.deucher@amd.com> ---- - drivers/gpu/drm/amd/amdgpu/amdgpu_device.c | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -index 970844d..b8b132f 100644 ---- a/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -+++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c -@@ -1505,7 +1505,8 @@ int amdgpu_device_init(struct amdgpu_device *adev, - amdgpu_atombios_has_gpu_virtualization_table(adev); - - /* Post card if necessary */ -- if (!amdgpu_card_posted(adev)) { -+ if (!amdgpu_card_posted(adev) || -+ adev->virtualization.supports_sr_iov) { - if (!adev->bios) { - dev_err(adev->dev, "Card not posted and no BIOS - ignoring\n"); - return -EINVAL; --- -2.7.4 - |