Add firmware files for Adreno A20x (codenamed yamato), found in
Freescale i.MX51/i.MX53 and in some prehistoric Qualcomm Snapdragon
SoCs.
The firmware were generated from the header files from EfikaMX kernel
sources ([1]), which bear copyright by QUALCOMM Incorporated and have
BSD-3-Clause licence.
[1] https://github.com/genesi/linux-legacy/tree/master/drivers/mxc/amd-gpu
Cc: Rob Clark <robdclark@gmail.com>
Cc: Jonathan Marek <jonathan@marek.ca>
Cc: Fabio Estevam <festevam@gmail.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
[Fixed WHENCE license entry to avoid check_whence errors]
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Drop the split a530_zap.mdt + ap530_zap.bNN files. The
qcom/apq8096/a530_zap.mbn is provided instead. Also provide the
symlink qcom/a530_zap.mdt -> qcom/apq8096/a530_zap.mbn for backwards
compatibility with existing kernels and DT files.
Cc: Rob Clark <robdclark@gmail.com>
Cc: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Follow the example of the sc7280 and sc7180 (venus-5.4, vpu-2.0) and
drop the split firmare files (mdt + bNN) in favour of using the squashed
mbn file. For backwards compatibility generate the mdt -> mbn symlink.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Follow the example of the sc7280 and sc7180 (venus-5.4, vpu-2.0) and
drop the split firmare files (mdt + bNN) in favour of using the squashed
mbn file. For backwards compatibility generate the mdt -> mbn symlink.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Follow the example of the sc7280 and sc7180 (venus-5.4, vpu-2.0) and
replace the split firmare files (mdt + bNN) with the squashed mbn file.
For backwards compatibility generate the mdt -> mbn symlink.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Follow the example of the sc7280 and sc7180 (venus-5.4, vpu-2.0) and
replace the split firmare files (mdt + bNN) with the squashed mbn file.
For backwards compatibility generate the mdt -> mbn symlink.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Qualcomm drivers have supported non-split firmware since since 2019 in
linux kernel commit 498b98e93900 ("soc: qcom: mdt_loader: Support
loading non-split images"). There are no released devices using the
SC7280 chipset, so there is no need to support legacy split images.
I verified that the non-split image is loadable and that the venus
media capabilities are intact without the split images with a ChromeOS
5.15 kernel.
Signed-off-by: Nathan Hebert <nhebert@chromium.org>
Update firmware file to VIDEO.VE.5.4-00053-PROD-1. There are a few
fixes including a fix for dynamic resolution change handling.
Signed-off-by: Nathan Hebert <nhebert@chromium.org>
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.
Signed-off-by: Nathan Hebert <nhebert@chromium.org>
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>
After some discussion with Bjorn, the Qualcomm platform maintainer, it
was agreed to follow the established practice and to inject the SoC name
into the firmware paths.
It is highly unlikely that we are going to run Linux off the existing
ACPI data in these platforms anytime soon. And even if we do so, we'd
have to figure out the file names anyway, as they do not follow the
existing standard names.
Cc: Bjorn Andersson <andersson@kernel.org>
Cc: Mark Pearson <markpearson@lenovo.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Acked-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
Add runtime loaded firmware for the audio, compute and sensor DSPs, as
well as the zap shader for the GPU on the Lenovo ThinkPad X13s.
The files are placed under qcom/ as some distributions distribute
linux-firmware as multiple packages and the qcom-specific package will
be needed to provide some of the shared GPU files.
Signed-off-by: Mark Pearson <markpearson@lenovo.com>
Add firmware files for Adreno a405/a420/a430, used in several
generations of Qualcomm Snapdragon processors starting from APQ8084 up
to MSM8994 (including MSM8939 and several other ones).
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Add the modem DSP firmware for the Qualcomm APQ8096 boards. The files
come from the redistributable linux-board-support-package-r01700.1.zip
for the Dragonboard 820c. The file modem.mbn was generated from
segment files using the pil-squasher tool.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Add the audio DSP firmware for the Qualcomm APQ8096 boards. The files
come from the redistributable linux-board-support-package-r01700.1.zip
for the Dragonboard 820c.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Update remoteproc firmware to the following versions:
- ADSP.HT.5.3.c2-00058-SM8250-3
- CDSP.HT.2.3.c1-00060-SM8250-2
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Update A650 SQE firmware to version 0.99 providing security fixes. At
the same time update A650 ZAP shader firmware.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Cc: Jordan Crouse <jordan@cosmicpenguin.net>
Cc: Rob Clark <robdclark@gmail.com>
Add firmware VIDEO.VPU.1.0-00087-PROD-1 for the Qualcomm Venus.
Used on the Robotics RB5 platform.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Add test signed firmware CDSP.HT.2.3.c1-00044-SM8250-2 for the Qualcomm
SM8250 Compute DSP.
Used on the Robotics RB5 platform.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Add test signed firmware ADSP.HT.5.3.c2-00055-SM8250-2 for the Qualcomm
SDM8250 Audio DSP.
Used on the Robotics RB5 platform.
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Update the microcode files for Adreno a5xx and a6xx GPUs.
Update a530_pfp.fw to version 1.87.01 and a630_sqe.fw to
version 1.77.01.
Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org>
The Adreno GPU found in SDM845 needs one more firmware file to be
operational in the SDM845 MTP and Dragonboard 845c, add this file.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Switch SDM845 and the Dragonboard 845c/RB3 to the more stable version
WLAN.HL.2.0-01387-QCAHLSWMTPLZ-1, by replacing the wlanmdsp.mbn with a
symlink to the recently commited file found under ath10k/
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Add test signed firmware CDSP.HT.1.0-00535-SDM845-1 for the Qualcomm
SDM845 Compute DSP.
Used on the Dragonboard 845c/Robotics RB3 platform.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Add test signed firmware ADSP.HT.4.0-00554-SDM845-1 for the Qualcomm
SDM845 Audio DSP.
Used on the Dragonboard 845c/Robotics RB3 platform.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Adds test-signed modem and WiFi firmware versions:
MPSS.AT.4.0.c2-01184-SDM845_GEN_PACK-1
WLAN.HL.2.0.c10-00236-QCAHLSWMTPLZ-1
Used on the Dragonboard 845c/Robotics RB3 platform.
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Symlinks have been added because existing driver in mainline kernel is already
merged and expects the files there. For future version of the firmware (or newer
hardware) we will fixup the search path, but the symlinks are needed to work
with released kernels.
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>