From 9a0a0548a7bb02d052318ed8f5333005773878f2 Mon Sep 17 00:00:00 2001
From: Nicolas Dechesne <nicolas.dechesne@linaro.org>
Date: Fri, 1 Sep 2017 16:29:17 +0200
Subject: [PATCH] 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>
---
 WHENCE           |  14 ++++++++++++++
 a300_pfp.fw      |   1 +
 a300_pm4.fw      |   1 +
 qcom/a300_pfp.fw | Bin 0 -> 1156 bytes
 qcom/a300_pm4.fw | Bin 0 -> 9220 bytes
 5 files changed, 16 insertions(+)
 create mode 120000 a300_pfp.fw
 create mode 120000 a300_pm4.fw
 create mode 100644 qcom/a300_pfp.fw
 create mode 100644 qcom/a300_pm4.fw

diff --git a/WHENCE b/WHENCE
index 5c525740..28cd63a1 100644
--- a/WHENCE
+++ b/WHENCE
@@ -3667,3 +3667,17 @@ File: imx/sdma/sdma-imx7d.bin
 Version: 4.2
 
 Licence: Redistributable. See LICENSE.sdma_firmware for details
+
+--------------------------------------------------------------------------
+
+Driver: adreno - Qualcomm Adreno GPU firmware
+
+File: qcom/a300_pfp.fw
+Link: a300_pfp.fw -> qcom/a300_pfp.fw
+File: qcom/a300_pm4.fw
+Link: a300_pm4.fw -> qcom/a300_pm4.fw
+
+Licence: Redistributable. See LICENSE.qcom and qcom/NOTICE.txt for details
+
+Binary files supplied originally from
+https://developer.qualcomm.com/hardware/dragonboard-410c/tools
diff --git a/a300_pfp.fw b/a300_pfp.fw
new file mode 120000
index 00000000..c1f0c373
--- /dev/null
+++ b/a300_pfp.fw
@@ -0,0 +1 @@
+qcom/a300_pfp.fw
\ No newline at end of file
diff --git a/a300_pm4.fw b/a300_pm4.fw
new file mode 120000
index 00000000..54e2627e
--- /dev/null
+++ b/a300_pm4.fw
@@ -0,0 +1 @@
+qcom/a300_pm4.fw
\ No newline at end of file
diff --git a/qcom/a300_pfp.fw b/qcom/a300_pfp.fw
new file mode 100644
index 0000000000000000000000000000000000000000..5522677973ce524887ec2a381ed603429d301df0
GIT binary patch
literal 1156
zcmchW%}Z2a6vlt|-WlhnBTgi?iJbhX0i7)TD3EZ<7J@+qnyV<Vf1p(aV_q^yNLp0l
z7zMVGwn2Zu_`wu<CkGcUTDff5qE(CRdEc3_VQA5+I~<;SpZC1yJm+ITPo%*3l}CD6
zvDo%~1c$)#UM3VD;IU_sRDt2v&yZOzBlBFFoB_W8@d9z4@T+?b5(T!uW$9&ybUx&y
zF^a^3B}~kp#;0|we4Z&1sl@l>_ph-`950ZWI~9#F;aNi3eQA`QWLy~J?6>uouc@U&
z*e*YF&tTsP`Kb@p+~*Sd&M#a3R1lKPgdAm=gV-9KZi!KuJ2Aks4_U&+8QgqP7BVe9
zYHHNGiFIA^jSiD%PG_rgOEyotG*o-s%r4E8wOFk5vS0mK=_tW|NHnuZRA_qEG%<)X
z(Jf2cxU^|@l{*{m?qN^P7=Pt;k`0{qw>X%~S**?NBpVNP9FdMjS#4jM^c}C`I;GV~
z`F4&TUu+K3Q_m~WrL)?d=@i#p$Bl|RUB^v}>#O68cB?g#lEz)TQ?wRvG9eAJeeIg-
zZ{o5^OYn*wagKKEZ|4N-tc}gE`6EjtU-m7>SKNzcKF|~F*xLWpzh`&J)MNJA)L5Na
z3$LYaU47qT`(u`&jU0)E0cOK4MUuvnkIy2mFrvM=q<!iQLekP#t?R2InEy#R-+Tpi
z{GXo}s%lAHe4`5ANo`cWRT6yS7_%JL-gnTii498qWp$)qlj>rK`&{5I!`x$p_grOx
iF&=Y+r`+TvljOL?Tc&u(ZJu*Sl|RsajT2LSwe}muZ}9~H

literal 0
HcmV?d00001

diff --git a/qcom/a300_pm4.fw b/qcom/a300_pm4.fw
new file mode 100644
index 0000000000000000000000000000000000000000..840e5a9688303c93b6ecd83988123e7fe1a174e6
GIT binary patch
literal 9220
zcmc&(Z-`u16+bg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