From 7f626ef5292d6e69566307a994f780a221f0349b Mon Sep 17 00:00:00 2001 From: Dmitry Baryshkov Date: Mon, 2 Jan 2023 15:14:43 +0200 Subject: [PATCH] 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 Cc: Jonathan Marek Cc: Fabio Estevam Signed-off-by: Dmitry Baryshkov [Fixed WHENCE license entry to avoid check_whence errors] Signed-off-by: Josh Boyer --- LICENSE.qcom_yamato | 25 +++++++++++++++++++++++++ WHENCE | 13 +++++++++++++ qcom/yamato_pfp.fw | Bin 0 -> 1156 bytes qcom/yamato_pm4.fw | Bin 0 -> 9220 bytes 4 files changed, 38 insertions(+) create mode 100644 LICENSE.qcom_yamato create mode 100644 qcom/yamato_pfp.fw create mode 100644 qcom/yamato_pm4.fw diff --git a/LICENSE.qcom_yamato b/LICENSE.qcom_yamato new file mode 100644 index 00000000..1fd702bb --- /dev/null +++ b/LICENSE.qcom_yamato @@ -0,0 +1,25 @@ +Copyright (c) 2008-2011, QUALCOMM Incorporated. All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions are met: + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of QUALCOMM Incorporated nor + the names of its contributors may be used to endorse or promote + products derived from this software without specific prior written + permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE +LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +POSSIBILITY OF SUCH DAMAGE. diff --git a/WHENCE b/WHENCE index 16d3533b..24ffcadb 100644 --- a/WHENCE +++ b/WHENCE @@ -5776,6 +5776,19 @@ https://developer.qualcomm.com/hardware/dragonboard-410c/tools -------------------------------------------------------------------------- +Driver: adreno - Qualcomm Adreno GPU firmware + +File: qcom/yamato_pfp.fw +File: qcom/yamato_pm4.fw + +Licence: Redistributable, BSD-3-Clause licence, See LICENSE.qcom_yamato for details + +Binary files generated from header files in EfikaMX kernel sources. A prefix of +four zero bytes was prepended to make them work with the DRM MSM driver. See +https://github.com/genesi/linux-legacy/tree/master/drivers/mxc/amd-gpu + +-------------------------------------------------------------------------- + Driver: qcom_q6v5_pas - Qualcomm remoteproc firmware File: qcom/apq8096/adsp.mbn diff --git a/qcom/yamato_pfp.fw b/qcom/yamato_pfp.fw new file mode 100644 index 0000000000000000000000000000000000000000..beaa5949d89eef809dd8cd19c186466dcd4de3cf GIT binary patch literal 1156 zcmcJO%}Z2a6vlt|-f?Es5hf6lP-k>3gVesJ5?XX?3Ibas^s%WHwFx5V4^X*e3(1z6 znn5mI)+TThQzI9XJ1GW5yP!q=7xujG+$$<=yKv^b=Xu}roadawfWB17$fXG#mY9Az zfkR+1&yR!!czm;-fsiw~HK@)vJX3TjZsi$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