[oe] [PATCH 3/3] linux-omap-hah-2.6.31: enable XV for omapfb

Denis 'GNUtoo' Carikli GNUtoo at no-log.org
Tue Mar 22 18:44:38 UTC 2011


Without that fix we have that in /var/log/Xorg.0.log:
  [2909187.116] (EE) omapfb(0): Failed to open /dev/fb2: No such file or directory
  [2909187.116] (EE) omapfb(0): XVScreenInit failed
That means that without 3 framebuffers it refuses to enable XV
Setting CONFIG_FB_OMAP2_NUM_FBS to 3 should fix the problem

Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo at no-log.org>
---
 .../linux/linux-omap-hah-2.6.31/bug20/defconfig    |    2 +-
 recipes/linux/linux-omap-hah_2.6.31.bb             |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/linux/linux-omap-hah-2.6.31/bug20/defconfig b/recipes/linux/linux-omap-hah-2.6.31/bug20/defconfig
index b59847b..3216876 100644
--- a/recipes/linux/linux-omap-hah-2.6.31/bug20/defconfig
+++ b/recipes/linux/linux-omap-hah-2.6.31/bug20/defconfig
@@ -1397,7 +1397,7 @@ CONFIG_OMAP2_DSS_MIN_FCK_PER_PCK=0
 CONFIG_FB_OMAP2=y
 # CONFIG_FB_OMAP2_DEBUG_SUPPORT is not set
 # CONFIG_FB_OMAP2_FORCE_AUTO_UPDATE is not set
-CONFIG_FB_OMAP2_NUM_FBS=1
+CONFIG_FB_OMAP2_NUM_FBS=3
 
 #
 # OMAP2/3 Display Device Drivers
diff --git a/recipes/linux/linux-omap-hah_2.6.31.bb b/recipes/linux/linux-omap-hah_2.6.31.bb
index 9170a64..9fd20ba 100644
--- a/recipes/linux/linux-omap-hah_2.6.31.bb
+++ b/recipes/linux/linux-omap-hah_2.6.31.bb
@@ -5,7 +5,7 @@ KERNEL_IMAGETYPE = "uImage"
 
 COMPATIBLE_MACHINE = "bug20"
 
-MACHINE_KERNEL_PR = "r96"
+MACHINE_KERNEL_PR = "r97"
 
 SRCREV = "b8231a0d64e371aca70e69a702dbb57f5d69f376"
 
-- 
1.7.0.4





More information about the Openembedded-devel mailing list