diff options
Diffstat (limited to 'drivers/gpu/drm/vmwgfx/svga_overlay.h')
| -rw-r--r-- | drivers/gpu/drm/vmwgfx/svga_overlay.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/drivers/gpu/drm/vmwgfx/svga_overlay.h b/drivers/gpu/drm/vmwgfx/svga_overlay.h index f753d73c14b4..f38416fcb046 100644 --- a/drivers/gpu/drm/vmwgfx/svga_overlay.h +++ b/drivers/gpu/drm/vmwgfx/svga_overlay.h | |||
| @@ -38,9 +38,9 @@ | |||
| 38 | * Video formats we support | 38 | * Video formats we support |
| 39 | */ | 39 | */ |
| 40 | 40 | ||
| 41 | #define VMWARE_FOURCC_YV12 0x32315659 // 'Y' 'V' '1' '2' | 41 | #define VMWARE_FOURCC_YV12 0x32315659 /* 'Y' 'V' '1' '2' */ |
| 42 | #define VMWARE_FOURCC_YUY2 0x32595559 // 'Y' 'U' 'Y' '2' | 42 | #define VMWARE_FOURCC_YUY2 0x32595559 /* 'Y' 'U' 'Y' '2' */ |
| 43 | #define VMWARE_FOURCC_UYVY 0x59565955 // 'U' 'Y' 'V' 'Y' | 43 | #define VMWARE_FOURCC_UYVY 0x59565955 /* 'U' 'Y' 'V' 'Y' */ |
| 44 | 44 | ||
| 45 | typedef enum { | 45 | typedef enum { |
| 46 | SVGA_OVERLAY_FORMAT_INVALID = 0, | 46 | SVGA_OVERLAY_FORMAT_INVALID = 0, |
| @@ -68,7 +68,7 @@ struct SVGAEscapeVideoSetRegs { | |||
| 68 | uint32 streamId; | 68 | uint32 streamId; |
| 69 | } header; | 69 | } header; |
| 70 | 70 | ||
| 71 | // May include zero or more items. | 71 | /* May include zero or more items. */ |
| 72 | struct { | 72 | struct { |
| 73 | uint32 registerId; | 73 | uint32 registerId; |
| 74 | uint32 value; | 74 | uint32 value; |
| @@ -134,12 +134,12 @@ struct { | |||
| 134 | */ | 134 | */ |
| 135 | 135 | ||
| 136 | static inline bool | 136 | static inline bool |
| 137 | VMwareVideoGetAttributes(const SVGAOverlayFormat format, // IN | 137 | VMwareVideoGetAttributes(const SVGAOverlayFormat format, /* IN */ |
| 138 | uint32 *width, // IN / OUT | 138 | uint32 *width, /* IN / OUT */ |
| 139 | uint32 *height, // IN / OUT | 139 | uint32 *height, /* IN / OUT */ |
| 140 | uint32 *size, // OUT | 140 | uint32 *size, /* OUT */ |
| 141 | uint32 *pitches, // OUT (optional) | 141 | uint32 *pitches, /* OUT (optional) */ |
| 142 | uint32 *offsets) // OUT (optional) | 142 | uint32 *offsets) /* OUT (optional) */ |
| 143 | { | 143 | { |
| 144 | int tmp; | 144 | int tmp; |
| 145 | 145 | ||
| @@ -198,4 +198,4 @@ VMwareVideoGetAttributes(const SVGAOverlayFormat format, // IN | |||
| 198 | return true; | 198 | return true; |
| 199 | } | 199 | } |
| 200 | 200 | ||
| 201 | #endif // _SVGA_OVERLAY_H_ | 201 | #endif /* _SVGA_OVERLAY_H_ */ |
