1 /* SPDX-License-Identifier: MIT */ 2 /* Copyright (C) 2006-2017 Oracle Corporation */ 3 4 #ifndef __HGSMI_CHANNELS_H__ 5 #define __HGSMI_CHANNELS_H__ 6 7 /* 8 * Each channel has an 8 bit identifier. There are a number of predefined 9 * (hardcoded) channels. 10 * 11 * HGSMI_CH_HGSMI channel can be used to map a string channel identifier 12 * to a free 16 bit numerical value. values are allocated in range 13 * [HGSMI_CH_STRING_FIRST;HGSMI_CH_STRING_LAST]. 14 */ 15 16 /* A reserved channel value */ 17 #define HGSMI_CH_RESERVED 0x00 18 /* HGCMI: setup and configuration */ 19 #define HGSMI_CH_HGSMI 0x01 20 /* Graphics: VBVA */ 21 #define HGSMI_CH_VBVA 0x02 22 /* Graphics: Seamless with a single guest region */ 23 #define HGSMI_CH_SEAMLESS 0x03 24 /* Graphics: Seamless with separate host windows */ 25 #define HGSMI_CH_SEAMLESS2 0x04 26 /* Graphics: OpenGL HW acceleration */ 27 #define HGSMI_CH_OPENGL 0x05 28 29 /* The first channel index to be used for string mappings (inclusive) */ 30 #define HGSMI_CH_STRING_FIRST 0x20 31 /* The last channel index for string mappings (inclusive) */ 32 #define HGSMI_CH_STRING_LAST 0xff 33 34 #endif