From f292e52dcd40321b7ec63a2e6f4a039120e629ac Mon Sep 17 00:00:00 2001 From: tb Date: Tue, 2 Jun 2026 14:08:00 +0800 Subject: [PATCH 1/2] add VA_DRIVERS_PATH --- Android.bp | 6 ++++++ va/va.c | 10 ++++------ 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Android.bp b/Android.bp index d973925..e1b1cc2 100644 --- a/Android.bp +++ b/Android.bp @@ -125,6 +125,12 @@ cc_library_shared { x86_64: { cflags: ["-DVA_DRIVERS_PATH=\"/vendor/lib64\""], }, + arm: { + cflags: ["-DVA_DRIVERS_PATH=\"/vendor/lib/dri\""], + }, + arm64: { + cflags: ["-DVA_DRIVERS_PATH=\"/vendor/lib64/dri\""], + }, }, vendor: true, diff --git a/va/va.c b/va/va.c index 945c45e..3113b35 100644 --- a/va/va.c +++ b/va/va.c @@ -362,12 +362,10 @@ static char *va_getDriverPath(const char *driver_dir, const char *driver_name) char *driver_path = (char *) malloc(PATH_MAX); if (!driver_path) return NULL; - if (strcmp(driver_name, "iHD") && strcmp(driver_name, "i965")) { - n = snprintf(driver_path, PATH_MAX, "%s/libgallium_dri.so", driver_dir); - } else { - n = snprintf(driver_path, PATH_MAX, DRIVER_PATH_STRING, - driver_dir, driver_name, DRIVER_EXTENSION); - } + + n = snprintf(driver_path, PATH_MAX, DRIVER_PATH_STRING, + driver_dir, driver_name, DRIVER_EXTENSION); + if (n < 0) { free(driver_path); return NULL; From 320dab58155a112a32a870dd4ec231490a13bc96 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 06:13:32 +0000 Subject: [PATCH 2/2] build(deps): bump actions/github-script from 6 to 9 Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 9. - [Release notes](https://github.com/actions/github-script/releases) - [Commits](https://github.com/actions/github-script/compare/v6...v9) --- updated-dependencies: - dependency-name: actions/github-script dependency-version: '9' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/publish_review_event.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish_review_event.yaml b/.github/workflows/publish_review_event.yaml index 8175520..d09ff34 100644 --- a/.github/workflows/publish_review_event.yaml +++ b/.github/workflows/publish_review_event.yaml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-latest steps: - name: 'Download artifact' - uses: actions/github-script@v6 + uses: actions/github-script@v9 with: script: | let allArtifacts = await github.rest.actions.listWorkflowRunArtifacts({