diff options
Diffstat (limited to 'common/recipes-kernel/linux/files/0279-drm-amdgpu-silence-invalid-error-message.patch')
-rw-r--r-- | common/recipes-kernel/linux/files/0279-drm-amdgpu-silence-invalid-error-message.patch | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/common/recipes-kernel/linux/files/0279-drm-amdgpu-silence-invalid-error-message.patch b/common/recipes-kernel/linux/files/0279-drm-amdgpu-silence-invalid-error-message.patch new file mode 100644 index 00000000..93380fdd --- /dev/null +++ b/common/recipes-kernel/linux/files/0279-drm-amdgpu-silence-invalid-error-message.patch @@ -0,0 +1,30 @@ +From 68fdd3df79ee4bff4d63dab920b01d9ed5731115 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Christian=20K=C3=B6nig?= <christian.koenig@amd.com> +Date: Tue, 16 Jun 2015 14:50:02 +0200 +Subject: [PATCH 0279/1050] drm/amdgpu: silence invalid error message +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: Leo Liu <leo.liu@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 0ec2222..c3ea363 100644 +--- a/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c ++++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c +@@ -496,7 +496,7 @@ error_unreserve: + error_free: + drm_free_large(vm_bos); + +- if (r) ++ if (r && r != -ERESTARTSYS) + DRM_ERROR("Couldn't update BO_VA (%d)\n", r); + } + +-- +1.9.1 + |