116171a25SJonathan Kim /*
216171a25SJonathan Kim  * Copyright 2020 Advanced Micro Devices, Inc.
316171a25SJonathan Kim  *
416171a25SJonathan Kim  * Permission is hereby granted, free of charge, to any person obtaining a
516171a25SJonathan Kim  * copy of this software and associated documentation files (the "Software"),
616171a25SJonathan Kim  * to deal in the Software without restriction, including without limitation
716171a25SJonathan Kim  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
816171a25SJonathan Kim  * and/or sell copies of the Software, and to permit persons to whom the
916171a25SJonathan Kim  * Software is furnished to do so, subject to the following conditions:
1016171a25SJonathan Kim  *
1116171a25SJonathan Kim  * The above copyright notice and this permission notice shall be included in
1216171a25SJonathan Kim  * all copies or substantial portions of the Software.
1316171a25SJonathan Kim  *
1416171a25SJonathan Kim  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1516171a25SJonathan Kim  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1616171a25SJonathan Kim  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
1716171a25SJonathan Kim  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
1816171a25SJonathan Kim  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
1916171a25SJonathan Kim  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
2016171a25SJonathan Kim  * OTHER DEALINGS IN THE SOFTWARE.
2116171a25SJonathan Kim  *
2216171a25SJonathan Kim  */
2316171a25SJonathan Kim 
2416171a25SJonathan Kim #ifndef __GFX_V9_4_2_H__
2516171a25SJonathan Kim #define __GFX_V9_4_2_H__
2616171a25SJonathan Kim 
2716171a25SJonathan Kim void gfx_v9_4_2_debug_trap_config_init(struct amdgpu_device *adev,
2816171a25SJonathan Kim 				uint32_t first_vmid, uint32_t last_vmid);
29264aef8bSHawking Zhang void gfx_v9_4_2_init_golden_registers(struct amdgpu_device *adev,
30264aef8bSHawking Zhang 				      uint32_t die_id);
315217811eSKevin Wang void gfx_v9_4_2_set_power_brake_sequence(struct amdgpu_device *adev);
326effe779SDennis Li int gfx_v9_4_2_do_edc_gpr_workarounds(struct amdgpu_device *adev);
3322616eb5SDennis Li 
34*8b0fb0e9Syipechai extern struct amdgpu_gfx_ras gfx_v9_4_2_ras;
35719a9b33SHawking Zhang 
3616171a25SJonathan Kim #endif /* __GFX_V9_4_2_H__ */
37