Commit 8fd54b2c authored by Lee Jones's avatar Lee Jones Committed by Daniel Vetter

drm/vboxvideo/modesetting: Provide function names for prototype headers

Fixes the following W=1 kernel build warning(s):

 drivers/gpu/drm/vboxvideo/modesetting.c:11: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 drivers/gpu/drm/vboxvideo/modesetting.c:54: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst
 drivers/gpu/drm/vboxvideo/modesetting.c:87: warning: This comment starts with '/**', but isn't a kernel-doc comment. Refer Documentation/doc-guide/kernel-doc.rst

Cc: Hans de Goede <hdegoede@redhat.com>
Cc: David Airlie <airlied@linux.ie>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: dri-devel@lists.freedesktop.org
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
Link: https://patchwork.freedesktop.org/patch/msgid/20210602143300.2330146-27-lee.jones@linaro.org
parent a3dd6d90
...@@ -8,9 +8,11 @@ ...@@ -8,9 +8,11 @@
#include "hgsmi_channels.h" #include "hgsmi_channels.h"
/** /**
* Set a video mode via an HGSMI request. The views must have been * hgsmi_process_display_info - Set a video mode via an HGSMI request.
* initialised first using @a VBoxHGSMISendViewInfo and if the mode is being * The views must have been initialised first
* set on the first display then it must be set first using registers. * using @a VBoxHGSMISendViewInfo and if the mode
* is being set on the first display then it must
* be set first using registers.
* @ctx: The context containing the heap to use. * @ctx: The context containing the heap to use.
* @display: The screen number. * @display: The screen number.
* @origin_x: The horizontal displacement relative to the first scrn. * @origin_x: The horizontal displacement relative to the first scrn.
...@@ -51,10 +53,12 @@ void hgsmi_process_display_info(struct gen_pool *ctx, u32 display, ...@@ -51,10 +53,12 @@ void hgsmi_process_display_info(struct gen_pool *ctx, u32 display,
} }
/** /**
* Report the rectangle relative to which absolute pointer events should be * hgsmi_update_input_mapping - Report the rectangle relative to which absolute
* expressed. This information remains valid until the next VBVA resize event * pointer events should be expressed. This
* for any screen, at which time it is reset to the bounding rectangle of all * information remains valid until the next VBVA
* virtual screens. * resize event for any screen, at which time it is
* reset to the bounding rectangle of all virtual
* screens.
* Return: 0 or negative errno value. * Return: 0 or negative errno value.
* @ctx: The context containing the heap to use. * @ctx: The context containing the heap to use.
* @origin_x: Upper left X co-ordinate relative to the first screen. * @origin_x: Upper left X co-ordinate relative to the first screen.
...@@ -84,7 +88,7 @@ int hgsmi_update_input_mapping(struct gen_pool *ctx, s32 origin_x, s32 origin_y, ...@@ -84,7 +88,7 @@ int hgsmi_update_input_mapping(struct gen_pool *ctx, s32 origin_x, s32 origin_y,
} }
/** /**
* Get most recent video mode hints. * hgsmi_get_mode_hints - Get most recent video mode hints.
* Return: 0 or negative errno value. * Return: 0 or negative errno value.
* @ctx: The context containing the heap to use. * @ctx: The context containing the heap to use.
* @screens: The number of screens to query hints for, starting at 0. * @screens: The number of screens to query hints for, starting at 0.
......
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