From: Denys Dmytriyenko <denys@ti.com>
To: Manisha Agrawal <manisha.agrawal@ti.com>
Cc: meta-arago@arago-project.org
Subject: Re: [master/morty][PATCH] recipes-multimedia : video-graphics-test : new demo
Date: Tue, 14 Mar 2017 18:27:34 -0400 [thread overview]
Message-ID: <20170314222734.GR578@edge> (raw)
In-Reply-To: <20170313185755.12918-1-manisha.agrawal@ti.com>
Manisha,
Thanks for the patch.
This should rather be 2 or 3 patches - adding the new recipe, adding src-ipk
and then patching the tisdk-makefile.
Moreover, this won't apply to morty/master due to this change:
http://arago-project.org/git/?p=meta-arago.git;a=commitdiff;h=d28779a38e75bf3e096a5a7b0cf160d7520f4aca
--
Denys
On Mon, Mar 13, 2017 at 01:57:55PM -0500, Manisha Agrawal wrote:
> Add new demo to Processor Linux SDK. This demo is package along with
> source code in PLSDK and binary available under /usr/bin folder of the
> filesystem. The demo is target to showcase AM57x Display Sub System
> capabilities, 2D graphics accelerator GC320 video API usage for overlay
> and QT drawing using 3D graphics accelerator. In this particular release
> the demo is showing the DRM API usage for scaling and overlaying using
> DSS and special QT QPA eglfs-kms for rendering using SGX. QT is the
> master of the drm resource but shares the handle with application too.
>
> Signed-off-by: Manisha Agrawal <manisha.agrawal@ti.com>
> ---
> .../conf/distro/arago-source-ipk.conf | 3 +++
> .../ti-tisdk-makefile/Makefile_video-graphics-test | 24 +++++++++++++++++++
> .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb | 1 +
> .../video-graphics-test/video-graphics-test_1.0.bb | 28 ++++++++++++++++++++++
> 4 files changed, 56 insertions(+)
> create mode 100644 meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_video-graphics-test
> create mode 100644 meta-arago-extras/recipes-multimedia/video-graphics-test/video-graphics-test_1.0.bb
>
> diff --git a/meta-arago-distro/conf/distro/arago-source-ipk.conf b/meta-arago-distro/conf/distro/arago-source-ipk.conf
> index 96f2db2..5941519 100644
> --- a/meta-arago-distro/conf/distro/arago-source-ipk.conf
> +++ b/meta-arago-distro/conf/distro/arago-source-ipk.conf
> @@ -67,6 +67,9 @@ SRCIPK_INSTALL_DIR_pn-qt-tstat = "example-applications/${PN}-${PV}"
> CREATE_SRCIPK_pn-dual-camera-demo = "1"
> SRCIPK_INSTALL_DIR_pn-dual-camera-demo = "example-applications/${PN}-${PV}"
>
> +CREATE_SRCIPK_pn-video-graphics-test = "1"
> +SRCIPK_INSTALL_DIR_pn-video-graphics-test = "example-applications/${PN}-${PV}"
> +
> CREATE_SRCIPK_pn-image-gallery = "1"
> SRCIPK_INSTALL_DIR_pn-image-gallery = "example-applications/${PN}"
>
> diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_video-graphics-test b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_video-graphics-test
> new file mode 100644
> index 0000000..1ffc395
> --- /dev/null
> +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile/Makefile_video-graphics-test
> @@ -0,0 +1,24 @@
> +# QT Video Graphics build targets
> +video-graphics-test:
> + @echo ================================
> + @echo Building Video Graphics Test
> + @echo ================================
> + @cd example-applications; cd `find . -name "*video-graphics-test*"`; make -f Makefile.build
> +
> +video-graphics-test_clean:
> + @echo ================================
> + @echo Building Video Graphics Test
> + @echo ================================
> + @cd example-applications; cd `find . -name "*video-graphics-test*"`; make -f Makefile.build clean
> +
> +video-graphics-test_install:
> + @echo ===================================================
> + @echo Installing Video Graphics Test - Release version
> + @echo ===================================================
> + @cd example-applications; cd `find . -name "*video-graphics-test*"`; make -f Makefile.build install
> +
> +video-graphics-test_install_debug:
> + @echo =================================================
> + @echo Installing Video Graphics Test - Debug version
> + @echo =================================================
> + @cd example-applications; cd `find . -name "*video-graphics-test*"`; make -f Makefile.build install_debug
> diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
> index 202078c..40ba3be 100644
> --- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
> +++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
> @@ -31,6 +31,7 @@ SRC_URI = "\
> file://Makefile_omapconf \
> file://Makefile_oprofile-example \
> file://Makefile_dual-camera-demo \
> + file://Makefile_video-graphics-test \
> file://Makefile_image-gallery \
> file://Makefile_cryptodev \
> file://Makefile_cmem-mod \
> diff --git a/meta-arago-extras/recipes-multimedia/video-graphics-test/video-graphics-test_1.0.bb b/meta-arago-extras/recipes-multimedia/video-graphics-test/video-graphics-test_1.0.bb
> new file mode 100644
> index 0000000..4e428b2
> --- /dev/null
> +++ b/meta-arago-extras/recipes-multimedia/video-graphics-test/video-graphics-test_1.0.bb
> @@ -0,0 +1,28 @@
> +DESCRIPTION = "Test applications for video and graphics interface"
> +HOMEPAGE = "https://git.ti.com/sitara-linux/video-graphics-test"
> +SECTION = "multimedia"
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://LICENSE;md5=c7ca707704d3354a64feeb4f19f52eb5"
> +
> +DEPENDS += "libdrm"
> +
> +PR = "r0"
> +
> +BRANCH = "master"
> +SRCREV = "ebc7ab44d05fc726b0ddc7f4b45d71d7509313f5"
> +
> +SRC_URI = "git://git.ti.com/sitara-linux/video-graphics-test.git;protocol=git;branch=${BRANCH} \
> +"
> +
> +S = "${WORKDIR}/git"
> +
> +inherit qt-provider
> +
> +export SDK_PATH_TARGET='${STAGING_DIR_HOST}'
> +
> +# use the make targets already created in the Makefile.build files
> +do_install() {
> + install -d ${D}/usr/bin
> + install video_graphics_test ${D}/usr/bin/video-graphics-test
> +}
> +
> --
> 2.9.3
>
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
next prev parent reply other threads:[~2017-03-14 22:27 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-03-13 18:57 [master/morty][PATCH] recipes-multimedia : video-graphics-test : new demo Manisha Agrawal
2017-03-14 22:27 ` Denys Dmytriyenko [this message]
2017-03-16 19:16 ` Agrawal, Manisha
2017-03-16 19:25 ` Denys Dmytriyenko
2017-05-08 19:52 ` Denys Dmytriyenko
2017-05-11 22:16 ` Agrawal, Manisha
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=20170314222734.GR578@edge \
--to=denys@ti.com \
--cc=manisha.agrawal@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.