All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements
@ 2016-09-22  5:47 Andreas Müller
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 1/6] mesa: align for vc4 Andreas Müller
                   ` (6 more replies)
  0 siblings, 7 replies; 14+ messages in thread
From: Andreas Müller @ 2016-09-22  5:47 UTC (permalink / raw)
  To: yocto

Patches I am using for a while. If my images don't break for other
issues I am able to run X11 and weston accelerated in one image. Had
never a machine before able to do that.

Andreas Müller (6):
  mesa: align for vc4
  xorg align for vc4
  vc4: why no framebuffer device?
  linux-raspberrypi: update to 4.4.21
  eglinfo-x11: align to VC4
  rpi-base.inc: build vc4-fkms-v3d.dtbo

 conf/machine/include/rpi-base.inc                  |  1 +
 recipes-graphics/eglinfo/eglinfo-x11_%.bbappend    |  2 +-
 recipes-graphics/mesa/mesa_%.bbappend              |  1 +
 .../xorg-xserver/xserver-xorg_%.bbappend           |  9 +++++++
 .../0002-vc4-ioctl-rendering-allow.patch           | 29 ----------------------
 recipes-kernel/linux/linux-raspberrypi_4.4.bb      |  5 ++--
 recipes-kernel/linux/linux-rpi.inc                 |  2 +-
 7 files changed, 15 insertions(+), 34 deletions(-)
 create mode 100644 recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch

-- 
2.5.5



^ permalink raw reply	[flat|nested] 14+ messages in thread

* [meta-raspberrypi][PATCH 1/6] mesa: align for vc4
  2016-09-22  5:47 [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andreas Müller
@ 2016-09-22  5:47 ` Andreas Müller
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 2/6] xorg " Andreas Müller
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Andreas Müller @ 2016-09-22  5:47 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 recipes-graphics/mesa/mesa_%.bbappend | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-graphics/mesa/mesa_%.bbappend b/recipes-graphics/mesa/mesa_%.bbappend
index 9c5df99..e789022 100644
--- a/recipes-graphics/mesa/mesa_%.bbappend
+++ b/recipes-graphics/mesa/mesa_%.bbappend
@@ -1,2 +1,3 @@
 PACKAGECONFIG_append_rpi = " gallium"
 GALLIUMDRIVERS_rpi = "vc4"
+DRIDRIVERS_rpi = ""
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-raspberrypi][PATCH 2/6] xorg align for vc4
  2016-09-22  5:47 [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andreas Müller
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 1/6] mesa: align for vc4 Andreas Müller
@ 2016-09-22  5:47 ` Andreas Müller
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 3/6] vc4: why no framebuffer device? Andreas Müller
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Andreas Müller @ 2016-09-22  5:47 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend

diff --git a/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
new file mode 100644
index 0000000..a5a6af3
--- /dev/null
+++ b/recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
@@ -0,0 +1,9 @@
+OPENGL_PKGCFG = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'dri3 xshmfence glamor', '', d)}"
+
+# slightly modified to oe-core's default: add ${OPENGL_PKGCFG}
+PACKAGECONFIG_rpi ?= " \
+    dri2 udev ${XORG_CRYPTO} \
+    ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'dri glx ${OPENGL_PKGCFG}', '', d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "wayland", "xwayland", "", d)} \
+    ${@bb.utils.contains("DISTRO_FEATURES", "systemd", "systemd", "", d)} \
+"
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-raspberrypi][PATCH 3/6] vc4: why no framebuffer device?
  2016-09-22  5:47 [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andreas Müller
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 1/6] mesa: align for vc4 Andreas Müller
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 2/6] xorg " Andreas Müller
@ 2016-09-22  5:47 ` Andreas Müller
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 4/6] linux-raspberrypi: update to 4.4.21 Andreas Müller
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 14+ messages in thread
From: Andreas Müller @ 2016-09-22  5:47 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 recipes-kernel/linux/linux-rpi.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-kernel/linux/linux-rpi.inc b/recipes-kernel/linux/linux-rpi.inc
index 3eeefee..95a9530 100644
--- a/recipes-kernel/linux/linux-rpi.inc
+++ b/recipes-kernel/linux/linux-rpi.inc
@@ -116,7 +116,7 @@ do_configure_prepend() {
     if [ ${VC4GRAPHICS} = "1" ]; then
         kernel_configure_variable I2C_BCM2835 y
         kernel_configure_variable DRM y
-        kernel_configure_variable DRM_FBDEV_EMULATION n
+        kernel_configure_variable DRM_FBDEV_EMULATION y
         kernel_configure_variable DRM_VC4 y
         kernel_configure_variable FB_BCM2708 n
     fi
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-raspberrypi][PATCH 4/6] linux-raspberrypi: update to 4.4.21
  2016-09-22  5:47 [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andreas Müller
                   ` (2 preceding siblings ...)
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 3/6] vc4: why no framebuffer device? Andreas Müller
@ 2016-09-22  5:47 ` Andreas Müller
  2016-10-31 14:11   ` Andrei Gherzan
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 5/6] eglinfo-x11: align to VC4 Andreas Müller
                   ` (2 subsequent siblings)
  6 siblings, 1 reply; 14+ messages in thread
From: Andreas Müller @ 2016-09-22  5:47 UTC (permalink / raw)
  To: yocto

This version contains vc4_firmware_kms [1]

https://github.com/raspberrypi/linux/commit/598f79fb5a7ea1a6fbd37b9849e097dd0bea70fc

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 .../0002-vc4-ioctl-rendering-allow.patch           | 29 ----------------------
 recipes-kernel/linux/linux-raspberrypi_4.4.bb      |  5 ++--
 2 files changed, 2 insertions(+), 32 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch

diff --git a/recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch b/recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch
deleted file mode 100644
index 59d0ed7..0000000
--- a/recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-This patch has been accepted upstream in kernel 4.7-rc3
-But it has not yet been backported to 4.4...
-Upstream-Status: Accepted [http://www.gossamer-threads.com/lists/linux/kernel/2459302]
-Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
----
-
-diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c
-index a5b68c1..14b5ec1 100644
---- a/drivers/gpu/drm/vc4/vc4_drv.c
-+++ b/drivers/gpu/drm/vc4/vc4_drv.c
-@@ -75,12 +75,12 @@ static const struct file_operations vc4_drm_fops = {
- };
- 
- static const struct drm_ioctl_desc vc4_drm_ioctls[] = {
--	DRM_IOCTL_DEF_DRV(VC4_SUBMIT_CL, vc4_submit_cl_ioctl, 0),
--	DRM_IOCTL_DEF_DRV(VC4_WAIT_SEQNO, vc4_wait_seqno_ioctl, 0),
--	DRM_IOCTL_DEF_DRV(VC4_WAIT_BO, vc4_wait_bo_ioctl, 0),
--	DRM_IOCTL_DEF_DRV(VC4_CREATE_BO, vc4_create_bo_ioctl, 0),
--	DRM_IOCTL_DEF_DRV(VC4_MMAP_BO, vc4_mmap_bo_ioctl, 0),
--	DRM_IOCTL_DEF_DRV(VC4_CREATE_SHADER_BO, vc4_create_shader_bo_ioctl, 0),
-+	DRM_IOCTL_DEF_DRV(VC4_SUBMIT_CL, vc4_submit_cl_ioctl, 0|DRM_RENDER_ALLOW),
-+	DRM_IOCTL_DEF_DRV(VC4_WAIT_SEQNO, vc4_wait_seqno_ioctl, 0|DRM_RENDER_ALLOW),
-+	DRM_IOCTL_DEF_DRV(VC4_WAIT_BO, vc4_wait_bo_ioctl, 0|DRM_RENDER_ALLOW),
-+	DRM_IOCTL_DEF_DRV(VC4_CREATE_BO, vc4_create_bo_ioctl, 0|DRM_RENDER_ALLOW),
-+	DRM_IOCTL_DEF_DRV(VC4_MMAP_BO, vc4_mmap_bo_ioctl, 0|DRM_RENDER_ALLOW),
-+	DRM_IOCTL_DEF_DRV(VC4_CREATE_SHADER_BO, vc4_create_shader_bo_ioctl, 0|DRM_RENDER_ALLOW),
- 	DRM_IOCTL_DEF_DRV(VC4_GET_HANG_STATE, vc4_get_hang_state_ioctl,
- 			  DRM_ROOT_ONLY),
- };
diff --git a/recipes-kernel/linux/linux-raspberrypi_4.4.bb b/recipes-kernel/linux/linux-raspberrypi_4.4.bb
index 9a49dc1..81e32c0 100644
--- a/recipes-kernel/linux/linux-raspberrypi_4.4.bb
+++ b/recipes-kernel/linux/linux-raspberrypi_4.4.bb
@@ -1,10 +1,9 @@
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
 
-LINUX_VERSION ?= "4.4.16"
+LINUX_VERSION ?= "4.4.21"
 
-SRCREV = "cff67c7e03f4333149f2a8f6eafd3bc44475114a"
+SRCREV = "9669a50a3a8e4f33b4fe138277bc4407e1eab9b2"
 SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.4.y \
            file://0001-fix-dtbo-rules.patch \
-           file://0002-vc4-ioctl-rendering-allow.patch \
 "
 require linux-raspberrypi.inc
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-raspberrypi][PATCH 5/6] eglinfo-x11: align to VC4
  2016-09-22  5:47 [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andreas Müller
                   ` (3 preceding siblings ...)
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 4/6] linux-raspberrypi: update to 4.4.21 Andreas Müller
@ 2016-09-22  5:47 ` Andreas Müller
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 6/6] rpi-base.inc: build vc4-fkms-v3d.dtbo Andreas Müller
  2016-10-31 14:17 ` [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andrei Gherzan
  6 siblings, 0 replies; 14+ messages in thread
From: Andreas Müller @ 2016-09-22  5:47 UTC (permalink / raw)
  To: yocto

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 recipes-graphics/eglinfo/eglinfo-x11_%.bbappend | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend b/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend
index fd32abc..2d720ba 100644
--- a/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend
+++ b/recipes-graphics/eglinfo/eglinfo-x11_%.bbappend
@@ -1,2 +1,2 @@
-EGLINFO_DEVICE_rpi  = "raspberrypi"
+EGLINFO_DEVICE_rpi  = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', 'generic', 'raspberrypi', d)}"
 ASNEEDED = ""
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* [meta-raspberrypi][PATCH 6/6] rpi-base.inc: build vc4-fkms-v3d.dtbo
  2016-09-22  5:47 [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andreas Müller
                   ` (4 preceding siblings ...)
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 5/6] eglinfo-x11: align to VC4 Andreas Müller
@ 2016-09-22  5:47 ` Andreas Müller
  2016-10-31 14:10   ` Andrei Gherzan
  2016-10-31 14:17 ` [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andrei Gherzan
  6 siblings, 1 reply; 14+ messages in thread
From: Andreas Müller @ 2016-09-22  5:47 UTC (permalink / raw)
  To: yocto

For those who want to run closed source driver with mesa. See further details
at [1]

[1] http://anholt.livejournal.com/47717.html

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
---
 conf/machine/include/rpi-base.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
index 69774f4..737e842 100644
--- a/conf/machine/include/rpi-base.inc
+++ b/conf/machine/include/rpi-base.inc
@@ -38,6 +38,7 @@ KERNEL_DEVICETREE ?= " \
     overlays/w1-gpio-pullup.dtbo \
     overlays/pi3-miniuart-bt.dtbo \
     overlays/vc4-kms-v3d.dtbo \
+    overlays/vc4-fkms-v3d.dtbo \
     "
 KERNEL_IMAGETYPE ?= "Image"
 
-- 
2.5.5



^ permalink raw reply related	[flat|nested] 14+ messages in thread

* Re: [meta-raspberrypi][PATCH 6/6] rpi-base.inc: build vc4-fkms-v3d.dtbo
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 6/6] rpi-base.inc: build vc4-fkms-v3d.dtbo Andreas Müller
@ 2016-10-31 14:10   ` Andrei Gherzan
  2016-10-31 16:41     ` Khem Raj
  0 siblings, 1 reply; 14+ messages in thread
From: Andrei Gherzan @ 2016-10-31 14:10 UTC (permalink / raw)
  To: Andreas Müller; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1146 bytes --]

On Thu, Sep 22, 2016 at 07:47:54AM +0200, Andreas Müller wrote:
> For those who want to run closed source driver with mesa. See further details
> at [1]
>
> [1] http://anholt.livejournal.com/47717.html
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  conf/machine/include/rpi-base.inc | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
> index 69774f4..737e842 100644
> --- a/conf/machine/include/rpi-base.inc
> +++ b/conf/machine/include/rpi-base.inc
> @@ -38,6 +38,7 @@ KERNEL_DEVICETREE ?= " \
>      overlays/w1-gpio-pullup.dtbo \
>      overlays/pi3-miniuart-bt.dtbo \
>      overlays/vc4-kms-v3d.dtbo \
> +    overlays/vc4-fkms-v3d.dtbo

There is a problem with this change. It seems like this dtb overlay is
not availble in kernel version above 4.4. Don't know exactly why.

>      "
>  KERNEL_IMAGETYPE ?= "Image"
>
> --
> 2.5.5
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-raspberrypi][PATCH 4/6] linux-raspberrypi: update to 4.4.21
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 4/6] linux-raspberrypi: update to 4.4.21 Andreas Müller
@ 2016-10-31 14:11   ` Andrei Gherzan
  0 siblings, 0 replies; 14+ messages in thread
From: Andrei Gherzan @ 2016-10-31 14:11 UTC (permalink / raw)
  To: Andreas Müller; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 3527 bytes --]

On Thu, Sep 22, 2016 at 07:47:52AM +0200, Andreas Müller wrote:
> This version contains vc4_firmware_kms [1]
>
> https://github.com/raspberrypi/linux/commit/598f79fb5a7ea1a6fbd37b9849e097dd0bea70fc
>
> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> ---
>  .../0002-vc4-ioctl-rendering-allow.patch           | 29 ----------------------
>  recipes-kernel/linux/linux-raspberrypi_4.4.bb      |  5 ++--
>  2 files changed, 2 insertions(+), 32 deletions(-)
>  delete mode 100644 recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch
>
> diff --git a/recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch b/recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch
> deleted file mode 100644
> index 59d0ed7..0000000
> --- a/recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch
> +++ /dev/null
> @@ -1,29 +0,0 @@
> -This patch has been accepted upstream in kernel 4.7-rc3
> -But it has not yet been backported to 4.4...
> -Upstream-Status: Accepted [http://www.gossamer-threads.com/lists/linux/kernel/2459302]
> -Signed-off-by: Herve Jourdain <herve.jourdain@neuf.fr>
> ----
> -
> -diff --git a/drivers/gpu/drm/vc4/vc4_drv.c b/drivers/gpu/drm/vc4/vc4_drv.c
> -index a5b68c1..14b5ec1 100644
> ---- a/drivers/gpu/drm/vc4/vc4_drv.c
> -+++ b/drivers/gpu/drm/vc4/vc4_drv.c
> -@@ -75,12 +75,12 @@ static const struct file_operations vc4_drm_fops = {
> - };
> -
> - static const struct drm_ioctl_desc vc4_drm_ioctls[] = {
> --	DRM_IOCTL_DEF_DRV(VC4_SUBMIT_CL, vc4_submit_cl_ioctl, 0),
> --	DRM_IOCTL_DEF_DRV(VC4_WAIT_SEQNO, vc4_wait_seqno_ioctl, 0),
> --	DRM_IOCTL_DEF_DRV(VC4_WAIT_BO, vc4_wait_bo_ioctl, 0),
> --	DRM_IOCTL_DEF_DRV(VC4_CREATE_BO, vc4_create_bo_ioctl, 0),
> --	DRM_IOCTL_DEF_DRV(VC4_MMAP_BO, vc4_mmap_bo_ioctl, 0),
> --	DRM_IOCTL_DEF_DRV(VC4_CREATE_SHADER_BO, vc4_create_shader_bo_ioctl, 0),
> -+	DRM_IOCTL_DEF_DRV(VC4_SUBMIT_CL, vc4_submit_cl_ioctl, 0|DRM_RENDER_ALLOW),
> -+	DRM_IOCTL_DEF_DRV(VC4_WAIT_SEQNO, vc4_wait_seqno_ioctl, 0|DRM_RENDER_ALLOW),
> -+	DRM_IOCTL_DEF_DRV(VC4_WAIT_BO, vc4_wait_bo_ioctl, 0|DRM_RENDER_ALLOW),
> -+	DRM_IOCTL_DEF_DRV(VC4_CREATE_BO, vc4_create_bo_ioctl, 0|DRM_RENDER_ALLOW),
> -+	DRM_IOCTL_DEF_DRV(VC4_MMAP_BO, vc4_mmap_bo_ioctl, 0|DRM_RENDER_ALLOW),
> -+	DRM_IOCTL_DEF_DRV(VC4_CREATE_SHADER_BO, vc4_create_shader_bo_ioctl, 0|DRM_RENDER_ALLOW),
> - 	DRM_IOCTL_DEF_DRV(VC4_GET_HANG_STATE, vc4_get_hang_state_ioctl,
> - 			  DRM_ROOT_ONLY),
> - };
> diff --git a/recipes-kernel/linux/linux-raspberrypi_4.4.bb b/recipes-kernel/linux/linux-raspberrypi_4.4.bb
> index 9a49dc1..81e32c0 100644
> --- a/recipes-kernel/linux/linux-raspberrypi_4.4.bb
> +++ b/recipes-kernel/linux/linux-raspberrypi_4.4.bb
> @@ -1,10 +1,9 @@
>  FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
>
> -LINUX_VERSION ?= "4.4.16"
> +LINUX_VERSION ?= "4.4.21"

Current master already has 4.4.23.

>
> -SRCREV = "cff67c7e03f4333149f2a8f6eafd3bc44475114a"
> +SRCREV = "9669a50a3a8e4f33b4fe138277bc4407e1eab9b2"
>  SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-4.4.y \
>             file://0001-fix-dtbo-rules.patch \
> -           file://0002-vc4-ioctl-rendering-allow.patch \
>  "
>  require linux-raspberrypi.inc
> --
> 2.5.5
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements
  2016-09-22  5:47 [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andreas Müller
                   ` (5 preceding siblings ...)
  2016-09-22  5:47 ` [meta-raspberrypi][PATCH 6/6] rpi-base.inc: build vc4-fkms-v3d.dtbo Andreas Müller
@ 2016-10-31 14:17 ` Andrei Gherzan
  6 siblings, 0 replies; 14+ messages in thread
From: Andrei Gherzan @ 2016-10-31 14:17 UTC (permalink / raw)
  To: Andreas Müller; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1449 bytes --]

On Thu, Sep 22, 2016 at 07:47:48AM +0200, Andreas Müller wrote:
> Patches I am using for a while. If my images don't break for other
> issues I am able to run X11 and weston accelerated in one image. Had
> never a machine before able to do that.
>
> Andreas Müller (6):
>   mesa: align for vc4
>   xorg align for vc4
>   vc4: why no framebuffer device?
>   linux-raspberrypi: update to 4.4.21
>   eglinfo-x11: align to VC4
>   rpi-base.inc: build vc4-fkms-v3d.dtbo
>
>  conf/machine/include/rpi-base.inc                  |  1 +
>  recipes-graphics/eglinfo/eglinfo-x11_%.bbappend    |  2 +-
>  recipes-graphics/mesa/mesa_%.bbappend              |  1 +
>  .../xorg-xserver/xserver-xorg_%.bbappend           |  9 +++++++
>  .../0002-vc4-ioctl-rendering-allow.patch           | 29 ----------------------
>  recipes-kernel/linux/linux-raspberrypi_4.4.bb      |  5 ++--
>  recipes-kernel/linux/linux-rpi.inc                 |  2 +-
>  7 files changed, 15 insertions(+), 34 deletions(-)
>  create mode 100644 recipes-graphics/xorg-xserver/xserver-xorg_%.bbappend
>  delete mode 100644 recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch
>
> --
> 2.5.5
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

Patch 1,2,3 and 5 from this series were merge to master. Thank you.

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-raspberrypi][PATCH 6/6] rpi-base.inc: build vc4-fkms-v3d.dtbo
  2016-10-31 14:10   ` Andrei Gherzan
@ 2016-10-31 16:41     ` Khem Raj
  2016-10-31 16:44       ` Andrei Gherzan
  0 siblings, 1 reply; 14+ messages in thread
From: Khem Raj @ 2016-10-31 16:41 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1482 bytes --]


> On Oct 31, 2016, at 7:10 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> 
> On Thu, Sep 22, 2016 at 07:47:54AM +0200, Andreas Müller wrote:
>> For those who want to run closed source driver with mesa. See further details
>> at [1]
>> 
>> [1] http://anholt.livejournal.com/47717.html
>> 
>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>> ---
>> conf/machine/include/rpi-base.inc | 1 +
>> 1 file changed, 1 insertion(+)
>> 
>> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
>> index 69774f4..737e842 100644
>> --- a/conf/machine/include/rpi-base.inc
>> +++ b/conf/machine/include/rpi-base.inc
>> @@ -38,6 +38,7 @@ KERNEL_DEVICETREE ?= " \
>>     overlays/w1-gpio-pullup.dtbo \
>>     overlays/pi3-miniuart-bt.dtbo \
>>     overlays/vc4-kms-v3d.dtbo \
>> +    overlays/vc4-fkms-v3d.dtbo
> 
> There is a problem with this change. It seems like this dtb overlay is
> not availble in kernel version above 4.4. Don't know exactly why.
> 

Interesting, did you apply latest firmware patch ?

>>     "
>> KERNEL_IMAGETYPE ?= "Image"
>> 
>> --
>> 2.5.5
>> 
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
> 
> --
> Andrei Gherzan
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-raspberrypi][PATCH 6/6] rpi-base.inc: build vc4-fkms-v3d.dtbo
  2016-10-31 16:41     ` Khem Raj
@ 2016-10-31 16:44       ` Andrei Gherzan
  2016-10-31 16:52         ` Khem Raj
  0 siblings, 1 reply; 14+ messages in thread
From: Andrei Gherzan @ 2016-10-31 16:44 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1836 bytes --]

On Mon, Oct 31, 2016 at 09:41:18AM -0700, Khem Raj wrote:
>
> > On Oct 31, 2016, at 7:10 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> >
> > On Thu, Sep 22, 2016 at 07:47:54AM +0200, Andreas Müller wrote:
> >> For those who want to run closed source driver with mesa. See further details
> >> at [1]
> >>
> >> [1] http://anholt.livejournal.com/47717.html
> >>
> >> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> >> ---
> >> conf/machine/include/rpi-base.inc | 1 +
> >> 1 file changed, 1 insertion(+)
> >>
> >> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
> >> index 69774f4..737e842 100644
> >> --- a/conf/machine/include/rpi-base.inc
> >> +++ b/conf/machine/include/rpi-base.inc
> >> @@ -38,6 +38,7 @@ KERNEL_DEVICETREE ?= " \
> >>     overlays/w1-gpio-pullup.dtbo \
> >>     overlays/pi3-miniuart-bt.dtbo \
> >>     overlays/vc4-kms-v3d.dtbo \
> >> +    overlays/vc4-fkms-v3d.dtbo
> >
> > There is a problem with this change. It seems like this dtb overlay is
> > not availble in kernel version above 4.4. Don't know exactly why.
> >
>
> Interesting, did you apply latest firmware patch ?

You mean kernel update patch, right? No I haven't but the sources seem
to not deploy this dtbo:
https://github.com/raspberrypi/linux/tree/rpi-4.8.y/arch/arm/boot/dts/overlays

>
> >>     "
> >> KERNEL_IMAGETYPE ?= "Image"
> >>
> >> --
> >> 2.5.5
> >>
> >> --
> >> _______________________________________________
> >> yocto mailing list
> >> yocto@yoctoproject.org
> >> https://lists.yoctoproject.org/listinfo/yocto
> >
> > --
> > Andrei Gherzan
> > --
> > _______________________________________________
> > yocto mailing list
> > yocto@yoctoproject.org
> > https://lists.yoctoproject.org/listinfo/yocto
>



--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-raspberrypi][PATCH 6/6] rpi-base.inc: build vc4-fkms-v3d.dtbo
  2016-10-31 16:44       ` Andrei Gherzan
@ 2016-10-31 16:52         ` Khem Raj
  2016-10-31 17:00           ` Andrei Gherzan
  0 siblings, 1 reply; 14+ messages in thread
From: Khem Raj @ 2016-10-31 16:52 UTC (permalink / raw)
  To: Andrei Gherzan; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 2006 bytes --]


> On Oct 31, 2016, at 9:44 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> 
> On Mon, Oct 31, 2016 at 09:41:18AM -0700, Khem Raj wrote:
>> 
>>> On Oct 31, 2016, at 7:10 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
>>> 
>>> On Thu, Sep 22, 2016 at 07:47:54AM +0200, Andreas Müller wrote:
>>>> For those who want to run closed source driver with mesa. See further details
>>>> at [1]
>>>> 
>>>> [1] http://anholt.livejournal.com/47717.html
>>>> 
>>>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
>>>> ---
>>>> conf/machine/include/rpi-base.inc | 1 +
>>>> 1 file changed, 1 insertion(+)
>>>> 
>>>> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
>>>> index 69774f4..737e842 100644
>>>> --- a/conf/machine/include/rpi-base.inc
>>>> +++ b/conf/machine/include/rpi-base.inc
>>>> @@ -38,6 +38,7 @@ KERNEL_DEVICETREE ?= " \
>>>>    overlays/w1-gpio-pullup.dtbo \
>>>>    overlays/pi3-miniuart-bt.dtbo \
>>>>    overlays/vc4-kms-v3d.dtbo \
>>>> +    overlays/vc4-fkms-v3d.dtbo
>>> 
>>> There is a problem with this change. It seems like this dtb overlay is
>>> not availble in kernel version above 4.4. Don't know exactly why.
>>> 
>> 
>> Interesting, did you apply latest firmware patch ?
> 
> You mean kernel update patch, right? No I haven't but the sources seem
> to not deploy this dtbo:
> https://github.com/raspberrypi/linux/tree/rpi-4.8.y/arch/arm/boot/dts/overlays

I see. I think it could be an oversight in 4.8

> 
>> 
>>>>    "
>>>> KERNEL_IMAGETYPE ?= "Image"
>>>> 
>>>> --
>>>> 2.5.5
>>>> 
>>>> --
>>>> _______________________________________________
>>>> yocto mailing list
>>>> yocto@yoctoproject.org
>>>> https://lists.yoctoproject.org/listinfo/yocto
>>> 
>>> --
>>> Andrei Gherzan
>>> --
>>> _______________________________________________
>>> yocto mailing list
>>> yocto@yoctoproject.org
>>> https://lists.yoctoproject.org/listinfo/yocto
>> 
> 
> 
> 
> --
> Andrei Gherzan


[-- Attachment #2: Message signed with OpenPGP using GPGMail --]
[-- Type: application/pgp-signature, Size: 211 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [meta-raspberrypi][PATCH 6/6] rpi-base.inc: build vc4-fkms-v3d.dtbo
  2016-10-31 16:52         ` Khem Raj
@ 2016-10-31 17:00           ` Andrei Gherzan
  0 siblings, 0 replies; 14+ messages in thread
From: Andrei Gherzan @ 2016-10-31 17:00 UTC (permalink / raw)
  To: Khem Raj; +Cc: yocto

[-- Attachment #1: Type: text/plain, Size: 1674 bytes --]

On Mon, Oct 31, 2016 at 09:52:59AM -0700, Khem Raj wrote:
>
> > On Oct 31, 2016, at 9:44 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> >
> > On Mon, Oct 31, 2016 at 09:41:18AM -0700, Khem Raj wrote:
> >>
> >>> On Oct 31, 2016, at 7:10 AM, Andrei Gherzan <andrei@gherzan.ro> wrote:
> >>>
> >>> On Thu, Sep 22, 2016 at 07:47:54AM +0200, Andreas Müller wrote:
> >>>> For those who want to run closed source driver with mesa. See further details
> >>>> at [1]
> >>>>
> >>>> [1] http://anholt.livejournal.com/47717.html
> >>>>
> >>>> Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
> >>>> ---
> >>>> conf/machine/include/rpi-base.inc | 1 +
> >>>> 1 file changed, 1 insertion(+)
> >>>>
> >>>> diff --git a/conf/machine/include/rpi-base.inc b/conf/machine/include/rpi-base.inc
> >>>> index 69774f4..737e842 100644
> >>>> --- a/conf/machine/include/rpi-base.inc
> >>>> +++ b/conf/machine/include/rpi-base.inc
> >>>> @@ -38,6 +38,7 @@ KERNEL_DEVICETREE ?= " \
> >>>>    overlays/w1-gpio-pullup.dtbo \
> >>>>    overlays/pi3-miniuart-bt.dtbo \
> >>>>    overlays/vc4-kms-v3d.dtbo \
> >>>> +    overlays/vc4-fkms-v3d.dtbo
> >>>
> >>> There is a problem with this change. It seems like this dtb overlay is
> >>> not availble in kernel version above 4.4. Don't know exactly why.
> >>>
> >>
> >> Interesting, did you apply latest firmware patch ?
> >
> > You mean kernel update patch, right? No I haven't but the sources seem
> > to not deploy this dtbo:
> > https://github.com/raspberrypi/linux/tree/rpi-4.8.y/arch/arm/boot/dts/overlays
>
> I see. I think it could be an oversight in 4.8

Looks like indeed.

--
Andrei Gherzan

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 817 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2016-10-31 17:00 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-09-22  5:47 [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andreas Müller
2016-09-22  5:47 ` [meta-raspberrypi][PATCH 1/6] mesa: align for vc4 Andreas Müller
2016-09-22  5:47 ` [meta-raspberrypi][PATCH 2/6] xorg " Andreas Müller
2016-09-22  5:47 ` [meta-raspberrypi][PATCH 3/6] vc4: why no framebuffer device? Andreas Müller
2016-09-22  5:47 ` [meta-raspberrypi][PATCH 4/6] linux-raspberrypi: update to 4.4.21 Andreas Müller
2016-10-31 14:11   ` Andrei Gherzan
2016-09-22  5:47 ` [meta-raspberrypi][PATCH 5/6] eglinfo-x11: align to VC4 Andreas Müller
2016-09-22  5:47 ` [meta-raspberrypi][PATCH 6/6] rpi-base.inc: build vc4-fkms-v3d.dtbo Andreas Müller
2016-10-31 14:10   ` Andrei Gherzan
2016-10-31 16:41     ` Khem Raj
2016-10-31 16:44       ` Andrei Gherzan
2016-10-31 16:52         ` Khem Raj
2016-10-31 17:00           ` Andrei Gherzan
2016-10-31 14:17 ` [meta-raspberrypi][PATCH 0/6] Kernel update + VC4-enhancements Andrei Gherzan

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.