forked from intel/earlyapp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request intel#57 from padmaraoi/master
Added audio service file GP CL native and modified earlyapp_gpnative.service
- Loading branch information
Showing
5 changed files
with
39 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,11 @@ | ||
[Unit] | ||
Description=Setup device nodes for Early App Gordon Peak native. | ||
Description=Setup IPU device nodes for Early App Gordon Peak native. | ||
DefaultDependencies=no | ||
After=cbc_attach.service | ||
|
||
[Service] | ||
Type=oneshot | ||
RemainAfterExit=yes | ||
Slice=earlyapp.slice | ||
|
||
# Set permissions on GPU render nodes | ||
ExecStart=/usr/bin/chown :render /dev/dri/renderD128 | ||
ExecStart=/usr/bin/chmod g+rw /dev/dri/renderD128 | ||
# Load IPU modules | ||
ExecStart=/usr/bin/modprobe -a crlmodule intel-ipu4 intel-ipu4-mmu intel-ipu4-isys intel-ipu4-psys intel-ipu4-isys-csslib intel-ipu4-psys-csslib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
[Unit] | ||
Description=Setup audio for Early App | ||
DefaultDependencies=no | ||
StartLimitBurst=16 | ||
|
||
[Service] | ||
RemainAfterExit=yes | ||
Slice=earlyapp.slice | ||
|
||
# Load audio driver and set dsp switch | ||
ExecStartPre=/usr/bin/sh -c 'if modprobe -n --first-time snd_soc_sst_bxt_tdf8532; then modprobe -v snd_soc_sst_bxt_tdf8532;fi' | ||
ExecStart=amixer -c0 cset numid=19 on | ||
Restart=on-failure |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters