[oe-commits] Frans Meulenbroeks : linux-2.6.32i eee701 fixed intelfb driver.

git version control git at git.openembedded.org
Mon Feb 15 06:23:43 UTC 2010


Module: openembedded.git
Branch: shr/testing2010
Commit: 1625118ca3c1443f545fd76bf4df52b8f2413cc3
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1625118ca3c1443f545fd76bf4df52b8f2413cc3

Author: Frans Meulenbroeks <fransmeulenbroeks at gmail.com>
Date:   Sat Feb 13 18:21:57 2010 +0100

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 at gmail.com>

---

 recipes/linux/linux-2.6.32/eee701/intelfb.patch |   16 ++++++++++++++++
 recipes/linux/linux_2.6.32.bb                   |    5 ++++-
 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 0000000..b723b52
--- /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 d13021a..90c3f88 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 "





More information about the Openembedded-commits mailing list