summaryrefslogtreecommitdiff
path: root/recipes/linux
diff options
context:
space:
mode:
authorFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-02-13 18:21:57 +0100
committerFrans Meulenbroeks <fransmeulenbroeks@gmail.com>2010-02-13 18:21:57 +0100
commit1625118ca3c1443f545fd76bf4df52b8f2413cc3 (patch)
tree7d1496746a855d7e7a7f1f472a2015c7296f6caa /recipes/linux
parent5e395edd24c3a00fb9074cd892cf6fcab6203c4d (diff)
linux-2.6.32i eee701 fixed intelfb driver.
Fixed an issue with the intelfb driver giving an error when starting on eeepc patch originaltes from: http://lists.freedesktop.org/archives/intel-gfx/2010-February/005803.html Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/linux')
-rw-r--r--recipes/linux/linux-2.6.32/eee701/intelfb.patch16
-rw-r--r--recipes/linux/linux_2.6.32.bb5
2 files changed, 20 insertions, 1 deletions
diff --git a/recipes/linux/linux-2.6.32/eee701/intelfb.patch b/recipes/linux/linux-2.6.32/eee701/intelfb.patch
new file mode 100644
index 0000000000..b723b52b99
--- /dev/null
+++ b/recipes/linux/linux-2.6.32/eee701/intelfb.patch
@@ -0,0 +1,16 @@
+t a/drivers/gpu/drm/i915/intel_fb.c b/drivers/gpu/drm/i915/intel_fb.c
+index 371d753..aaabbcb 100644
+--- a/drivers/gpu/drm/i915/intel_fb.c
++++ b/drivers/gpu/drm/i915/intel_fb.c
+@@ -148,7 +148,7 @@ static int intelfb_create(struct drm_device *dev, uint32_t fb_width,
+
+ mutex_lock(&dev->struct_mutex);
+
+- ret = i915_gem_object_pin(fbo, PAGE_SIZE);
++ ret = i915_gem_object_pin(fbo, 64*1024);
+ if (ret) {
+ DRM_ERROR("failed to pin fb: %d\n", ret);
+ goto out_unref;
+--
+1.6.6.1
+
diff --git a/recipes/linux/linux_2.6.32.bb b/recipes/linux/linux_2.6.32.bb
index d13021a19e..90c3f8811b 100644
--- a/recipes/linux/linux_2.6.32.bb
+++ b/recipes/linux/linux_2.6.32.bb
@@ -1,6 +1,6 @@
require linux.inc
-PR = "r6"
+PR = "r7"
S = "${WORKDIR}/linux-${PV}"
@@ -58,3 +58,6 @@ SRC_URI_append_collie = "${ZAURUSPATCHES}"
SRC_URI_append_poodle = "${ZAURUSPATCHES}"
SRC_URI_append_spitz = "${ZAURUSPATCHES}"
SRC_URI_append_tosa = "${ZAURUSPATCHES}"
+
+SRC_URI_append_eee701 = " \
+ file://intelfb.patch;patch=1 "