Add patch to turn of WC mmaps on i915 from airlied (rhbz 1226743)

This commit is contained in:
Josh Boyer 2015-06-04 07:14:37 -04:00
parent 17e7d60988
commit f1ce368bf3
2 changed files with 30 additions and 0 deletions

View File

@ -0,0 +1,21 @@
From: Dave Airlie <airlied@redhat.com>
Date: Thu, 4 Jun 2015 07:12:20 -0400
Subject: [PATCH] drm: i915: turn off wc mmaps
---
drivers/gpu/drm/i915/i915_dma.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/i915/i915_dma.c b/drivers/gpu/drm/i915/i915_dma.c
index 1a46787129e7..e41096ea77f1 100644
--- a/drivers/gpu/drm/i915/i915_dma.c
+++ b/drivers/gpu/drm/i915/i915_dma.c
@@ -147,7 +147,7 @@ static int i915_getparam(struct drm_device *dev, void *data,
value = 1;
break;
case I915_PARAM_MMAP_VERSION:
- value = 1;
+ value = 0;
break;
default:
DRM_DEBUG("Unknown parameter %d\n", param->param);

View File

@ -811,6 +811,9 @@ Patch26219: 0001-firmware-Drop-WARN-from-usermodehelper_read_trylock-.patch
# FAF Problem 885578
Patch26220: 0001-mwifiex-use-del_timer-variant-in-interrupt-context.patch
#rhbz 1226743
Patch26221: drm-i915-turn-off-wc-mmaps.patch
# END OF PATCH DEFINITIONS
%endif
@ -1591,6 +1594,9 @@ ApplyPatch 0001-firmware-Drop-WARN-from-usermodehelper_read_trylock-.patch
# FAF Problem 885578
ApplyPatch 0001-mwifiex-use-del_timer-variant-in-interrupt-context.patch
#rhbz 1226743
ApplyPatch drm-i915-turn-off-wc-mmaps.patch
# END OF PATCH APPLICATIONS
%endif
@ -2402,6 +2408,9 @@ fi
# ||----w |
# || ||
%changelog
* Thu Jun 04 2015 Josh Boyer <jwboyer@fedoraproject.org>
- Add patch to turn of WC mmaps on i915 from airlied (rhbz 1226743)
* Wed Jun 03 2015 Laura Abbott <labbott@fedoraproject.org>
- Fix del_timer_sync in mwifiex