diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0411-drm-amdgpu-removing-BO_VAs-shouldn-t-be-interruptibl.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0411-drm-amdgpu-removing-BO_VAs-shouldn-t-be-interruptibl.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0411-drm-amdgpu-removing-BO_VAs-shouldn-t-be-interruptibl.patch b/common/recipes-kernel/linux/files/0411-drm-amdgpu-removing-BO_VAs-shouldn-t-be-interruptibl.patch new file mode 100644 index 00000000..73a4953f --- /dev/null +++ b/common/recipes-kernel/linux/files/0411-drm-amdgpu-removing-BO_VAs-shouldn-t-be-interruptibl.patch @@ -0,0 +1,32 @@ +From 24c5ef3421e327723bf545d458821b758d3fd0fe Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com> +Date: Thu, 17 Mar 2016 17:14:10 +0100 +Subject: [PATCH 0411/1110] drm/amdgpu: removing BO_VAs shouldn't be + interruptible +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Signed-off-by: Christian König <christian.koenig@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_gem.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +index e9bf5a5..a095776 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +@@ -161,7 +161,7 @@ void amdgpu_gem_object_close(struct drm_gem_object *obj, + + amdgpu_vm_get_pd_bo(vm, &list, &vm_pd); + +- r = ttm_eu_reserve_buffers(&ticket, &list, true, &duplicates); ++ r = ttm_eu_reserve_buffers(&ticket, &list, false, &duplicates); + if (r) { + dev_err(adev->dev, "leaking bo va because " + "we fail to reserve bo (%d)\n", r); +-- +2.7.4 + |