xref: /linux/drivers/gpu/drm/amd/amdgpu/gmc_v12_1.h (revision c17ee635fd3a482b2ad2bf5e269755c2eae5f25e)
15056b75fSHawking Zhang /*
25056b75fSHawking Zhang  * Copyright 2025 Advanced Micro Devices, Inc.
35056b75fSHawking Zhang  *
45056b75fSHawking Zhang  * Permission is hereby granted, free of charge, to any person obtaining a
55056b75fSHawking Zhang  * copy of this software and associated documentation files (the "Software"),
65056b75fSHawking Zhang  * to deal in the Software without restriction, including without limitation
75056b75fSHawking Zhang  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
85056b75fSHawking Zhang  * and/or sell copies of the Software, and to permit persons to whom the
95056b75fSHawking Zhang  * Software is furnished to do so, subject to the following conditions:
105056b75fSHawking Zhang  *
115056b75fSHawking Zhang  * The above copyright notice and this permission notice shall be included in
125056b75fSHawking Zhang  * all copies or substantial portions of the Software.
135056b75fSHawking Zhang  *
145056b75fSHawking Zhang  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
155056b75fSHawking Zhang  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
165056b75fSHawking Zhang  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
175056b75fSHawking Zhang  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
185056b75fSHawking Zhang  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
195056b75fSHawking Zhang  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
205056b75fSHawking Zhang  * OTHER DEALINGS IN THE SOFTWARE.
215056b75fSHawking Zhang  *
225056b75fSHawking Zhang  */
235056b75fSHawking Zhang 
245056b75fSHawking Zhang #ifndef __GMC_V12_1_H__
255056b75fSHawking Zhang #define __GMC_V12_1_H__
265056b75fSHawking Zhang 
275056b75fSHawking Zhang void gmc_v12_1_set_gmc_funcs(struct amdgpu_device *adev);
284c5f7d73SMukul Joshi void gmc_v12_1_set_irq_funcs(struct amdgpu_device *adev);
29*e2a6a4e6SHawking Zhang void gmc_v12_1_init_vram_info(struct amdgpu_device *adev);
305056b75fSHawking Zhang #endif
31