All of lore.kernel.org
 help / color / mirror / Atom feed
From: Giulio Benetti <giulio.benetti@micronovasrl.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v3 1/1] sunxi-mali-mainline: new package
Date: Tue, 14 Nov 2017 19:27:01 +0100	[thread overview]
Message-ID: <bccfcd59-63a1-a99b-46e2-954363a09fca@micronovasrl.com> (raw)
In-Reply-To: <20171114182517.odomwtffwl4unbru@flea.lan>

Hi,

Il 14/11/2017 19:25, Maxime Ripard ha scritto:
> On Tue, Nov 14, 2017 at 03:44:16PM +0100, Giulio Benetti wrote:
>> Hi,
>>
>> Il 14/11/2017 14:56, Maxime Ripard ha scritto:
>>> Hi,
>>>
>>> On Mon, Nov 13, 2017 at 07:48:58PM +0100, Giulio Benetti wrote:
>>>> Add Allwinner Mali openGL userspace driver r6p2.
>>>> Used combined with kernelspace Mali driver,
>>>> it gives possibility to use 3D openGL SoC acceleration.
>>>> It provides both fbdev and X11 libraries and headers.
>>>> It is compatible with Linux >= 4.4 as sunxi-mali-driver-mainline.
>>>>
>>>> Signed-off-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
>>>> ---
>>>> Changes v2 -> v3:
>>>> * added package into package/Config.in
>>>>    DEVELOPERS                                         |  1 +
>>>>    package/Config.in                                  |  1 +
>>>>    package/sunxi-mali-mainline/Config.in              | 43 +++++++++++++++
>>>>    package/sunxi-mali-mainline/egl.pc                 | 12 +++++
>>>>    package/sunxi-mali-mainline/glesv2.pc              | 12 +++++
>>>>    package/sunxi-mali-mainline/sunxi-mali-mainline.mk | 62 ++++++++++++++++++++++
>>>>    6 files changed, 131 insertions(+)
>>>>    create mode 100644 package/sunxi-mali-mainline/Config.in
>>>>    create mode 100644 package/sunxi-mali-mainline/egl.pc
>>>>    create mode 100644 package/sunxi-mali-mainline/glesv2.pc
>>>>    create mode 100644 package/sunxi-mali-mainline/sunxi-mali-mainline.mk
>>>>
>>>> diff --git a/DEVELOPERS b/DEVELOPERS
>>>> index 2fe95c8..1a751b8 100644
>>>> --- a/DEVELOPERS
>>>> +++ b/DEVELOPERS
>>>> @@ -697,6 +697,7 @@ F:	package/webp/
>>>>    N:	Giulio Benetti <giulio.benetti@micronovasrl.com>
>>>>    F:	package/sunxi-mali-driver-mainline/
>>>> +F:	package/sunxi-mali-mainline/
>>>>    N:	Gregory Dymarek <gregd72002@gmail.com>
>>>>    F:	package/ding-libs/
>>>> diff --git a/package/Config.in b/package/Config.in
>>>> index 8de2227..041c6f6 100644
>>>> --- a/package/Config.in
>>>> +++ b/package/Config.in
>>>> @@ -497,6 +497,7 @@ endmenu
>>>>    	source "package/stm32flash/Config.in"
>>>>    	source "package/sunxi-cedarx/Config.in"
>>>>    	source "package/sunxi-mali-driver-mainline/Config.in"
>>>> +	source "package/sunxi-mali-mainline/Config.in"
>>>>    	source "package/sunxi-mali/Config.in"
>>>>    	source "package/sysstat/Config.in"
>>>>    	source "package/targetcli-fb/Config.in"
>>>> diff --git a/package/sunxi-mali-mainline/Config.in b/package/sunxi-mali-mainline/Config.in
>>>> new file mode 100644
>>>> index 0000000..652cbc5
>>>> --- /dev/null
>>>> +++ b/package/sunxi-mali-mainline/Config.in
>>>> @@ -0,0 +1,43 @@
>>>> +config BR2_PACKAGE_SUNXI_MALI_MAINLINE
>>>> +	bool "sunxi-mali-mainline"
>>>> +	depends on BR2_arm
>>>> +	depends on BR2_ARM_EABIHF
>>>> +	depends on BR2_TOOLCHAIN_USES_GLIBC
>>>> +	select BR2_PACKAGE_HAS_LIBEGL
>>>> +	select BR2_PACKAGE_HAS_LIBGLES
>>>> +	select BR2_PACKAGE_LIBDRM if BR2_PACKAGE_XORG7
>>>> +	select BR2_PACKAGE_XLIB_LIBX11 if BR2_PACKAGE_XORG7
>>>> +	select BR2_PACKAGE_XLIB_LIBXEXT if BR2_PACKAGE_XORG7
>>>> +	select BR2_PACKAGE_XLIB_LIBXFIXES if BR2_PACKAGE_XORG7
>>>> +	select BR2_PACKAGE_XLIB_LIBXDAMAGE if BR2_PACKAGE_XORG7
>>>
>>> Can't you make the selection of whether you want X11 vs fbdev
>>> interfaces a choice rather than inferring it from the configuration?
>>
>> As you told about X11 DMA_BUF Mali on "Re: xf86-video-armsoc":
>> "There's no proper way available at the moment.",
>> I think it doesn't make sense to add X11 support,
>> what do you think?
> 
> That works for me.

Ok, asap I submit v4 patch with changes.
Thank you

> 
> Maxime
> 


-- 
Giulio Benetti
R&D Manager &
Advanced Research

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale ? 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642

      reply	other threads:[~2017-11-14 18:27 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-13 18:48 [Buildroot] [PATCH v3 1/1] sunxi-mali-mainline: new package Giulio Benetti
2017-11-14 13:56 ` Maxime Ripard
2017-11-14 14:44   ` Giulio Benetti
2017-11-14 18:25     ` Maxime Ripard
2017-11-14 18:27       ` Giulio Benetti [this message]

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=bccfcd59-63a1-a99b-46e2-954363a09fca@micronovasrl.com \
    --to=giulio.benetti@micronovasrl.com \
    --cc=buildroot@busybox.net \
    /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.