1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright 2025 Advanced Micro Devices, Inc.
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a
6  * copy of this software and associated documentation files (the "Software"),
7  * to deal in the Software without restriction, including without limitation
8  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
9  * and/or sell copies of the Software, and to permit persons to whom the
10  * Software is furnished to do so, subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included in
13  * all copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
18  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
19  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
20  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
21  * OTHER DEALINGS IN THE SOFTWARE.
22  */
23 
24 /* Define the cleaner shader gfx_10_3_0 */
25 static const u32 gfx_10_3_0_cleaner_shader_hex[] = {
26 	0xb0804004, 0xbf8a0000,
27 	0xbe8203b8, 0xbefc0380,
28 	0x7e008480, 0x7e028480,
29 	0x7e048480, 0x7e068480,
30 	0x7e088480, 0x7e0a8480,
31 	0x7e0c8480, 0x7e0e8480,
32 	0xbefc0302, 0x80828802,
33 	0xbf84fff5, 0xbe8203ff,
34 	0x80000000, 0x87020002,
35 	0xbf840012, 0xbefe03c1,
36 	0xbeff03c1, 0xd7650001,
37 	0x0001007f, 0xd7660001,
38 	0x0002027e, 0x16020288,
39 	0xbe8203bf, 0xbefc03c1,
40 	0xd9382000, 0x00020201,
41 	0xd9386040, 0x00040401,
42 	0xd70f6a01, 0x000202ff,
43 	0x00000400, 0x80828102,
44 	0xbf84fff7, 0xbefc03ff,
45 	0x00000068, 0xbe803080,
46 	0xbe813080, 0xbe823080,
47 	0xbe833080, 0x80fc847c,
48 	0xbf84fffa, 0xbeea0480,
49 	0xbeec0480, 0xbeee0480,
50 	0xbef00480, 0xbef20480,
51 	0xbef40480, 0xbef60480,
52 	0xbef80480, 0xbefa0480,
53 	0xbf810000, 0xbf9f0000,
54 	0xbf9f0000, 0xbf9f0000,
55 	0xbf9f0000, 0xbf9f0000,
56 };
57