aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-ti/recipes-graphics/libgles/ti-sgx-ddk-um
diff options
context:
space:
mode:
authorMatt Porter <mporter@konsulko.com>2017-08-03 00:53:23 +0300
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-08-04 16:46:03 +0000
commit019c73818e94f79d75f2bc5893fd57a3d011e24a (patch)
tree5e357e34cd3e0467abb06652e0ccc546ef46e5a9 /meta-agl-bsp/meta-ti/recipes-graphics/libgles/ti-sgx-ddk-um
parent01065c129a704620b1fcf0fae530d30be16d361c (diff)
meta-agl-bsp: meta-ti: add pvr systemd service
dra7xx-evm currently does not initialize graphics correctly because the PVR SGX services are not loaded at the correct time. Add a systemd service which executes the script from the TI DDK before psplash and weston are started. This fixes dra7xx-evm so that HomeScreen comes up on boot. Bug-AGL: SPEC-798 Change-Id: I0649902ac6066062527f345bea5e36e929d19c01 Signed-off-by: Matt Porter <mporter@konsulko.com> Reviewed-on: https://gerrit.automotivelinux.org/gerrit/10487 Tested-by: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> ci-image-build: Jenkins Job builder account <agl-jobbuilder@automotivelinux.org> Reviewed-by: Thomas Rini <trini@konsulko.com> Reviewed-by: Matt Ranostay <matt.ranostay@konsulko.com> Reviewed-by: Jan-Simon Moeller <jsmoeller@linuxfoundation.org>
Diffstat (limited to 'meta-agl-bsp/meta-ti/recipes-graphics/libgles/ti-sgx-ddk-um')
-rw-r--r--meta-agl-bsp/meta-ti/recipes-graphics/libgles/ti-sgx-ddk-um/pvr.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-ti/recipes-graphics/libgles/ti-sgx-ddk-um/pvr.service b/meta-agl-bsp/meta-ti/recipes-graphics/libgles/ti-sgx-ddk-um/pvr.service
new file mode 100644
index 000000000..1acb94fd4
--- /dev/null
+++ b/meta-agl-bsp/meta-ti/recipes-graphics/libgles/ti-sgx-ddk-um/pvr.service
@@ -0,0 +1,19 @@
+[Unit]
+Description=PVR service
+SourcePath=/etc/ti-sgx/rc.pvr
+DefaultDependencies=no
+Before=psplash-start.service
+
+[Service]
+Type=forking
+Restart=no
+TimeoutSec=5min
+IgnoreSIGPIPE=no
+KillMode=process
+GuessMainPID=no
+RemainAfterExit=yes
+ExecStart=/etc/ti-sgx/rc.pvr start
+ExecStop=/etc/ti-sgx/rc.pvr stop
+
+[Install]
+WantedBy=sysinit.target