| 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_11_0_3 */ |
| 25 | static const u32 gfx_11_0_3_cleaner_shader_hex[] = { |
| 26 | 0xb0804006, 0xbe8200ff, |
| 27 | 0x00000058, 0xbefd0080, |
| 28 | 0x7e008480, 0x7e028480, |
| 29 | 0x7e048480, 0x7e068480, |
| 30 | 0x7e088480, 0x7e0a8480, |
| 31 | 0x7e0c8480, 0x7e0e8480, |
| 32 | 0xbefd0002, 0x80828802, |
| 33 | 0xbfa1fff5, 0xbe8200ff, |
| 34 | 0x80000000, 0x8b020002, |
| 35 | 0xbfa10012, 0xbefe00c1, |
| 36 | 0xbeff00c1, 0xd71f0001, |
| 37 | 0x0001007f, 0xd7200001, |
| 38 | 0x0002027e, 0x16020288, |
| 39 | 0xbe8200bf, 0xbefd00c1, |
| 40 | 0xd9382000, 0x00020201, |
| 41 | 0xd9386040, 0x00040401, |
| 42 | 0xd7006a01, 0x000202ff, |
| 43 | 0x00000400, 0x80828102, |
| 44 | 0xbfa1fff7, 0xbefd00ff, |
| 45 | 0x00000068, 0xbe804280, |
| 46 | 0xbe814280, 0xbe824280, |
| 47 | 0xbe834280, 0x80fd847d, |
| 48 | 0xbfa1fffa, 0xbeea0180, |
| 49 | 0xbeec0180, 0xbeee0180, |
| 50 | 0xbef00180, 0xbef20180, |
| 51 | 0xbef40180, 0xbef60180, |
| 52 | 0xbef80180, 0xbefa0180, |
| 53 | 0xbfb00000, 0xbf9f0000, |
| 54 | 0xbf9f0000, 0xbf9f0000, |
| 55 | 0xbf9f0000, 0xbf9f0000, |
| 56 | }; |
| 57 | |