All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Andreas Müller" <schnitzeltony@googlemail.com>
To: Khem Raj <raj.khem@gmail.com>
Cc: Yocto Project <yocto@yoctoproject.org>
Subject: Re: [meta-raspberrypi][PATCH v4 00/12] Support for VC4 graphics driver
Date: Wed, 10 Aug 2016 13:29:47 +0200	[thread overview]
Message-ID: <CALbNGRRYOS-YHSiCCQbye6gG8Qrr2QXguQW4vif_a1Jj2qvbsQ@mail.gmail.com> (raw)
In-Reply-To: <CAMKF1sq4dMGCoF3H-4WwHW7t5APvZSHkhmrDHqFPh32hB_b4aQ@mail.gmail.com>

On Sun, Jul 31, 2016 at 9:56 PM, Khem Raj <raj.khem@gmail.com> wrote:
> On Jul 31, 2016 12:54 PM, "Andrei Gherzan" <andrei@gherzan.ro> wrote:
>>
>> On Thu, Jul 21, 2016 at 08:32:05PM +0800, Herve Jourdain wrote:
>> > v4 series:
>> > a. rebased
>> > b. Upstream-Status added to the patch to the VC4 driver (needed only for
>> > kernel 4.4, accepted upstream in 4.7)
>> >
>> > v3 series:
>> > a. patch rebased
>> > b. new revision of kernel, to get a version of the VC4 graphics driver
>> > that handles render nodes
>> > c. patch to the VC4 driver to enable proper working of the render nodes
>> > (need to add authorization for IOCTLs)
>> >
>> > v2 series:
>> > a. Fix the 4.4.10 kernel revision
>> > b. Effectively add vc4-kms-v3d overlay to the list of overlays to build
>> > (forgotten previously)
>> > c. Make the parameter to the v4c-kms-v3d overlay configurable
>> > d. Add default values for the cma parameter to the v4c-kms-v3d overlay,
>> > depending on the board (and the memory it has)
>> >
>> > This patch series enables the support for the VC4 graphics driver from
>> > Eric Anholt.
>> > There was a previous patch series by Javier Martinez Canillas, but it
>> > required use of a different kernel.
>> > VC4 is now supported in the raspberrypi official kernel, at least for
>> > 4.4.9+.
>> > The support in 4.1 exists, but it is NOT STABLE, so it has been deemed
>> > unreasonable to support VC4 with 4.1 kernels.
>> >
>> > THEREFORE, VC4 graphics is supported ONLY for kernel versions 4.4.9 and
>> > later.
>> >
>> > This patch series proposes to support VC4 by only adding 'vc4graphics'
>> > to MACHINE_FEATURES, for raspberrypi. If this is set, it will trigger all
>> > the necessary configuration/changes to use the VC4 driver, including
>> > mesa/wayland/weston currently, and adding the overlay required.
>> > In order for this series to work, some previous patches are needed
>> > (support for .dtbo, and fix of the mesa packaging when there is no DRI
>> > driver).
>> > The memory reserved for the VC4 driver has default values depending on
>> > the version of the board used, but it can be configured by setting
>> > VC4_CMA_SIZE to a value supported by the overlay ('cma-256', 'cma-192',
>> > 'cma-128', 'cma-96', 'cma-64').
>> > 'cma-256' is the recommended value, but it might not be possible on
>> > boards with 512MB or DRAM, or less...
>> > 'cma-64' is known to not being able to support FHD/1080p.
>> >
>> > It was tested with wayland/weston, without the support for X11.
>> >
>> > This patch series depends on two other patch series previously posted,
>> > that enable the support for .dtbo overlay files.
>> >
>> > Herve Jourdain (12):
>> >   rpi-default-providers.inc: change default providers to support
>> >     vc4graphics
>> >   rpi-base.inc: add vc4-kms-v3d to the overlays to support vc4graphics
>> >   raspberrypi.conf: set the default value of VC4_CMA_SIZE to support
>> >     vc4graphics
>> >   raspberrypi0.conf: set the default value of VC4_CMA_SIZE to support
>> >     vc4graphics
>> >   raspberrypi2.conf: set the default value of VC4_CMA_SIZE to support
>> >     vc4graphics
>> >   raspberrypi3.conf: set the default value of VC4_CMA_SIZE to support
>> >     vc4graphics
>> >   rpi-config_git.bb: add v4c overlay to config.txt to support
>> >     vc4graphics
>> >   wayland/weston_%.bbappend: modify configuration options to support
>> >     vc4graphics
>> >   weston/weston_%.bbappend: modify configuration options to support
>> >     vc4graphics
>> >   mesa_%.bbappend: new file to add the correct configuration options to
>> >     support vc4graphics
>> >   linux-rpi.inc: add the configuration options required to support
>> >     vc4graphics
>> >   linux-raspberrypi-4.4: add patch to enable proper operation of
>> >     renderD128 device
>> >
>> >  conf/machine/include/rpi-base.inc                  |  1 +
>> >  conf/machine/include/rpi-default-providers.inc     |  8 +++---
>> >  conf/machine/raspberrypi.conf                      |  2 ++
>> >  conf/machine/raspberrypi0.conf                     |  2 ++
>> >  conf/machine/raspberrypi2.conf                     |  2 ++
>> >  conf/machine/raspberrypi3.conf                     |  2 ++
>> >  recipes-bsp/bootfiles/rpi-config_git.bb            | 10 +++++++-
>> >  recipes-graphics/mesa/mesa_%.bbappend              |  4 +++
>> >  recipes-graphics/wayland/weston_%.bbappend         |  6 ++---
>> >  recipes-graphics/weston/weston_%.bbappend          | 13 +++++-----
>> >  .../0002-vc4-ioctl-rendering-allow.patch           | 29
>> > ++++++++++++++++++++++
>> >  recipes-kernel/linux/linux-raspberrypi_4.4.bb      |  1 +
>> >  recipes-kernel/linux/linux-rpi.inc                 | 10 ++++++++
>> >  13 files changed, 75 insertions(+), 15 deletions(-)
>> >  create mode 100644 recipes-graphics/mesa/mesa_%.bbappend
>> >  create mode 100644
>> > recipes-kernel/linux/linux-raspberrypi-4.4/0002-vc4-ioctl-rendering-allow.patch
>> >
>> > --
>> > 2.7.4
>> >
>> > --
>> > _______________________________________________
>> > yocto mailing list
>> > yocto@yoctoproject.org
>> > https://lists.yoctoproject.org/listinfo/yocto
>>
>> I would have wanted to merge this but they depend on dtbo support which
>> doesn't have the required bits in oe.core. So I can't merge this until
>> that lands in oe-core.
>
> Let's wait for few days. I have staged it in my guthub tree. Until then
>>
>> Regards,
>>
>> --
>> Andrei Gherzan
>>
>> --
>> _______________________________________________
>> yocto mailing list
>> yocto@yoctoproject.org
>> https://lists.yoctoproject.org/listinfo/yocto
>>
>
If I am not mistaken, dtbo patch is now in oe-core.

Andreas


  reply	other threads:[~2016-08-10 11:30 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-21 12:32 [meta-raspberrypi][PATCH v4 00/12] Support for VC4 graphics driver Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 01/12] rpi-default-providers.inc: change default providers to support vc4graphics Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 02/12] rpi-base.inc: add vc4-kms-v3d to the overlays " Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 03/12] raspberrypi.conf: set the default value of VC4_CMA_SIZE " Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 04/12] raspberrypi0.conf: " Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 05/12] raspberrypi2.conf: " Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 06/12] raspberrypi3.conf: " Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 07/12] rpi-config_git.bb: add v4c overlay to config.txt " Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 08/12] wayland/weston_%.bbappend: modify configuration options " Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 09/12] weston/weston_%.bbappend: " Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 10/12] mesa_%.bbappend: new file to add the correct " Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 11/12] linux-rpi.inc: add the configuration options required " Herve Jourdain
2016-07-21 12:32 ` [meta-raspberrypi][PATCH v4 12/12] linux-raspberrypi-4.4: add patch to enable proper operation of renderD128 device Herve Jourdain
2016-07-22 16:41 ` [meta-raspberrypi][PATCH v4 00/12] Support for VC4 graphics driver Carlos Alberto Lopez Perez
2016-07-29  1:36   ` Khem Raj
2016-07-29 13:32     ` Carlos Alberto Lopez Perez
2016-07-30  4:59       ` Khem Raj
2016-07-29  1:36 ` Khem Raj
2016-07-31 18:52 ` Andrei Gherzan
2016-07-31 19:56   ` Khem Raj
2016-08-10 11:29     ` Andreas Müller [this message]
2016-09-21 16:04 ` Andrei Gherzan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CALbNGRRYOS-YHSiCCQbye6gG8Qrr2QXguQW4vif_a1Jj2qvbsQ@mail.gmail.com \
    --to=schnitzeltony@googlemail.com \
    --cc=raj.khem@gmail.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.