* [PATCH 0/3] Adding xf86-video-omap support for Pandaboard
@ 2012-10-19 13:51 Nicolas Dechesne
2012-10-19 13:51 ` [PATCH 1/3] libdrm: enable omap experimental api support Nicolas Dechesne
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Nicolas Dechesne @ 2012-10-19 13:51 UTC (permalink / raw)
To: meta-ti; +Cc: Nicolas Dechesne
From: Nicolas Dechesne <n-dechesne@ti.com>
Hi there,
here is a refreshed series to add support for xf86-video-omap for
Pandaboard.
We've switched all our OMAP4 and OMAP5 support on this new X11 video
driver, which is hosted here:
http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/
that drivers requires changes in libdrm which have all been merged
into upstream, we just need to enable the 'omap' support in libdrm
which is still experimental.
we try to restrict this to 'omap4|omap5' machines so that we don't
impact other TI devices.
this series is tested on PandaES, with:
BB_VERSION = "1.16.0"
TARGET_ARCH = "arm"
TARGET_OS = "linux-gnueabi"
MACHINE = "pandaboard"
DISTRO = "poky"
DISTRO_VERSION = "1.3+snapshot-20121018"
TUNE_FEATURES = "armv7a vfp neon cortexa9"
TARGET_FPU = "vfp-neon"
meta
meta-yocto = "master:e6e2b9bd66100c078c029ca7e34829cf1dfb5490"
meta-ti = "master:9d5f7904444febfaeaacce88f50c5ceb700552f1"
The pandaboard task list is:
DONE: refresh OMAP4 kernel
DONE: introduce new X11 video driver
TODO: introduce customized Gst/gst-ducati and libdce
TODO: add support for DRI2, SGX accelerated EXA, DRI2Video
Some of these patches could certainly make their way in oe-core at
some point.
This Xf86-video-omap driver has been tested with 1.11 Xserver, but
also locally with 1.12. With 1.12 xrandr rotation is working, as a few
rotation related bugs were fixed indeed in 1.12, that could be
backported in 1.11 if needed. xrandr mode setting has been tested with
1.11 and 1.12. Multi display support should work too.
Enrico Butera (1):
libdrm: enable omap experimental api support
Nicolas Dechesne (2):
xf86-video-omap: add new recipe for OMAP4/5 X11 video driver
pandaboard: use xf86-video-omap by default in XSERVER config
conf/machine/include/omap4.inc | 3 +-
recipes-graphics/drm/libdrm_2.4.39.bbappend | 3 +
.../xorg-driver/xf86-video-omap_git.bb | 31 ++++++++++++++
.../xserver-xf86-config/omap4/xorg.conf | 44 +++++++-------------
4 files changed, 51 insertions(+), 30 deletions(-)
create mode 100644 recipes-graphics/drm/libdrm_2.4.39.bbappend
create mode 100644 recipes-graphics/xorg-driver/xf86-video-omap_git.bb
^ permalink raw reply [flat|nested] 5+ messages in thread* [PATCH 1/3] libdrm: enable omap experimental api support
2012-10-19 13:51 [PATCH 0/3] Adding xf86-video-omap support for Pandaboard Nicolas Dechesne
@ 2012-10-19 13:51 ` Nicolas Dechesne
2012-10-19 13:51 ` [PATCH 2/3] xf86-video-omap: add new recipe for OMAP4/5 X11 video driver Nicolas Dechesne
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Nicolas Dechesne @ 2012-10-19 13:51 UTC (permalink / raw)
To: meta-ti; +Cc: Nicolas Dechesne
From: Enrico Butera <ebutera@users.berlios.de>
This is needed to build gst-plugin-ducati.
Signed-off-by: Enrico Butera <ebutera@users.berlios.de>
Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Hervé Fache <h-fache@ti.com>
---
recipes-graphics/drm/libdrm_2.4.39.bbappend | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
create mode 100644 recipes-graphics/drm/libdrm_2.4.39.bbappend
diff --git a/recipes-graphics/drm/libdrm_2.4.39.bbappend b/recipes-graphics/drm/libdrm_2.4.39.bbappend
new file mode 100644
index 0000000..d0c1a77
--- /dev/null
+++ b/recipes-graphics/drm/libdrm_2.4.39.bbappend
@@ -0,0 +1,3 @@
+COMPATIBLE_MACHINE = "omap4|omap5"
+
+EXTRA_OECONF += "--enable-omap-experimental-api"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 2/3] xf86-video-omap: add new recipe for OMAP4/5 X11 video driver
2012-10-19 13:51 [PATCH 0/3] Adding xf86-video-omap support for Pandaboard Nicolas Dechesne
2012-10-19 13:51 ` [PATCH 1/3] libdrm: enable omap experimental api support Nicolas Dechesne
@ 2012-10-19 13:51 ` Nicolas Dechesne
2012-10-19 13:51 ` [PATCH 3/3] pandaboard: use xf86-video-omap by default in XSERVER config Nicolas Dechesne
2012-10-25 1:04 ` [PATCH 0/3] Adding xf86-video-omap support for Pandaboard Denys Dmytriyenko
3 siblings, 0 replies; 5+ messages in thread
From: Nicolas Dechesne @ 2012-10-19 13:51 UTC (permalink / raw)
To: meta-ti; +Cc: Nicolas Dechesne
From: Nicolas Dechesne <n-dechesne@ti.com>
Since this component is still actively being developed, let's use
a _git.bb recipe. We can introduce 'x.y' version later.
Even though xf-video-omap can be combined with private/restricted
EXA sub-driver for SGX/PVR, it can also work without it. In which
case EXA aren't using SGX, but all standard driver features still
work, and it is a replacement for xf-video-fbdev.
Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Hervé Fache <h-fache@ti.com>
---
.../xorg-driver/xf86-video-omap_git.bb | 31 ++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
create mode 100644 recipes-graphics/xorg-driver/xf86-video-omap_git.bb
diff --git a/recipes-graphics/xorg-driver/xf86-video-omap_git.bb b/recipes-graphics/xorg-driver/xf86-video-omap_git.bb
new file mode 100644
index 0000000..abe773a
--- /dev/null
+++ b/recipes-graphics/xorg-driver/xf86-video-omap_git.bb
@@ -0,0 +1,31 @@
+require recipes-graphics/xorg-driver/xorg-driver-video.inc
+
+SUMMARY = "X.Org X server -- TI OMAP integrated graphics chipsets driver"
+
+DESCRIPTION = "Open-source X.org graphics driver for TI OMAP graphics \
+Currently relies on a closed-source submodule for EXA acceleration on \
+the following chipsets: \
+ + OMAP3430 \
+ + OMAP3630 \
+ + OMAP4430 \
+ + OMAP4460 \
+ + OMAP5430 \
+ + OMAP5432 \
+\
+NOTE: this driver is work in progress.. you probably don't want to try \
+and use it yet. The API/ABI between driver and kernel, and driver and \
+acceleration submodules is not stable yet. This driver requires the \
+omapdrm kernel driver w/ GEM support. \
+"
+
+LIC_FILES_CHKSUM = "file://COPYING;md5=10ce5de3b111315ea652a5f74ec0c602"
+
+DEPENDS += "virtual/libx11 drm xf86driproto udev"
+
+SRCREV = "653ccadb38c87be565df3fbf2ff24a0cbe5a5e98"
+PR = "${INC_PR}.1"
+PV = "0.4.2+gitr${SRCPV}"
+
+SRC_URI = "git://anongit.freedesktop.org/xorg/driver/xf86-video-omap;protocol=git"
+
+S = "${WORKDIR}/git"
--
1.7.0.4
^ permalink raw reply related [flat|nested] 5+ messages in thread* [PATCH 3/3] pandaboard: use xf86-video-omap by default in XSERVER config
2012-10-19 13:51 [PATCH 0/3] Adding xf86-video-omap support for Pandaboard Nicolas Dechesne
2012-10-19 13:51 ` [PATCH 1/3] libdrm: enable omap experimental api support Nicolas Dechesne
2012-10-19 13:51 ` [PATCH 2/3] xf86-video-omap: add new recipe for OMAP4/5 X11 video driver Nicolas Dechesne
@ 2012-10-19 13:51 ` Nicolas Dechesne
2012-10-25 1:04 ` [PATCH 0/3] Adding xf86-video-omap support for Pandaboard Denys Dmytriyenko
3 siblings, 0 replies; 5+ messages in thread
From: Nicolas Dechesne @ 2012-10-19 13:51 UTC (permalink / raw)
To: meta-ti; +Cc: Nicolas Dechesne
From: Nicolas Dechesne <n-dechesne@ti.com>
Also we need to pull in module-exa as xf86-video-omap relies
on it, at run time.
And replaced the default xorg.conf for 'omap4' machine to take
new driver into account. Do not enable HWcursor (e.g. mouse
using DSS overlay) to keep things simple for now..
Signed-off-by: Nicolas Dechesne <n-dechesne@ti.com>
Signed-off-by: Hervé Fache <h-fache@ti.com>
---
conf/machine/include/omap4.inc | 3 +-
.../xserver-xf86-config/omap4/xorg.conf | 44 +++++++-------------
2 files changed, 17 insertions(+), 30 deletions(-)
diff --git a/conf/machine/include/omap4.inc b/conf/machine/include/omap4.inc
index 96eaae7..ecd23c4 100644
--- a/conf/machine/include/omap4.inc
+++ b/conf/machine/include/omap4.inc
@@ -11,8 +11,9 @@ XSERVER = "xserver-xorg \
xserver-xorg-extension-dri \
xserver-xorg-extension-dri2 \
xserver-xorg-extension-glx \
+ xserver-xorg-module-exa \
xf86-input-evdev \
- xf86-video-fbdev"
+ xf86-video-omap"
# Increase this everytime you change something in the kernel
MACHINE_KERNEL_PR = "r1"
diff --git a/recipes-graphics/xorg-xserver/xserver-xf86-config/omap4/xorg.conf b/recipes-graphics/xorg-xserver/xserver-xf86-config/omap4/xorg.conf
index 0d6ab43..87ded4d 100644
--- a/recipes-graphics/xorg-xserver/xserver-xf86-config/omap4/xorg.conf
+++ b/recipes-graphics/xorg-xserver/xserver-xf86-config/omap4/xorg.conf
@@ -1,29 +1,15 @@
-Section "Module"
- Load "extmod"
- Load "dbe"
- Load "glx"
- Load "freetype"
- Load "type1"
- Load "record"
- Load "dri"
-EndSection
-
-Section "Monitor"
- Identifier "Builtin Default Monitor"
-EndSection
-
-Section "Device"
- Identifier "Builtin Default fbdev Device 0"
- Driver "fbdev"
-EndSection
-
-Section "Screen"
- Identifier "Builtin Default fbdev Screen 0"
- Device "Builtin Default fbdev Device 0"
- Monitor "Builtin Default Monitor"
-EndSection
-
-Section "ServerLayout"
- Identifier "Builtin Default Layout"
- Screen "Builtin Default fbdev Screen 0"
-EndSection
+# more /usr/share/X11/xorg.conf.d/99-omap.conf
+# X.Org X server configuration file
+
+Section "Device"
+ Identifier "Video Device"
+ Driver "omap"
+ Option "Debug" "false"
+ Option "HWcursor" "false"
+EndSection
+
+Section "Screen"
+ Identifier "Screen"
+ Monitor "Monitor"
+ Device "Video Device"
+EndSection
--
1.7.0.4
^ permalink raw reply related [flat|nested] 5+ messages in thread* Re: [PATCH 0/3] Adding xf86-video-omap support for Pandaboard
2012-10-19 13:51 [PATCH 0/3] Adding xf86-video-omap support for Pandaboard Nicolas Dechesne
` (2 preceding siblings ...)
2012-10-19 13:51 ` [PATCH 3/3] pandaboard: use xf86-video-omap by default in XSERVER config Nicolas Dechesne
@ 2012-10-25 1:04 ` Denys Dmytriyenko
3 siblings, 0 replies; 5+ messages in thread
From: Denys Dmytriyenko @ 2012-10-25 1:04 UTC (permalink / raw)
To: Nicolas Dechesne; +Cc: meta-ti, Nicolas Dechesne
On Fri, Oct 19, 2012 at 03:51:23PM +0200, Nicolas Dechesne wrote:
> From: Nicolas Dechesne <n-dechesne@ti.com>
>
> Hi there,
>
> here is a refreshed series to add support for xf86-video-omap for
> Pandaboard.
Thank you, applied.
--
Denys
> We've switched all our OMAP4 and OMAP5 support on this new X11 video
> driver, which is hosted here:
> http://cgit.freedesktop.org/xorg/driver/xf86-video-omap/
>
> that drivers requires changes in libdrm which have all been merged
> into upstream, we just need to enable the 'omap' support in libdrm
> which is still experimental.
>
> we try to restrict this to 'omap4|omap5' machines so that we don't
> impact other TI devices.
>
> this series is tested on PandaES, with:
>
> BB_VERSION = "1.16.0"
> TARGET_ARCH = "arm"
> TARGET_OS = "linux-gnueabi"
> MACHINE = "pandaboard"
> DISTRO = "poky"
> DISTRO_VERSION = "1.3+snapshot-20121018"
> TUNE_FEATURES = "armv7a vfp neon cortexa9"
> TARGET_FPU = "vfp-neon"
> meta
> meta-yocto = "master:e6e2b9bd66100c078c029ca7e34829cf1dfb5490"
> meta-ti = "master:9d5f7904444febfaeaacce88f50c5ceb700552f1"
>
> The pandaboard task list is:
> DONE: refresh OMAP4 kernel
> DONE: introduce new X11 video driver
> TODO: introduce customized Gst/gst-ducati and libdce
> TODO: add support for DRI2, SGX accelerated EXA, DRI2Video
>
> Some of these patches could certainly make their way in oe-core at
> some point.
>
> This Xf86-video-omap driver has been tested with 1.11 Xserver, but
> also locally with 1.12. With 1.12 xrandr rotation is working, as a few
> rotation related bugs were fixed indeed in 1.12, that could be
> backported in 1.11 if needed. xrandr mode setting has been tested with
> 1.11 and 1.12. Multi display support should work too.
>
>
> Enrico Butera (1):
> libdrm: enable omap experimental api support
>
> Nicolas Dechesne (2):
> xf86-video-omap: add new recipe for OMAP4/5 X11 video driver
> pandaboard: use xf86-video-omap by default in XSERVER config
>
> conf/machine/include/omap4.inc | 3 +-
> recipes-graphics/drm/libdrm_2.4.39.bbappend | 3 +
> .../xorg-driver/xf86-video-omap_git.bb | 31 ++++++++++++++
> .../xserver-xf86-config/omap4/xorg.conf | 44 +++++++-------------
> 4 files changed, 51 insertions(+), 30 deletions(-)
> create mode 100644 recipes-graphics/drm/libdrm_2.4.39.bbappend
> create mode 100644 recipes-graphics/xorg-driver/xf86-video-omap_git.bb
>
> _______________________________________________
> meta-ti mailing list
> meta-ti@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-ti
>
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2012-10-25 1:04 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-10-19 13:51 [PATCH 0/3] Adding xf86-video-omap support for Pandaboard Nicolas Dechesne
2012-10-19 13:51 ` [PATCH 1/3] libdrm: enable omap experimental api support Nicolas Dechesne
2012-10-19 13:51 ` [PATCH 2/3] xf86-video-omap: add new recipe for OMAP4/5 X11 video driver Nicolas Dechesne
2012-10-19 13:51 ` [PATCH 3/3] pandaboard: use xf86-video-omap by default in XSERVER config Nicolas Dechesne
2012-10-25 1:04 ` [PATCH 0/3] Adding xf86-video-omap support for Pandaboard Denys Dmytriyenko
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.