brintos

brintos / linux-shallow public Read only

0
0
Text · 1.1 KiB · 9b83f4f Raw
35 lines · c
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 predefined9 * (hardcoded) channels.10 *11 * HGSMI_CH_HGSMI channel can be used to map a string channel identifier12 * to a free 16 bit numerical value. values are allocated in range13 * [HGSMI_CH_STRING_FIRST;HGSMI_CH_STRING_LAST].14 */15 16/* A reserved channel value */17#define HGSMI_CH_RESERVED				0x0018/* HGCMI: setup and configuration */19#define HGSMI_CH_HGSMI					0x0120/* Graphics: VBVA */21#define HGSMI_CH_VBVA					0x0222/* Graphics: Seamless with a single guest region */23#define HGSMI_CH_SEAMLESS				0x0324/* Graphics: Seamless with separate host windows */25#define HGSMI_CH_SEAMLESS2				0x0426/* Graphics: OpenGL HW acceleration */27#define HGSMI_CH_OPENGL					0x0528 29/* The first channel index to be used for string mappings (inclusive) */30#define HGSMI_CH_STRING_FIRST				0x2031/* The last channel index for string mappings (inclusive) */32#define HGSMI_CH_STRING_LAST				0xff33 34#endif35