Home Home > GIT Browse > SLE15-AZURE
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-05-14 13:22:36 +0200
committerThomas Zimmermann <tzimmermann@suse.de>2019-05-14 13:22:36 +0200
commit3b2528e70f15aa88596725731caf3e8aa6737e0f (patch)
treeda23ef608fa88569fefc56a1b2936911cf36035f
parente241de49cc7fd60729fe5197ea9e91e1dadc3858 (diff)
drm/ttm: Remove warning about inconsistent mapping information (bnc#1131488)
-rw-r--r--patches.suse/0001-drm-ttm-Remove-warning-about-inconsistent-mapping-in.patch33
-rw-r--r--series.conf1
2 files changed, 34 insertions, 0 deletions
diff --git a/patches.suse/0001-drm-ttm-Remove-warning-about-inconsistent-mapping-in.patch b/patches.suse/0001-drm-ttm-Remove-warning-about-inconsistent-mapping-in.patch
new file mode 100644
index 0000000000..06f8d5fb5f
--- /dev/null
+++ b/patches.suse/0001-drm-ttm-Remove-warning-about-inconsistent-mapping-in.patch
@@ -0,0 +1,33 @@
+From d719a1ff8391101ba5cb0998943dfb3f77d47e7f Mon Sep 17 00:00:00 2001
+From: Thomas Zimmermann <tzimmermann@suse.de>
+Date: Tue, 14 May 2019 12:37:31 +0200
+Subject: drm/ttm: Remove warning about inconsistent mapping information
+Patch-mainline: Never, local cleanup
+References: bnc#1131488
+
+Fixing the issue of bnc1131488 requires changing a significant amount
+of the fbdev emulation. As the problem is rather cosmetical, we drop
+the warning for now.
+
+Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
+Acked-by: Thomas Zimmermann <tzimmermann@suse.de>
+---
+ drivers/gpu/drm/ttm/ttm_bo_vm.c | 2 --
+ 1 file changed, 2 deletions(-)
+
+diff --git a/drivers/gpu/drm/ttm/ttm_bo_vm.c b/drivers/gpu/drm/ttm/ttm_bo_vm.c
+index 622dab6c4347..90a56c6724b5 100644
+--- a/drivers/gpu/drm/ttm/ttm_bo_vm.c
++++ b/drivers/gpu/drm/ttm/ttm_bo_vm.c
+@@ -284,8 +284,6 @@ static void ttm_bo_vm_open(struct vm_area_struct *vma)
+ struct ttm_buffer_object *bo =
+ (struct ttm_buffer_object *)vma->vm_private_data;
+
+- WARN_ON(bo->bdev->dev_mapping != vma->vm_file->f_mapping);
+-
+ (void)ttm_bo_reference(bo);
+ }
+
+--
+2.21.0
+
diff --git a/series.conf b/series.conf
index 54e2986311..0b4b1f3b32 100644
--- a/series.conf
+++ b/series.conf
@@ -21908,6 +21908,7 @@
patches.suse/scsi-libsas-allocate-sense-buffer-for-bsg-queue.patch
patches.fixes/qla2xxx-always-allocate-qla_tgt_wq.patch
patches.suse/lpfc-validate-command-in-lpfc_sli4_scmd_to_wqidx_dis.patch
+ patches.suse/0001-drm-ttm-Remove-warning-about-inconsistent-mapping-in.patch
########################################################
# end of sorted patches