diff --git a/.github/workflows/sync-and-build.yml b/.github/workflows/sync-and-build.yml index fdaa6e1f1..bad481560 100644 --- a/.github/workflows/sync-and-build.yml +++ b/.github/workflows/sync-and-build.yml @@ -127,7 +127,7 @@ jobs: mv local-kernel-ramdisk.cpio.gz local-kernel-ramdisk.cpio.gz.bak gunzip -c local-kernel-ramdisk.cpio.gz.bak > local-kernel-ramdisk.cpio - # Copy kerneltest from downloads + # Copy kerneltest from download cp "$workspace/downloads/kerneltest.cpio" . # Merge kerneltest and local-kernel-ramdisk @@ -279,4 +279,5 @@ jobs: done < "$file_list" fi echo "" - } >> "$GITHUB_STEP_SUMMARY" \ No newline at end of file + + } >> "$GITHUB_STEP_SUMMARY" diff --git a/venus/vdec.c b/venus/vdec.c index 4a6641fdf..6b3d5e591 100644 --- a/venus/vdec.c +++ b/venus/vdec.c @@ -565,7 +565,13 @@ vdec_decoder_cmd(struct file *file, void *fh, struct v4l2_decoder_cmd *cmd) fdata.buffer_type = HFI_BUFFER_INPUT; fdata.flags |= HFI_BUFFERFLAG_EOS; - if (IS_V6(inst->core) && is_fw_rev_or_older(inst->core, 1, 0, 87)) + + /* Send NULL EOS addr for only IRIS2 (SM8250),for firmware <= 1.0.87. + * SC7280 also reports "1.0." parsed as 1.0.0; restricting to IRIS2 + * avoids misapplying this quirk and breaking VP9 decode on SC7280. + */ + + if (IS_IRIS2(inst->core) && is_fw_rev_or_older(inst->core, 1, 0, 87)) fdata.device_addr = 0; else fdata.device_addr = 0xdeadb000;