summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/gfx_v9_0_cleaner_shader.h
blob: 0b6bd09b752993f9accd8d8fec3a3c5392f73e02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
/* SPDX-License-Identifier: MIT */
/*
 * Copyright 2024 Advanced Micro Devices, Inc.
 *
 * 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
 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) 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.
 */
/* Define the cleaner shader gfx_9_0 */
static const u32 __maybe_unused gfx_9_0_cleaner_shader_hex[] = {
	/* Add the cleaner shader code here */
};

/* Define the cleaner shader gfx_9_4_2 */
static const u32 gfx_9_4_2_cleaner_shader_hex[] = {
	0xbf068100, 0xbf84003b,
	0xbf8a0000, 0xb07c0000,
	0xbe8200ff, 0x00000078,
	0xbf110802, 0x7e000280,
	0x7e020280, 0x7e040280,
	0x7e060280, 0x7e080280,
	0x7e0a0280, 0x7e0c0280,
	0x7e0e0280, 0x80828802,
	0xbe803202, 0xbf84fff5,
	0xbf9c0000, 0xbe8200ff,
	0x80000000, 0x86020102,
	0xbf840011, 0xbefe00c1,
	0xbeff00c1, 0xd28c0001,
	0x0001007f, 0xd28d0001,
	0x0002027e, 0x10020288,
	0xbe8200bf, 0xbefc00c1,
	0xd89c2000, 0x00020201,
	0xd89c6040, 0x00040401,
	0x320202ff, 0x00000400,
	0x80828102, 0xbf84fff8,
	0xbefc00ff, 0x0000005c,
	0xbf800000, 0xbe802c80,
	0xbe812c80, 0xbe822c80,
	0xbe832c80, 0x80fc847c,
	0xbf84fffa, 0xbee60080,
	0xbee70080, 0xbeea0180,
	0xbeec0180, 0xbeee0180,
	0xbef00180, 0xbef20180,
	0xbef40180, 0xbef60180,
	0xbef80180, 0xbefa0180,
	0xbf810000, 0xbf8d0001,
	0xbefc00ff, 0x0000005c,
	0xbf800000, 0xbe802c80,
	0xbe812c80, 0xbe822c80,
	0xbe832c80, 0x80fc847c,
	0xbf84fffa, 0xbee60080,
	0xbee70080, 0xbeea01ff,
	0x000000ee, 0xbf810000,
};