From 9e10904fb93173d5c923a0d90cb65d58fab80457 Mon Sep 17 00:00:00 2001 From: Ben Hutchings Date: Sun, 23 Aug 2009 18:34:25 +0100 Subject: [PATCH] drm/mga: Use request_firmware() to load microcode Image format is IHEX, one record for each pipe in order (record addresses are ignored). Signed-off-by: Ben Hutchings Signed-off-by: Dave Airlie --- WHENCE | 32 ++++++++++++++++++++++++++++++++ matrox/g200_warp.fw | Bin 0 -> 11214 bytes matrox/g400_warp.fw | Bin 0 -> 16790 bytes 3 files changed, 32 insertions(+) create mode 100644 matrox/g200_warp.fw create mode 100644 matrox/g400_warp.fw diff --git a/WHENCE b/WHENCE index 0f5649a0..5db34a88 100644 --- a/WHENCE +++ b/WHENCE @@ -698,3 +698,35 @@ Found in hex form in kernel source, with the following comment: Copyright (c) 1998-2002 by Paul Davis -------------------------------------------------------------------------- + +Driver: mga - Matrox G200/G400/G550 + +File: matrox/g200_warp.fw +File: matrox/g400_warp.fw + +Licence: + +Copyright 1999 Matrox Graphics Inc. +All Rights Reserved. + +Permission is hereby granted, free of charge, to any person obtaining a +copy of this software and associated documentation files (the "Software"), +to deal in the Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, sublicense, +and/or sell copies of the Software, and to permit persons to whom the +Software is furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included +in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS +OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL +MATROX GRAPHICS INC., OR ANY OTHER CONTRIBUTORS BE LIABLE FOR ANY CLAIM, +DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR +OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE +OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. + +Found in hex form in kernel source. + +-------------------------------------------------------------------------- diff --git a/matrox/g200_warp.fw b/matrox/g200_warp.fw new file mode 100644 index 0000000000000000000000000000000000000000..2c7f7fec396622ba946146721295e804fcceec65 GIT binary patch literal 11214 zcmeI2-*3}K9Kbyhw*@I`_Rxm@NPHbhF!|BANlL@orb$=YW@ChGtSQPF2P&b)|ITC z9Le(ea(6!4cb|Oj8&ecT8OA7{%KokG!XOTZf17>CiR`5vvvA!HDEVf%Gu0g4 zk+Quon03Dd`Mql)*V0?h-Q-eSGk58HVu1AX@cxO}3sX1g6kW^t#KEi|wxf_2ZVD%T z2b~=1^B<&Swy(PP)bw7yY-X&PmAHB&g*i%|oZjDSZ+#{0X?-!x)pAm>HYlyPY{k~H zt=JWfrzn}}3kJgi$AtwOW0NdCgx!o=s`Mi~WGZ7Z)kR$O)}$U3w5p^7&t`Avm%?c z*b&Y8_+;1_PE|u6ksl>dA0>}QFT{bvF(l@`Vrcf7*N`kjp%f!8?#WCMwEQU z+Kn$Z`Xz)~1+KMgfDa{b3$(-Wdoat|gcH^TraKa8V@E7~mhZ+@o2n!Z>ORlKa5d+U z);?&Y$@v>wVwjwtl7B*;wrwNsYEiJa?Hr-x365*$gsQ4efs*Yg=#Jq}`2-F^8!X&m z=;sjhcgTY-noh#GeREYAYiifPDL8MiBPaxr6Go8{`4EjhgL(|yBQx|9uJ<76XM;6{ z8+=Y^+eeXSu~BRjH#0HJFb=7qsv&K5n5B?8hFhS2Fir#)eGU0t4bnz4j2k|t%)>SO zx*7AhYvH-x=sB;91Hb4Onl{F8Vhh4-#ok#Lj7>`;!Z&D2E@u(m(CANET?muso!E?^ ztw;0wD;S|?9-^6wiSdj&&j(;0l0MpD?}7Pfg!xI1>vQu^`Hu5&3-j;V>&iGF`A^zT zKU}A@b2lt5rP z`&CHp9n!g{b8nS#&sbAAO4rnluHl^u|BS#`uUPYomVajQ`vUxED18IC>qR6@ct|)% z(u9L#Pgq+ItR-o6+tLujUawhDkIB9+$6b;pY$YruTqP_ejIG}A=REzOKs-IB;pzJt zZmK-()#T6f)R3hL%)d|m1JBcWr+eON^E~M9C^+c??>xwkip91+@QwjjCTwbH-VMAf zUX*u?gOM(SYv!}<3V3F5G4mMjE-jIF9~FpqA8L4aOv5#mcSkk(^Sq;b@~?kc(go({ zsTJUlM|6MG{c)B0qn4|Sc_dl?6W%I5DSMFWlL~KvvkGr>?x^}DaZ2Ks#4AY*VGNcdVUzz^TX!;Jd&DKdkEs ze^ov!aZZO-x(2aUv!h({K-~B`Fxcz03U)~UP#(jjV$JQV;JJk5N;`5t`VrRtrRGwh zNUXV|a^`y|Qv`Jg%fAJ8{tntvzbh(w+?xlN=*@=<#PLHKj=!VfwaW3gHTgM?E3p&x z+Mnvaz#Q*i0UZBW=eW*so#P6})j01`d9M2WJl9JR@pr;@!ga!TrCs>lfXJ|%&v!K* zta6_4J>T0^zN_9&82C@(!94}y`~eN;-_r10<@`QPzRvll|Gt6Fc|8uj>f+E($=8h# z--dT7M*j`x34{NV^AN+)a{e;JXYx5u-p{!LzY$)uS5P@m+E!yT|3l6%{vKF?{rl?` z;NQIN-@1S6{=KaJt;X3^KCAysG)K8>gE)%dvT>AN-g^PWyozXRrbAR7Px literal 0 HcmV?d00001 diff --git a/matrox/g400_warp.fw b/matrox/g400_warp.fw new file mode 100644 index 0000000000000000000000000000000000000000..57f1088e06fbc6bc64bc74b97edc32999a42eff1 GIT binary patch literal 16790 zcmeI2ZA=^Y9mh}1(sY}cfV_3AR3gn^6 zqFuVR=@NCSrl}9>175dwPohgGjiznhv2LrPP1C)oH1?`Ti6-6Ovidsjy5H{};`8N3 zvnU)+@e2fJ{r~qr8-KsQhtH3qDC!IS)N?Nrilsz~%@T_Gci~fZO}cI!4RN;739iQ< z<_7#R?k^|)aRS#aoV#9lano-(Hwp)P`fhb+Y!xTl-paV`C2C;6aD*PD@8FaljE%auJk&%e-P&ZAYBT=EJ$04+~I)sJ>hcGbU5Q3hd!1x%! z$1kpV_{G0EC-*J&vNZ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