xref: /linux/drivers/gpu/drm/amd/include/soc_v1_0_enum.h (revision c17ee635fd3a482b2ad2bf5e269755c2eae5f25e)
1bc5094e2SHawking Zhang /*
2bc5094e2SHawking Zhang  * Copyright 2025 Advanced Micro Devices, Inc.
3bc5094e2SHawking Zhang  *
4bc5094e2SHawking Zhang  * Permission is hereby granted, free of charge, to any person obtaining a
5bc5094e2SHawking Zhang  * copy of this software and associated documentation files (the "Software"),
6bc5094e2SHawking Zhang  * to deal in the Software without restriction, including without limitation
7bc5094e2SHawking Zhang  * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8bc5094e2SHawking Zhang  * and/or sell copies of the Software, and to permit persons to whom the
9bc5094e2SHawking Zhang  * Software is furnished to do so, subject to the following conditions:
10bc5094e2SHawking Zhang  *
11bc5094e2SHawking Zhang  * The above copyright notice and this permission notice shall be included in
12bc5094e2SHawking Zhang  * all copies or substantial portions of the Software.
13bc5094e2SHawking Zhang  *
14bc5094e2SHawking Zhang  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15bc5094e2SHawking Zhang  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16bc5094e2SHawking Zhang  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL
17bc5094e2SHawking Zhang  * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18bc5094e2SHawking Zhang  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19bc5094e2SHawking Zhang  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20bc5094e2SHawking Zhang  * OTHER DEALINGS IN THE SOFTWARE.
21bc5094e2SHawking Zhang  *
22bc5094e2SHawking Zhang  */
23bc5094e2SHawking Zhang #ifndef __SOC_V1_0_ENUM_H__
24bc5094e2SHawking Zhang #define __SOC_V1_0_ENUM_H__
25bc5094e2SHawking Zhang 
26bc5094e2SHawking Zhang typedef enum MTYPE {
27bc5094e2SHawking Zhang 	MTYPE_NC			= 0x00000000,
28bc5094e2SHawking Zhang 	MTYPE_RESERVED_1		= 0x00000001,
29bc5094e2SHawking Zhang 	MTYPE_RW			= 0x00000002,
30bc5094e2SHawking Zhang 	MTYPE_UC			= 0x00000003,
31bc5094e2SHawking Zhang } MTYPE;
32bc5094e2SHawking Zhang 
33*e3b8d8ccSMukul Joshi typedef enum SH_MEM_ALIGNMENT_MODE {
34*e3b8d8ccSMukul Joshi 	SH_MEM_ALIGNMENT_MODE_DWORD              = 0x00000000,
35*e3b8d8ccSMukul Joshi 	SH_MEM_ALIGNMENT_MODE_UNALIGNED          = 0x00000001,
36*e3b8d8ccSMukul Joshi } SH_MEM_ALIGNMENT_MODE;
37*e3b8d8ccSMukul Joshi 
38bc5094e2SHawking Zhang #endif
39