summaryrefslogtreecommitdiff
path: root/recipes/linux
diff options
context:
space:
mode:
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 "