diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2009-08-23 13:37:26 -0400 |
---|---|---|
committer | Dave Airlie <airlied@redhat.com> | 2009-08-26 20:47:00 -0400 |
commit | 52f97df5da1f94d2b7db1bb53a2f053ae162b649 (patch) | |
tree | e28088b51a008ad2f2d8b628ab617b9c026fa812 /firmware | |
parent | ece2be7993cc5e269cbf0cad6442b401a2c31915 (diff) |
drm/r128: Use request_firmware() to load CCE microcode
Firmware blob looks like this:
__be32 datah
__be32 datal
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'firmware')
-rw-r--r-- | firmware/Makefile | 1 | ||||
-rw-r--r-- | firmware/WHENCE | 31 | ||||
-rw-r--r-- | firmware/r128/r128_cce.bin.ihex | 129 |
3 files changed, 161 insertions, 0 deletions
diff --git a/firmware/Makefile b/firmware/Makefile index 0e39f7e73ba..6ea4e3d9f05 100644 --- a/firmware/Makefile +++ b/firmware/Makefile | |||
@@ -43,6 +43,7 @@ fw-shipped-$(CONFIG_CHELSIO_T3) += cxgb3/t3b_psram-1.1.0.bin \ | |||
43 | cxgb3/t3c_psram-1.1.0.bin \ | 43 | cxgb3/t3c_psram-1.1.0.bin \ |
44 | cxgb3/t3fw-7.4.0.bin | 44 | cxgb3/t3fw-7.4.0.bin |
45 | fw-shipped-$(CONFIG_DRM_MGA) += matrox/g200_warp.fw matrox/g400_warp.fw | 45 | fw-shipped-$(CONFIG_DRM_MGA) += matrox/g200_warp.fw matrox/g400_warp.fw |
46 | fw-shipped-$(CONFIG_DRM_R128) += r128/r128_cce.bin | ||
46 | fw-shipped-$(CONFIG_DVB_AV7110) += av7110/bootcode.bin | 47 | fw-shipped-$(CONFIG_DVB_AV7110) += av7110/bootcode.bin |
47 | fw-shipped-$(CONFIG_DVB_TTUSB_BUDGET) += ttusb-budget/dspbootcode.bin | 48 | fw-shipped-$(CONFIG_DVB_TTUSB_BUDGET) += ttusb-budget/dspbootcode.bin |
48 | fw-shipped-$(CONFIG_E100) += e100/d101m_ucode.bin e100/d101s_ucode.bin \ | 49 | fw-shipped-$(CONFIG_E100) += e100/d101m_ucode.bin e100/d101s_ucode.bin \ |
diff --git a/firmware/WHENCE b/firmware/WHENCE index 5db34a88d6e..578d859c41f 100644 --- a/firmware/WHENCE +++ b/firmware/WHENCE | |||
@@ -730,3 +730,34 @@ OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | |||
730 | Found in hex form in kernel source. | 730 | Found in hex form in kernel source. |
731 | 731 | ||
732 | -------------------------------------------------------------------------- | 732 | -------------------------------------------------------------------------- |
733 | |||
734 | Driver: r128 - ATI Rage 128 | ||
735 | |||
736 | File: r128/r128_cce.bin | ||
737 | |||
738 | Licence: | ||
739 | |||
740 | Copyright 2000 Advanced Micro Devices, Inc. | ||
741 | |||
742 | * Permission is hereby granted, free of charge, to any person obtaining a | ||
743 | * copy of this software and associated documentation files (the "Software"), | ||
744 | * to deal in the Software without restriction, including without limitation | ||
745 | * the rights to use, copy, modify, merge, publish, distribute, sublicense, | ||
746 | * and/or sell copies of the Software, and to permit persons to whom the | ||
747 | * Software is furnished to do so, subject to the following conditions: | ||
748 | * | ||
749 | * The above copyright notice and this permission notice (including the next | ||
750 | * paragraph) shall be included in all copies or substantial portions of the | ||
751 | * Software. | ||
752 | * | ||
753 | * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
754 | * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
755 | * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL | ||
756 | * PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR ANY CLAIM, DAMAGES OR | ||
757 | * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, | ||
758 | * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | ||
759 | * DEALINGS IN THE SOFTWARE. | ||
760 | |||
761 | Found in decimal form in kernel source. | ||
762 | |||
763 | -------------------------------------------------------------------------- | ||
diff --git a/firmware/r128/r128_cce.bin.ihex b/firmware/r128/r128_cce.bin.ihex new file mode 100644 index 00000000000..4831315d7b9 --- /dev/null +++ b/firmware/r128/r128_cce.bin.ihex | |||
@@ -0,0 +1,129 @@ | |||
1 | :1000000000000000108038000000000010003800E0 | ||
2 | :10001000000000020000008E0000000200000091BD | ||
3 | :1000200000000000402E2423000000006062124FF8 | ||
4 | :10003000000000002E2B596D000000007677753E01 | ||
5 | :1000400000000000898984820000000023BC8B0D21 | ||
6 | :10005000000000002323232300000000238DABB405 | ||
7 | :1000600000000000232323230000000100B028002B | ||
8 | :100070000000000100032800000000010004C0008F | ||
9 | :100080000000000100030800000000023660300E8E | ||
10 | :100090000000000B00040000000000000000000051 | ||
11 | :1000A000000000010200151D0000000100001D0EEF | ||
12 | :1000B00000000001000039D900000001000019D73C | ||
13 | :1000C0000000000C0000001C00000001000019D618 | ||
14 | :1000D0000000000C0000001C0000000200000017DF | ||
15 | :1000E0000000000B01200000000000000100358A24 | ||
16 | :1000F0000000000100064000000000090000001E92 | ||
17 | :100100000000000108D015B4000000101910100004 | ||
18 | :100110000000000300002000000000000000280094 | ||
19 | :1001200000000001000308000000000100003D0E77 | ||
20 | :10013000000000010000C8000000000A0000882A3A | ||
21 | :10014000000000090000002A000000010200150F55 | ||
22 | :1001500000000002000028240000000100003D65AE | ||
23 | :100160000000000100003D66000000020000002BBE | ||
24 | :100170000000000100F32DB4000000012200D8BFF0 | ||
25 | :100180000000000100E088BF0000000C1333383786 | ||
26 | :1001900000000001020615650000000C0000003799 | ||
27 | :1001A00000000001020015640000000100003D662F | ||
28 | :1001B000000000020000002E000000040020083AA9 | ||
29 | :1001C0000000000100080800000000010006C0FF58 | ||
30 | :1001D000000000040040003D000000010007C800CE | ||
31 | :1001E00000000001000700FF000000030000000005 | ||
32 | :1001F0000000000C0000005C000000020000002E67 | ||
33 | :100200000000000C000000B00000000100003D767E | ||
34 | :100210000000000100032800000000010000480069 | ||
35 | :1002200000000001000208000000000106001D0E91 | ||
36 | :1002300000000001000248000000000100028800E8 | ||
37 | :100240000000000100F3C5F80000000100100000EC | ||
38 | :10025000000000060030004E0000000100003D6379 | ||
39 | :100260000000001080303DF0000000021000384314 | ||
40 | :1002700000000002000028430000000C000000B055 | ||
41 | :100280000000000100003D760000000100003D7705 | ||
42 | :100290000000000100003D0E0000000100003D0FC5 | ||
43 | :1002A000000000010050280000000006003000524D | ||
44 | :1002B0000000001080303DF00000000100003DF81B | ||
45 | :1002C00000000002000000520000000100053D0E89 | ||
46 | :1002D0000000000100103D0F00000002003000553A | ||
47 | :1002E0000000000100003D700000000100001E89B8 | ||
48 | :1002F0000000000100003D710000000300003D729D | ||
49 | :100300000000000C0000005C000000020000006221 | ||
50 | :100310000000000100003F280000000100003F270E | ||
51 | :100320000000000100003E820000000100003E8845 | ||
52 | :100330000000000100003E660000000100003E6772 | ||
53 | :100340000000000100003E760000000100003E6851 | ||
54 | :100350000000000100003E690000000100003E6C4A | ||
55 | :100360000000000000003E6D0000000100002800B9 | ||
56 | :1003700000000001005028000000000100003D685E | ||
57 | :100380000000000100030800000000060000006EED | ||
58 | :10039000000000010002C0000000000106303D62C4 | ||
59 | :1003A0000000000200000070000000020030006F3A | ||
60 | :1003B00000000000200038C0000000010001C0C0A3 | ||
61 | :1003C0000000000E0000007D0000000C0003287FEC | ||
62 | :1003D00000000001020015BB0000000C00030880B3 | ||
63 | :1003E0000000000002003DBC0000000100003DBB19 | ||
64 | :1003F0000000000000003DBC00000003000480007D | ||
65 | :100400000000000100048000000000030006C0029C | ||
66 | :100410000000000100B0280000000000306038003B | ||
67 | :100420000000000100C028000000000100B008002A | ||
68 | :100430000000000100D600000000000712801086B6 | ||
69 | :10044000000000000000280000000001000039CC7E | ||
70 | :1004500000000001000039CD00000001000039C992 | ||
71 | :1004600000000001000039CA00000000000039CB84 | ||
72 | :10047000000000011003B80000000001009000001F | ||
73 | :100480000000000110003800000000010003080017 | ||
74 | :100490000000000100903D1B0000000140203D0ACB | ||
75 | :1004A0000000000140203D0B00000001000880001A | ||
76 | :1004B000000000010001C0C00000000E0000009F0D | ||
77 | :1004C0000000000C000308800000000142203DBD38 | ||
78 | :1004D0000000000C0003087F0000000142003DBB4B | ||
79 | :1004E0000000000C000308800000000142203DBC19 | ||
80 | :1004F00000000002000000A20000000140203DBDFD | ||
81 | :100500000000000140003DBB0000000140203DBC58 | ||
82 | :1005100000000001000840000000000100A00000F1 | ||
83 | :1005200000000006003000A6000000101060380037 | ||
84 | :1005300000000009000000A80000000300400000C7 | ||
85 | :100540000000000300403D1D00000000000000000E | ||
86 | :1005500000000000000001000000000E000000AEDE | ||
87 | :10056000000000010001C0A900000001020015C741 | ||
88 | :100570000000000C000000B0000000000000280097 | ||
89 | :10058000000000010001C0AA00000001020015D215 | ||
90 | :10059000000000010001C0A900000003020015C70F | ||
91 | :1005A0000000000100003E88000000010001C0BA08 | ||
92 | :1005B0000000000102001728000000010001C0BB7C | ||
93 | :1005C000000000010200165A0000000000003E5B1F | ||
94 | :1005D000000000000000010000000000000010000A | ||
95 | :1005E000000000010006400B00000009000000BCF4 | ||
96 | :1005F00000000000000028000000000000000000D3 | ||
97 | :1006000000000000000000000000000000000000EA | ||
98 | :1006100000000000000000000000000000000000DA | ||
99 | :1006200000000000000000000000000000000000CA | ||
100 | :1006300000000000000000000000000000000000BA | ||
101 | :1006400000000000000000000000000000000000AA | ||
102 | :10065000000000000000000000000000000000009A | ||
103 | :10066000000000000000000000000000000000008A | ||
104 | :10067000000000000000000000000000000000007A | ||
105 | :10068000000000000000000000000000000000006A | ||
106 | :10069000000000000000000000000000000000005A | ||
107 | :1006A000000000000000000000000000000000004A | ||
108 | :1006B000000000000000000000000000000000003A | ||
109 | :1006C000000000000000000000000000000000002A | ||
110 | :1006D000000000000000000000000000000000001A | ||
111 | :1006E000000000000000000000000000000000000A | ||
112 | :1006F00000000000000000000000000000000000FA | ||
113 | :1007000000000000000000000000000000000000E9 | ||
114 | :1007100000000000000000000000000000000000D9 | ||
115 | :1007200000000000000000000000000000000000C9 | ||
116 | :1007300000000000000000000000000000000000B9 | ||
117 | :1007400000000000000000000000000000000000A9 | ||
118 | :100750000000000000000000000000000000000099 | ||
119 | :100760000000000000000000000000000000000089 | ||
120 | :100770000000000000000000000000000000000079 | ||
121 | :100780000000000000000000000000000000000069 | ||
122 | :100790000000000000000000000000000000000059 | ||
123 | :1007A0000000000000000000000000000000000049 | ||
124 | :1007B0000000000000000000000000000000000039 | ||
125 | :1007C0000000000000000000000000000000000029 | ||
126 | :1007D0000000000000000000000000000000000019 | ||
127 | :1007E0000000000000000000000000000000000009 | ||
128 | :1007F00000000000000000000000000000000000F9 | ||
129 | :00000001FF | ||