1 /*==============================================================================
2 Copyright(c) 2017 Intel Corporation
3 
4 Permission is hereby granted, free of charge, to any person obtaining a
5 copy of this software and associated documentation files(the "Software"),
6 to deal in the Software without restriction, including without limitation
7 the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 and / or sell copies of the Software, and to permit persons to whom the
9 Software is furnished to do so, subject to the following conditions:
10 
11 The above copyright notice and this permission notice shall be included
12 in all copies or substantial portions of the Software.
13 
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
15 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 OTHER DEALINGS IN THE SOFTWARE.
21 ============================================================================*/
22 #pragma once
23 
24 #ifndef _WIN32
25 #include <portable_compiler.h>
26 #endif
27 
28 #include "External/Common/GmmInternal.h"
29 
30 #include "External/Common/GmmConst.h"
31 #include "External/Common/GmmUtil.h"
32 #include "External/Common/GmmHw.h"
33 
34 #include "External/Common/GmmCommonExt.h"
35 #include "External/Common/GmmPlatformExt.h"
36 #include "External/Common/GmmCachePolicy.h"
37 #include "External/Common/CachePolicy/GmmCachePolicyGen8.h"
38 #include "External/Common/CachePolicy/GmmCachePolicyGen9.h"
39 #include "External/Common/CachePolicy/GmmCachePolicyGen10.h"
40 #include "External/Common/CachePolicy/GmmCachePolicyGen11.h"
41 #include "External/Common/CachePolicy/GmmCachePolicyGen12.h"
42 #include "External/Common/CachePolicy/GmmCachePolicyGen12dGPU.h"
43 #include "External/Common/GmmResourceInfoExt.h"
44 #include "../Platform/GmmPlatforms.h"
45 #include "Platform/GmmGen8Platform.h"
46 #include "Platform/GmmGen9Platform.h"
47 #include "Platform/GmmGen10Platform.h"
48 #include "Platform/GmmGen11Platform.h"
49 #include "Platform/GmmGen12Platform.h"
50 #include "External/Common/GmmTextureExt.h"
51 #include "../Texture/GmmTexture.h"
52 #include "Texture/GmmTextureCalc.h"
53 #include "Texture/GmmGen7TextureCalc.h"
54 #include "Texture/GmmGen8TextureCalc.h"
55 #include "Texture/GmmGen9TextureCalc.h"
56 #include "Texture/GmmGen10TextureCalc.h"
57 #include "Texture/GmmGen11TextureCalc.h"
58 #include "Texture/GmmGen12TextureCalc.h"
59 #include "External/Common/GmmResourceInfo.h"
60 #include "External/Common/GmmInfoExt.h"
61 #include "External/Common/GmmInfo.h"
62 #include "../Utility/GmmUtility.h"
63 #include "External/Common/GmmPageTableMgr.h"
64 
65 #include "External/Common/GmmDebug.h"                   // Unified Definitions of GMM_ASSERT and GMM_DEBUG Macros
66 
67 #ifndef DXGKDDI_INTERFACE_VERSION_WDDM1_3
68 //WinBlue DDK definitions
69 #define D3DKMT_CROSS_ADAPTER_RESOURCE_PITCH_ALIGNMENT   128
70 #define D3DKMT_CROSS_ADAPTER_RESOURCE_HEIGHT_ALIGNMENT   4
71 
72 #endif
73