mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 13:16:41 +00:00
disable GEM for Intel i915 driver, X seems to work again even if Xv still suffers some issues
This commit is contained in:
parent
cc31d5c877
commit
e748cf8573
14
packages/linux/patches/35_intel-drm-disable-gem.diff
Normal file
14
packages/linux/patches/35_intel-drm-disable-gem.diff
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
diff -Naur linux-2.6.29.1.orig/drivers/gpu/drm/i915/i915_dma.c linux-2.6.29.1/drivers/gpu/drm/i915/i915_dma.c
|
||||||
|
--- linux-2.6.29.1.orig/drivers/gpu/drm/i915/i915_dma.c 2009-04-05 19:44:07.000000000 +0200
|
||||||
|
+++ linux-2.6.29.1/drivers/gpu/drm/i915/i915_dma.c 2009-04-05 19:45:42.000000000 +0200
|
||||||
|
@@ -1113,8 +1113,8 @@
|
||||||
|
/* don't enable GEM on PAE - needs agp + set_memory_* interface fixes */
|
||||||
|
dev_priv->has_gem = 0;
|
||||||
|
#else
|
||||||
|
- /* enable GEM by default */
|
||||||
|
- dev_priv->has_gem = 1;
|
||||||
|
+ /* disable GEM by default */
|
||||||
|
+ dev_priv->has_gem = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
dev->driver->get_vblank_counter = i915_get_vblank_counter;
|
Loading…
x
Reference in New Issue
Block a user