Add patch to turn of WC mmaps on i915 from airlied (rhbz 1226743)
This commit is contained in:
parent
3d17f6ae21
commit
ea54a55052
21
drm-i915-turn-off-wc-mmaps.patch
Normal file
21
drm-i915-turn-off-wc-mmaps.patch
Normal 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 68e0c85a17cf..21118db9aee2 100644
|
||||
--- a/drivers/gpu/drm/i915/i915_dma.c
|
||||
+++ b/drivers/gpu/drm/i915/i915_dma.c
|
||||
@@ -151,7 +151,7 @@ static int i915_getparam(struct drm_device *dev, void *data,
|
||||
value = 1;
|
||||
break;
|
||||
case I915_PARAM_MMAP_VERSION:
|
||||
- value = 1;
|
||||
+ value = 0;
|
||||
break;
|
||||
case I915_PARAM_SUBSLICE_TOTAL:
|
||||
value = INTEL_INFO(dev)->subslice_total;
|
@ -615,6 +615,9 @@ Patch26218: n_tty-Fix-auditing-support-for-cannonical-mode.patch
|
||||
#rhbz 1133378
|
||||
Patch26219: firmware-Drop-WARN-from-usermodehelper_read_trylock-.patch
|
||||
|
||||
#rhbz 1226743
|
||||
Patch26221: drm-i915-turn-off-wc-mmaps.patch
|
||||
|
||||
# END OF PATCH DEFINITIONS
|
||||
|
||||
%endif
|
||||
@ -1348,6 +1351,9 @@ ApplyPatch n_tty-Fix-auditing-support-for-cannonical-mode.patch
|
||||
#rhbz 1133378
|
||||
ApplyPatch firmware-Drop-WARN-from-usermodehelper_read_trylock-.patch
|
||||
|
||||
#rhbz 1226743
|
||||
ApplyPatch drm-i915-turn-off-wc-mmaps.patch
|
||||
|
||||
# END OF PATCH APPLICATIONS
|
||||
|
||||
%endif
|
||||
@ -2212,6 +2218,9 @@ fi
|
||||
#
|
||||
#
|
||||
%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>
|
||||
- Drop that blasted firwmare warning until we get a real fix (rhbz 1133378)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user