Nathan Hebert [Tue, 25 Oct 2022 19:50:38 +0000 (12:50 -0700)]
qcom: replace split SC7180 venus firmware images with symlink
Qualcomm drivers have supported non-split firmware since since 2019 in
linux kernel commit 498b98e93900 ("soc: qcom: mdt_loader: Support
loading non-split images"). The firmware loader works with either the
split or non-split firmware types. The venus driver for SC7180 currently
loads venus.mdt, not the unified venus.mbn.
This commit removes the non-split images. It adds a link from venus.mdt
to venus.mbn. This retains existing driver compatibility, while gaining
the benefit of reducing size of the deployed files.
I verified this change with on ChromeOS using kernels based on 5.4 and
5.15.
Peter Robinson [Sun, 16 Oct 2022 12:50:44 +0000 (13:50 +0100)]
brcm: add symlink for Pi Zero 2 W NVRAM file
The Raspberry Pi Zero 2 W comes with two possible WiFi modules.
One of them is the same module as shipped in the original
Raspberry Pi 3B and Zero W so lets link them so the devices
with that module will work out of the box.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com> Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Dmitry Baryshkov [Mon, 10 Oct 2022 22:31:10 +0000 (01:31 +0300)]
qcom: add squashed version of a530 zap shader
Qualcomm binary files can be published in one of two formats: a split
MDT+Bnn format, consisting of several files, or a squashed MBN format,
consisting of a single ELF file.
Most of Qualcomm binary files (except the venus firmware) are
distributed (in linux-firmware) and used in the MBN format (even if the
original publishing format was MDT), since that requires transfer of a
single file between the userspace and the kernel.
Provide a squashed variant of Qualcomm Adreno a530 ZAP shader. For
backwards compatibility reason the split a530_zap.* files are retained.
They can be removed later, after all users migrate to new file location.
Cc: Rob Clark <robdclark@chromium.org> Cc: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>