aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/vboxvideo/hgsmi_ch_setup.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-10-18 17:03:31 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-11-07 12:27:33 +0100
commitcd76c287a52fe925b8e52369e0002cad7c1d2c12 (patch)
treefa1ec9ecbfc70cfb2dc2bbdf2acf0fd5c204e5b8 /drivers/staging/vboxvideo/hgsmi_ch_setup.h
parentstaging: vboxvideo: Drop duplicate vbox_err.h file (diff)
downloadlinux-dev-cd76c287a52fe925b8e52369e0002cad7c1d2c12.tar.xz
linux-dev-cd76c287a52fe925b8e52369e0002cad7c1d2c12.zip
staging: vboxvideo: Cleanup the comments
Some comments where still using docbook style comments, move these either over to kerneldoc, or just make them regular comments. Also remove a bunch of obsolete comments. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/vboxvideo/hgsmi_ch_setup.h')
-rw-r--r--drivers/staging/vboxvideo/hgsmi_ch_setup.h17
1 files changed, 1 insertions, 16 deletions
diff --git a/drivers/staging/vboxvideo/hgsmi_ch_setup.h b/drivers/staging/vboxvideo/hgsmi_ch_setup.h
index 8e6d9e11a69c..3c3f82eb7909 100644
--- a/drivers/staging/vboxvideo/hgsmi_ch_setup.h
+++ b/drivers/staging/vboxvideo/hgsmi_ch_setup.h
@@ -36,29 +36,14 @@ struct hgsmi_buffer_location {
} __packed;
/* HGSMI setup and configuration data structures. */
-/* host->guest commands pending, should be accessed under FIFO lock only */
+
#define HGSMIHOSTFLAGS_COMMANDS_PENDING 0x01u
-/* IRQ is fired, should be accessed under VGAState::lock only */
#define HGSMIHOSTFLAGS_IRQ 0x02u
-/* vsync interrupt flag, should be accessed under VGAState::lock only */
#define HGSMIHOSTFLAGS_VSYNC 0x10u
-/** monitor hotplug flag, should be accessed under VGAState::lock only */
#define HGSMIHOSTFLAGS_HOTPLUG 0x20u
-/**
- * Cursor capability state change flag, should be accessed under
- * VGAState::lock only. @see vbva_conf32.
- */
#define HGSMIHOSTFLAGS_CURSOR_CAPABILITIES 0x40u
struct hgsmi_host_flags {
- /*
- * Host flags can be accessed and modified in multiple threads
- * concurrently, e.g. CrOpenGL HGCM and GUI threads when completing
- * HGSMI 3D and Video Accel respectively, EMT thread when dealing with
- * HGSMI command processing, etc.
- * Besides settings/cleaning flags atomically, some flags have their
- * own special sync restrictions, see comments for flags above.
- */
u32 host_flags;
u32 reserved[3];
} __packed;