Commit 8d3713ea authored by Jakob Bornecrantz's avatar Jakob Bornecrantz Committed by Dave Airlie

vmwgfx: Update register files to latest from vmware-sdk

Signed-off-by: default avatarJakob Bornecrantz <jakob@vmware.com>
Signed-off-by: default avatarThomas Hellstrom <thellstrom@vmware.com>
Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent 4d798937
This diff is collapsed.
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
*/ */
#define SVGA_ESCAPE_VMWARE_HINT 0x00030000 #define SVGA_ESCAPE_VMWARE_HINT 0x00030000
#define SVGA_ESCAPE_VMWARE_HINT_FULLSCREEN 0x00030001 // Deprecated #define SVGA_ESCAPE_VMWARE_HINT_FULLSCREEN 0x00030001 /* Deprecated */
typedef typedef
struct { struct {
......
...@@ -38,9 +38,9 @@ ...@@ -38,9 +38,9 @@
* Video formats we support * Video formats we support
*/ */
#define VMWARE_FOURCC_YV12 0x32315659 // 'Y' 'V' '1' '2' #define VMWARE_FOURCC_YV12 0x32315659 /* 'Y' 'V' '1' '2' */
#define VMWARE_FOURCC_YUY2 0x32595559 // 'Y' 'U' 'Y' '2' #define VMWARE_FOURCC_YUY2 0x32595559 /* 'Y' 'U' 'Y' '2' */
#define VMWARE_FOURCC_UYVY 0x59565955 // 'U' 'Y' 'V' 'Y' #define VMWARE_FOURCC_UYVY 0x59565955 /* 'U' 'Y' 'V' 'Y' */
typedef enum { typedef enum {
SVGA_OVERLAY_FORMAT_INVALID = 0, SVGA_OVERLAY_FORMAT_INVALID = 0,
...@@ -68,7 +68,7 @@ struct SVGAEscapeVideoSetRegs { ...@@ -68,7 +68,7 @@ struct SVGAEscapeVideoSetRegs {
uint32 streamId; uint32 streamId;
} header; } header;
// May include zero or more items. /* May include zero or more items. */
struct { struct {
uint32 registerId; uint32 registerId;
uint32 value; uint32 value;
...@@ -134,12 +134,12 @@ struct { ...@@ -134,12 +134,12 @@ struct {
*/ */
static inline bool static inline bool
VMwareVideoGetAttributes(const SVGAOverlayFormat format, // IN VMwareVideoGetAttributes(const SVGAOverlayFormat format, /* IN */
uint32 *width, // IN / OUT uint32 *width, /* IN / OUT */
uint32 *height, // IN / OUT uint32 *height, /* IN / OUT */
uint32 *size, // OUT uint32 *size, /* OUT */
uint32 *pitches, // OUT (optional) uint32 *pitches, /* OUT (optional) */
uint32 *offsets) // OUT (optional) uint32 *offsets) /* OUT (optional) */
{ {
int tmp; int tmp;
...@@ -198,4 +198,4 @@ VMwareVideoGetAttributes(const SVGAOverlayFormat format, // IN ...@@ -198,4 +198,4 @@ VMwareVideoGetAttributes(const SVGAOverlayFormat format, // IN
return true; return true;
} }
#endif // _SVGA_OVERLAY_H_ #endif /* _SVGA_OVERLAY_H_ */
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment