1 /* SPDX-License-Identifier: MIT */ 2 /* 3 * Copyright © 2023 Intel Corporation 4 */ 5 6 #ifndef _XE_PCI_TYPES_H_ 7 #define _XE_PCI_TYPES_H_ 8 9 #include <linux/types.h> 10 11 struct xe_graphics_desc { 12 u8 va_bits; 13 u8 vm_max_level; 14 u8 vram_flags; 15 16 u64 hw_engine_mask; /* hardware engines provided by graphics IP */ 17 18 u8 has_asid:1; 19 u8 has_atomic_enable_pte_bit:1; 20 u8 has_flat_ccs:1; 21 u8 has_indirect_ring_state:1; 22 u8 has_range_tlb_invalidation:1; 23 u8 has_usm:1; 24 u8 has_64bit_timestamp:1; 25 }; 26 27 struct xe_media_desc { 28 u64 hw_engine_mask; /* hardware engines provided by media IP */ 29 30 u8 has_indirect_ring_state:1; 31 }; 32 33 struct xe_ip { 34 unsigned int verx100; 35 const char *name; 36 const void *desc; 37 }; 38 39 #endif 40