From: Denys Dmytriyenko <denys@ti.com>
To: Anand Balagopalakrishnan <anandb@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [thud][PATCH] packagegroup-*-graphics: add virtual provider for GPU driver
Date: Fri, 21 Jun 2019 11:14:23 -0400 [thread overview]
Message-ID: <20190621151423.GH4849@beryl> (raw)
In-Reply-To: <1561034412-64937-1-git-send-email-anandb@ti.com>
Anand,
Can you please rebase this patch? Thanks.
On Thu, Jun 20, 2019 at 06:10:12PM +0530, Anand Balagopalakrishnan wrote:
> - Add a new virtual provider for GPU driver
> - Specify Rogue and SGX as GPU driver provider for J7 and other platforms
> - Replace SGX with virtual GPU provider in package groups
>
> Signed-off-by: Anand Balagopalakrishnan <anandb@ti.com>
> ---
> meta-arago-distro/conf/distro/include/arago-prefs.inc | 2 ++
> .../packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb | 2 +-
> .../packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb | 2 +-
> .../recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb | 2 +-
> 4 files changed, 5 insertions(+), 3 deletions(-)
>
> diff --git a/meta-arago-distro/conf/distro/include/arago-prefs.inc b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> index e9e9177..3f36747 100644
> --- a/meta-arago-distro/conf/distro/include/arago-prefs.inc
> +++ b/meta-arago-distro/conf/distro/include/arago-prefs.inc
> @@ -9,11 +9,13 @@ PREFERRED_PROVIDER_virtual/gettext = "gettext"
> PREFERRED_PROVIDER_virtual/egl = "ti-sgx-ddk-um"
> PREFERRED_PROVIDER_virtual/libgles1 = "ti-sgx-ddk-um"
> PREFERRED_PROVIDER_virtual/libgles2 = "ti-sgx-ddk-um"
> +PREFERRED_PROVIDER_virtual/gpudriver = "ti-sgx-ddk-km"
>
> # J7 has a Rogue GPU core
> PREFERRED_PROVIDER_virtual/egl_j7-evm = "ti-img-rogue-umlibs"
> PREFERRED_PROVIDER_virtual/libgles1_j7-evm = "ti-img-rogue-umlibs"
> PREFERRED_PROVIDER_virtual/libgles2_j7-evm = "ti-img-rogue-umlibs"
> +PREFERRED_PROVIDER_virtual/gpudriver_j7-evm = "ti-img-rogue-driver"
>
> PREFERRED_PROVIDER_libgbm = "libgbm"
> PREFERRED_PROVIDER_libgbm-dev = "libgbm-dev"
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
> index 96ed27b..486d080 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-host.bb
> @@ -6,7 +6,7 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
>
> inherit packagegroup
>
> -GRAPHICS_RDEPENDS = "ti-sgx-ddk-km-src"
> +GRAPHICS_RDEPENDS = "${PREFERRED_PROVIDER_virtual/gpudriver}-src"
>
> GRAPHICS_RDEPENDS_append_omap-a15 = "\
> ti-gc320-driver-src \
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
> index 7e18d08..3f6485f 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics-sdk-target.bb
> @@ -12,7 +12,7 @@ GRAPHICS_RDEPENDS = "\
> wayland-dev \
> weston-dev \
> ${PREFERRED_PROVIDER_virtual/egl}-dev \
> - ti-sgx-ddk-km-dev \
> + ${PREFERRED_PROVIDER_virtual/gpudriver}-dev \
> "
>
> GRAPHICS_RDEPENDS_append_omap-a15 = "\
> diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
> index 69cfea5..de9e8c4 100644
> --- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
> +++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-graphics.bb
> @@ -24,7 +24,7 @@ GRAPHICS_WAYLAND_append_k3 = "\
> GRAPHICS_RDEPENDS = "\
> libgbm \
> ${PREFERRED_PROVIDER_virtual/egl} \
> - ${@bb.utils.contains('MACHINE_FEATURES','sgx','ti-sgx-ddk-km','',d)} \
> + ${@bb.utils.contains('MACHINE_FEATURES','sgx','${PREFERRED_PROVIDER_virtual/gpudriver}','',d)} \
> ${@bb.utils.contains('MACHINE_FEATURES','sgx','glmark2','',d)} \
> "
>
> --
> 1.9.1
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
prev parent reply other threads:[~2019-06-21 15:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-06-20 12:40 [thud][PATCH] packagegroup-*-graphics: add virtual provider for GPU driver Anand Balagopalakrishnan
2019-06-21 15:14 ` Denys Dmytriyenko [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=20190621151423.GH4849@beryl \
--to=denys@ti.com \
--cc=anandb@ti.com \
--cc=meta-arago@arago-project.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.