Loading...
1/* SPDX-License-Identifier: MIT */
2/*
3 * Copyright 2024 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_9_4_3 */
25static const u32 gfx_9_4_3_cleaner_shader_hex[] = {
26 0xbf068100, 0xbf84003b,
27 0xbf8a0000, 0xb07c0000,
28 0xbe8200ff, 0x00000078,
29 0xbf110802, 0x7e000280,
30 0x7e020280, 0x7e040280,
31 0x7e060280, 0x7e080280,
32 0x7e0a0280, 0x7e0c0280,
33 0x7e0e0280, 0x80828802,
34 0xbe803202, 0xbf84fff5,
35 0xbf9c0000, 0xbe8200ff,
36 0x80000000, 0x86020102,
37 0xbf840011, 0xbefe00c1,
38 0xbeff00c1, 0xd28c0001,
39 0x0001007f, 0xd28d0001,
40 0x0002027e, 0x10020288,
41 0xbe8200bf, 0xbefc00c1,
42 0xd89c2000, 0x00020201,
43 0xd89c6040, 0x00040401,
44 0x320202ff, 0x00000400,
45 0x80828102, 0xbf84fff8,
46 0xbefc00ff, 0x0000005c,
47 0xbf800000, 0xbe802c80,
48 0xbe812c80, 0xbe822c80,
49 0xbe832c80, 0x80fc847c,
50 0xbf84fffa, 0xbee60080,
51 0xbee70080, 0xbeea0180,
52 0xbeec0180, 0xbeee0180,
53 0xbef00180, 0xbef20180,
54 0xbef40180, 0xbef60180,
55 0xbef80180, 0xbefa0180,
56 0xbf810000, 0xbf8d0001,
57 0xbefc00ff, 0x0000005c,
58 0xbf800000, 0xbe802c80,
59 0xbe812c80, 0xbe822c80,
60 0xbe832c80, 0x80fc847c,
61 0xbf84fffa, 0xbee60080,
62 0xbee70080, 0xbeea01ff,
63 0x000000ee, 0xbf810000,
64};