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 23 #ifndef _UMKMENUM_H_ 24 #define _UMKMENUM_H_ 25 26 #ifdef __cplusplus 27 extern "C" { 28 #endif 29 30 // PROCESSOR_FAMILY 31 typedef enum PROCESSOR_FAMILY_REC 32 { 33 UNKNOWN_PROCESSOR, 34 P3_PROCESSOR, 35 P4_PROCESSOR, 36 MAX_NUM_PROCESSOR 37 } PROCESSOR_FAMILY; 38 39 // GPU Engine 40 typedef enum GPUENGINE_REC 41 { 42 GPUENGINE_1 = 0, 43 GPUENGINE_2 = 1, // Dual GT Case 44 GPUENGINE_MAX 45 } GPUENGINE_ORDINAL; 46 47 // GPUNODE 48 // NOTE: the GPUNODE_*** enums that represent real nodes and have rings must 49 // stay in sync with the corresponding ones defined in IGFX_GEN6_RING_TYPE 50 typedef enum GPUNODE_REC 51 { 52 GPUNODE_3D = 0, // available by default on all platform 53 GPUNODE_VIDEO = 1, // available on CTG+, Virtual node 54 GPUNODE_BLT = 2, // available on GT 55 GPUNODE_VE = 3, // available on HSW+ (VideoEnhancement), virtual node 56 GPUNODE_VCS2 = 4, // available on BDW/SKL/KBL GT3+ and CNL, 57 GPUNODE_CCS0 = 5, // 58 GPUNODE_REAL_MAX, // all nodes beyond this are virtual nodes - they don't have an actual GPU engine 59 GPUNODE_PICS = 6, // available on CNL+. Real node but only for KMD internal use. Hence kept after GPUNODE_REAL_MAX (Note: We need to keep it before overlay node) 60 GPUNODE_OVERLAY = 7, 61 GPUNODE_GDI2D = 8, // GT virtual node for GDI/Present 2D blt/colorfill 62 GPUNODE_VXD = 9, // available on BYT 63 GPUNODE_MAX 64 } GPUNODE_ORDINAL; 65 66 // UMD_DMA_TYPE 67 typedef enum UMD_DMA_TYPE_REC 68 { 69 UMD_UNKNOWN = 0, 70 UMD_MEDIA = 1, 71 UMD_DX9 = 2, 72 UMD_DX10 = 3, 73 UMD_OGL = 4, 74 UMD_OCL = 5, 75 UMD_DX_COMPUTE = 6, 76 UMD_DX12 = 7, 77 78 UMD_TYPE_MAX // this should always be the last one 79 } UMD_DMA_TYPE; 80 81 82 typedef enum DXVA_OPERATION_ENUM 83 { 84 DXVA_OPERATION_NONE = 0, 85 DXVA_OPERATION_DECODE, // Decode 86 DXVA_OPERATION_ENCODE, // Encode 87 } DXVA_OPERATION; 88 89 extern char *UmdTypeStr[]; 90 91 #ifdef __cplusplus 92 } 93 #endif 94 95 #endif // _UMKMENUM_H_ 96