Module: Mesa
Branch: main
Commit: cc6f2589ec499cff863e18fd232925529cbadbaf
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc6f2589ec499cff863e18fd232925529cbadbaf

Author: David Heidelberg <[email protected]>
Date:   Thu Apr 20 15:14:37 2023 +0200

ci/lava: add support for HDK 888 firmware

Acked-by: Emma Anholt <[email protected]>
Reviewed-by: Daniel Stone <[email protected]>
Signed-off-by: David Heidelberg <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22604>

---

 .gitlab-ci/lava/utils/lava_job_definition.py | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/.gitlab-ci/lava/utils/lava_job_definition.py 
b/.gitlab-ci/lava/utils/lava_job_definition.py
index c3e1116634f..cb1b74bfb9f 100644
--- a/.gitlab-ci/lava/utils/lava_job_definition.py
+++ b/.gitlab-ci/lava/utils/lava_job_definition.py
@@ -162,6 +162,14 @@ def generate_lava_yaml_payload(args) -> dict[str, Any]:
         run_steps += [
             x.rstrip() for x in init_sh if not x.startswith("#") and x.rstrip()
         ]
+        # We cannot distribute the Adreno 660 shader firmware inside rootfs,
+        # since the license isn't bundled inside the repository
+        if args.device_type == "sm8350-hdk":
+            run_steps.append(
+                    "curl -L --retry 4 -f --retry-all-errors --retry-delay 60 
" +
+                    
"https://github.com/allahjasif1990/hdk888-firmware/raw/main/a660_zap.mbn " +
+                    "-o \"/lib/firmware/qcom/sm8350/a660_zap.mbn\""
+            )
         run_steps.append(
             "curl -L --retry 4 -f --retry-all-errors --retry-delay 60 "
             f"{args.job_rootfs_overlay_url} | tar -xz -C /",

Reply via email to