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

login
register
mail settings
Submitter Denis Carikli
Date March 22, 2011, 6:44 p.m.
Message ID <1300819478-6906-3-git-send-email-GNUtoo@no-log.org>
Download mbox | patch
Permalink /patch/1699/
State Rejected
Headers show

Comments

Denis Carikli - March 22, 2011, 6:44 p.m.
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@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(-)

Patch

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"