Commit Graph

46 Commits

Author SHA1 Message Date
Dmitry Baryshkov
7f626ef529
qcom: add firmware files for Adreno A200
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>
2023-01-17 07:54:11 -05:00
Josh Boyer
bd99c835c4
Merge branch 'venus' of https://github.com/lumag/linux-firmware
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2022-11-09 12:40:53 -05:00
Dmitry Baryshkov
7d2bb50ced qcom: drop split a530_zap firmware file
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>
2022-10-31 21:33:47 +03:00
Dmitry Baryshkov
7d5671369d qcom/vpu-1.0: drop split firmware in favour of the mbn file
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>
2022-10-31 21:32:05 +03:00
Dmitry Baryshkov
1431496620 qcom/venus-4.2: drop split firmware in favour of the mbn file
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>
2022-10-31 21:32:05 +03:00
Dmitry Baryshkov
cf95783e29 qcom/venus-4.2: replace split firmware with the mbn file
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>
2022-10-31 21:32:05 +03:00
Dmitry Baryshkov
1fe6f49dc1 qcom/venus-1.8: replace split firmware with the mbn file
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>
2022-10-31 21:32:05 +03:00
Nathan Hebert
05df8e6518 qcom: update venus firmware files for VPU-2.0
Update firmware files to VIDEO.VPU.2.0-00049-PROD-1. The upgrade
contains a few bug fixes.

Signed-off-by: Nathan Hebert <nhebert@chromium.org>
2022-10-25 14:16:59 -07:00
Nathan Hebert
cd6fcdb120 qcom: remove split SC7280 venus firmware images
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>
2022-10-25 14:16:59 -07:00
Nathan Hebert
1612706787 qcom: update venus firmware file for v5.4
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>
2022-10-25 14:16:59 -07:00
Nathan Hebert
ad9fdba01f 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.

Signed-off-by: Nathan Hebert <nhebert@chromium.org>
2022-10-25 14:14:33 -07:00
Dmitry Baryshkov
44fa25ddf7 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>
2022-10-11 01:31:10 +03:00
Dmitry Baryshkov
edf9a2b4e1
qcom: rename Lenovo ThinkPad X13s firmware paths
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>
2022-09-12 08:14:40 -04:00
Mark Pearson
4ae4ae8891 qcom: Add firmware for Lenovo ThinkPad X13s
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>
2022-08-03 16:29:07 -04:00
Dmitry Baryshkov
dfa3c4c309 qcom: add firmware files for Adreno a420 & related generations
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>
2022-04-26 23:36:27 +03:00
Dmitry Baryshkov
4a43f1a844 qcom: add firmware files for Adreno a330
Add firmware files for Adreno a330, used in MSM8x74/APQ8074 Qualcomm
processors.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-04-26 23:34:11 +03:00
Dmitry Baryshkov
d0ea8ffa54 qcom: add firmware files for Adreno a220
Add firmware files for Adreno a220 (codenamed leia), used in
MSM8x60/APQ8060 Qualcomm processors.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2022-04-26 23:32:21 +03:00
Dmitry Baryshkov
afc44bb26f qcom: apq8096: add modem firmware
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>
2022-04-14 02:34:16 +03:00
Dmitry Baryshkov
9fa878c6f1 qcom: apq8096: add aDSP firmware
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>
2022-04-14 02:34:16 +03:00
Josh Boyer
547b202299
Merge https://github.com/suraj714/linux-firmware-venus into main
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2021-05-03 19:27:31 -04:00
Akhil P Oommen
17ec2a5206
qcom: add gpu firmwares for sc7280
Adds a660_gmu.bin (v3.01.06) and a660_sqe.fw (v0.94) firmware blobs
required for sc7280 SoC.

Signed-off-by: Akhil P Oommen <akhilpo@codeaurora.org>
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2021-05-03 09:22:32 -04:00
smagar
c7b11ed12b qcom: Add venus firmware files for VPU-2.0
Add firmware VIDEO.VPU.2.0-00038-PROD-1 for the Qualcomm Venus.
Used on the SC7280 platform.

Signed-off-by: smagar <smagar@codeaurora.org>
2021-05-03 12:18:45 +05:30
smagar
ca83c73deb qcom: update venus firmware files for v5.4
There are few bug fixes which are part of this upgrade.

Signed-off-by: smagar <smagar@codeaurora.org>
2021-04-23 19:56:27 +05:30
Dmitry Baryshkov
d8fa0cfb4a qcom: sm8250: update remoteproc firmware
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>
2021-04-01 23:05:00 +03:00
Dmitry Baryshkov
84af0e027c qcom: update a650 firmware files
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>
2021-04-01 23:01:56 +03:00
Dmitry Baryshkov
df822a848c qcom: Add venus firmware files for VPU-1.0
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>
2021-01-23 01:10:05 +03:00
Dmitry Baryshkov
11a1db1285 qcom: Add SM8250 Compute DSP firmware
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>
2021-01-23 01:10:01 +03:00
Dmitry Baryshkov
e55248b5f0 qcom: Add SM8250 Audio DSP firmware
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>
2021-01-23 01:09:57 +03:00
Dmitry Baryshkov
da74cc6f07 qcom: add firmware files for Adreno a650
Used on Robotics RB5 platform.

Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
2021-01-23 01:09:53 +03:00
Asit Shah
8a46c32a26 qcom : updated venus firmware files for v5.4
Following changes are included :
1. Added support for fixed stride in encoder
2. Bug Fixes

Signed-off-by: Asit Shah <asitshah@codeaurora.org>
2020-11-06 10:33:37 +05:30
Asit Shah
a09b728b77 qcom : updated venus firmware files for v5.4
Signed-off-by: Asit Shah <asitshah@codeaurora.org>
2020-10-08 15:07:59 +05:30
Jordan Crouse
f48fec4412 qcom: Add updated a5xx and a6xx microcode
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>
2020-09-08 10:03:36 -06:00
Bjorn Andersson
e6ff1e706e qcom: Add SDM845 Adreno ZAP shader firmware
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>
2020-04-10 13:05:22 -07:00
Bjorn Andersson
d6219ab5b4 qcom: Switch SDM845 WLAN firmware
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>
2020-01-02 22:25:39 -08:00
Josh Boyer
dd1a12e37a
Merge branch 'RB3-adsp-cdsp-mss-v4' of https://github.com/andersson/linux-firmware
Signed-off-by: Josh Boyer <jwboyer@kernel.org>
2019-12-15 07:27:46 -05:00
Dikshita Agarwal
e10ed2126e qcom: update venus firmware files for v5.4
Update the firmware to be used on Qualcomm Snapdragon
SC7180 based video hardware.

Signed-off-by: Dikshita Agarwal <dikshita@codeaurora.org>
2019-12-11 13:53:22 +05:30
Bjorn Andersson
212e44122e qcom: Add SDM845 Compute DSP firmware
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>
2019-11-20 16:08:30 -08:00
Bjorn Andersson
ec84cf91f0 qcom: Add SDM845 Audio DSP firmware
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>
2019-11-20 16:08:30 -08:00
Bjorn Andersson
62d0a1ad93 qcom: Add SDM845 modem firmware
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>
2019-11-20 16:08:30 -08:00
Nicolas Dechesne
88ea23e7ee qcom: add firmware files for Adreno a630
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2019-09-09 18:13:55 +02:00
Vikash Garodia
6ae7a5bf57 qcom: update venus firmware files for v5.2
Update the firmware to be used on Qualcomm Snapdragon
845 based video hardware.

Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2018-08-10 12:57:47 +05:30
Vikash Garodia
7602644358 qcom: add venus firmware files for v5.2
To be used on Qualcomm Snapdragon 845 based
hardware.

Signed-off-by: Vikash Garodia <vgarodia@codeaurora.org>
2018-05-26 13:26:16 +05:30
Nicolas Dechesne
e721933485 qcom: add venus firmware files for v4.2
To be used on Qualcomm Snapdragon 820 (APQ8096), such as on the Dragonboard
820c.

Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2017-11-15 20:49:17 +01:00
Nicolas Dechesne
f36a8e2199 qcom: add firmware files for Adreno a530
Signed-off-by: Nicolas Dechesne <nicolas.dechesne@linaro.org>
2017-11-15 20:49:12 +01:00
Nicolas Dechesne
9a0a0548a7 qcom: add firmware files for Adreno A3xx
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>
2017-09-05 22:07:42 +02:00
Stanimir Varbanov
70c8af0291 qcom: add venus firmware files for v1.8
Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
2017-06-12 17:09:27 +03:00