[drm:drm-syncobj-sem 1/6] htmldocs: drivers/gpu/drm/drm_syncobj.c:88: warning: No description found for parameter 'syncobj'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



tree:   git://people.freedesktop.org/~airlied/linux.git drm-syncobj-sem
head:   78159d5e37ad792306dcb6e1046b67fe0a3bde6e
commit: 6c72d92e70f50824c96d6c6f662ca237a50b81a5 [1/6] drm: introduce sync objects (v3)
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

   WARNING: convert(1) not found, for SVG to PDF conversion install ImageMagick (https://www.imagemagick.org)
   arch/x86/include/asm/uaccess_32.h:1: warning: no structured comments found
   include/linux/init.h:1: warning: no structured comments found
   include/linux/mod_devicetable.h:686: warning: Excess struct/union/enum/typedef member 'ver_major' description in 'fsl_mc_device_id'
   include/linux/mod_devicetable.h:686: warning: Excess struct/union/enum/typedef member 'ver_minor' description in 'fsl_mc_device_id'
   kernel/sched/core.c:2088: warning: No description found for parameter 'rf'
   kernel/sched/core.c:2088: warning: Excess function parameter 'cookie' description in 'try_to_wake_up_local'
   include/linux/kthread.h:26: warning: Excess function parameter '...' description in 'kthread_create'
   kernel/sys.c:1: warning: no structured comments found
   include/linux/device.h:969: warning: No description found for parameter 'dma_ops'
   drivers/dma-buf/seqno-fence.c:1: warning: no structured comments found
   include/linux/iio/iio.h:597: warning: No description found for parameter 'trig_readonly'
   include/linux/iio/trigger.h:151: warning: No description found for parameter 'indio_dev'
   include/linux/iio/trigger.h:151: warning: No description found for parameter 'trig'
   include/linux/device.h:970: warning: No description found for parameter 'dma_ops'
   include/linux/usb/gadget.h:230: warning: No description found for parameter 'claimed'
   include/linux/usb/gadget.h:230: warning: No description found for parameter 'enabled'
   include/linux/usb/gadget.h:408: warning: No description found for parameter 'quirk_altset_not_supp'
   include/linux/usb/gadget.h:408: warning: No description found for parameter 'quirk_stall_not_supp'
   include/linux/usb/gadget.h:408: warning: No description found for parameter 'quirk_zlp_not_supp'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'set_busid'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'irq_handler'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'irq_preinstall'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'irq_postinstall'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'irq_uninstall'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'debugfs_init'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_open_object'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_close_object'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'prime_handle_to_fd'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'prime_fd_to_handle'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_prime_export'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_prime_import'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_prime_pin'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_prime_unpin'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_prime_res_obj'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_prime_get_sg_table'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_prime_import_sg_table'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_prime_vmap'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_prime_vunmap'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_prime_mmap'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'gem_vm_ops'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'major'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'minor'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'patchlevel'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'name'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'desc'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'date'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'driver_features'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'ioctls'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'num_ioctls'
   include/drm/drm_drv.h:525: warning: No description found for parameter 'fops'
   include/drm/drm_color_mgmt.h:1: warning: no structured comments found
   drivers/gpu/drm/drm_plane_helper.c:403: warning: No description found for parameter 'ctx'
   drivers/gpu/drm/drm_plane_helper.c:404: warning: No description found for parameter 'ctx'
   drivers/gpu/drm/drm_syncobj.c:61: warning: No description found for parameter 'file_private'
   drivers/gpu/drm/drm_syncobj.c:61: warning: No description found for parameter 'handle'
   drivers/gpu/drm/drm_syncobj.c:88: warning: No description found for parameter 'file_private'
>> drivers/gpu/drm/drm_syncobj.c:88: warning: No description found for parameter 'syncobj'
   drivers/gpu/drm/drm_syncobj.c:88: warning: No description found for parameter 'fence'
>> drivers/gpu/drm/drm_syncobj.c:125: warning: No description found for parameter 'kref'
   drivers/gpu/drm/drm_syncobj.c:289: warning: Excess function parameter 'dev' description in 'drm_syncobj_open'
   drivers/gpu/drm/drm_syncobj.c:314: warning: Excess function parameter 'dev' description in 'drm_syncobj_release'
   include/drm/drm_syncobj.h:1: warning: no structured comments found
   drivers/gpu/drm/drm_syncobj.c:62: warning: No description found for parameter 'file_private'
   drivers/gpu/drm/drm_syncobj.c:62: warning: No description found for parameter 'handle'
   drivers/gpu/drm/drm_syncobj.c:89: warning: No description found for parameter 'file_private'
   drivers/gpu/drm/drm_syncobj.c:89: warning: No description found for parameter 'syncobj'
   drivers/gpu/drm/drm_syncobj.c:89: warning: No description found for parameter 'fence'
   drivers/gpu/drm/drm_syncobj.c:126: warning: No description found for parameter 'kref'
   drivers/gpu/drm/drm_syncobj.c:290: warning: Excess function parameter 'dev' description in 'drm_syncobj_open'
   drivers/gpu/drm/drm_syncobj.c:315: warning: Excess function parameter 'dev' description in 'drm_syncobj_release'
   drivers/gpu/drm/i915/intel_lpe_audio.c:355: warning: No description found for parameter 'dp_output'
   drivers/gpu/drm/i915/intel_lpe_audio.c:355: warning: No description found for parameter 'link_rate'
   drivers/gpu/drm/i915/intel_lpe_audio.c:356: warning: No description found for parameter 'dp_output'
   drivers/gpu/drm/i915/intel_lpe_audio.c:356: warning: No description found for parameter 'link_rate'
   Documentation/core-api/assoc_array.rst:13: WARNING: Enumerated list ends without a blank line; unexpected unindent.
   Documentation/doc-guide/sphinx.rst:126: ERROR: Unknown target name: "sphinx c domain".
   kernel/sched/fair.c:7650: WARNING: Inline emphasis start-string without end-string.
   kernel/time/timer.c:1200: ERROR: Unexpected indentation.
   kernel/time/timer.c:1202: ERROR: Unexpected indentation.
   kernel/time/timer.c:1203: WARNING: Block quote ends without a blank line; unexpected unindent.
   include/linux/wait.h:122: WARNING: Block quote ends without a blank line; unexpected unindent.
   include/linux/wait.h:125: ERROR: Unexpected indentation.
   include/linux/wait.h:127: WARNING: Block quote ends without a blank line; unexpected unindent.
   kernel/time/hrtimer.c:990: WARNING: Block quote ends without a blank line; unexpected unindent.
   kernel/signal.c:322: WARNING: Inline literal start-string without end-string.
   include/linux/iio/iio.h:219: ERROR: Unexpected indentation.
   include/linux/iio/iio.h:220: WARNING: Block quote ends without a blank line; unexpected unindent.
   include/linux/iio/iio.h:226: WARNING: Definition list ends without a blank line; unexpected unindent.
   drivers/iio/industrialio-core.c:638: ERROR: Unknown target name: "iio_val".
   drivers/iio/industrialio-core.c:645: ERROR: Unknown target name: "iio_val".
   drivers/message/fusion/mptbase.c:5051: WARNING: Definition list ends without a blank line; unexpected unindent.
   drivers/tty/serial/serial_core.c:1898: WARNING: Definition list ends without a blank line; unexpected unindent.
   drivers/pci/pci.c:3456: ERROR: Unexpected indentation.
   include/linux/regulator/driver.h:271: ERROR: Unknown target name: "regulator_regmap_x_voltage".
   include/linux/spi/spi.h:370: ERROR: Unexpected indentation.
   drivers/gpu/drm/drm_scdc_helper.c:203: ERROR: Unexpected indentation.
   drivers/gpu/drm/drm_scdc_helper.c:204: WARNING: Block quote ends without a blank line; unexpected unindent.
   drivers/gpu/drm/drm_ioctl.c:702: WARNING: Definition list ends without a blank line; unexpected unindent.
   Documentation/gpu/todo.rst:111: ERROR: Unknown target name: "drm_fb".
   sound/soc/soc-core.c:2670: ERROR: Unknown target name: "snd_soc_daifmt".
   sound/core/jack.c:312: ERROR: Unknown target name: "snd_jack_btn".
   Documentation/userspace-api/unshare.rst:108: WARNING: Inline emphasis start-string without end-string.
   Documentation/usb/typec.rst:: WARNING: document isn't included in any toctree
   Documentation/usb/usb3-debug-port.rst:: WARNING: document isn't included in any toctree
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 43: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 69: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 82: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 96: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 109: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 122: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 133: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 164: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 193: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 43: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 69: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 82: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 96: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 109: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 122: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 133: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 164: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 193: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 43: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 69: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 82: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 96: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 109: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 122: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 133: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 164: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 193: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 43: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 69: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 82: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 96: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 109: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 122: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 133: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 164: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 193: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 43: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 69: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 82: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 96: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 109: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 122: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 133: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 164: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "/home/kbuild/.config/fontconfig/fonts.conf", line 193: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 43: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 56: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 69: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 82: Having multiple values in <test> isn't supported and may not work as expected
   Fontconfig warning: "~/.fonts.conf", line 96: Having multiple values in <test> isn't supported and may not work as expected

vim +/syncobj +88 drivers/gpu/drm/drm_syncobj.c

    55	 * @handle - sync object handle to lookup.
    56	 *
    57	 * Returns a reference to the syncobj pointed to by handle or NULL.
    58	 */
    59	struct drm_syncobj *drm_syncobj_find(struct drm_file *file_private,
    60					     u32 handle)
  > 61	{
    62		struct drm_syncobj *syncobj;
    63	
    64		spin_lock(&file_private->syncobj_table_lock);
    65	
    66		/* Check if we currently have a reference on the object */
    67		syncobj = idr_find(&file_private->syncobj_idr, handle);
    68		if (syncobj)
    69			drm_syncobj_get(syncobj);
    70	
    71		spin_unlock(&file_private->syncobj_table_lock);
    72	
    73		return syncobj;
    74	}
    75	EXPORT_SYMBOL(drm_syncobj_find);
    76	
    77	/**
    78	 * drm_syncobj_replace_fence - replace fence in a sync object.
    79	 * @file_private - drm file private pointer.
    80	 * @syncobj - Sync object to replace fence in
    81	 * @fence - fence to install in sync file.
    82	 *
    83	 * This replaces the fence on a sync object.
    84	 */
    85	void drm_syncobj_replace_fence(struct drm_file *file_private,
    86				       struct drm_syncobj *syncobj,
    87				       struct dma_fence *fence)
  > 88	{
    89		struct dma_fence *old_fence = NULL;
    90	
    91		if (fence)
    92			dma_fence_get(fence);
    93		old_fence = xchg(&syncobj->fence, fence);
    94	
    95		dma_fence_put(old_fence);
    96	}
    97	EXPORT_SYMBOL(drm_syncobj_replace_fence);
    98	
    99	int drm_syncobj_fence_get(struct drm_file *file_private,
   100				  u32 handle,
   101				  struct dma_fence **fence)
   102	{
   103		struct drm_syncobj *syncobj = drm_syncobj_find(file_private, handle);
   104		int ret = 0;
   105	
   106		if (!syncobj)
   107			return -ENOENT;
   108	
   109		*fence = dma_fence_get(syncobj->fence);
   110		if (!*fence) {
   111			ret = -EINVAL;
   112		}
   113		drm_syncobj_put(syncobj);
   114		return ret;
   115	}
   116	EXPORT_SYMBOL(drm_syncobj_fence_get);
   117	
   118	/**
   119	 * drm_syncobj_free - free a sync object.
   120	 * @kref - kref to free.
   121	 *
   122	 * Only to be called from kref_put in drm_syncobj_put.
   123	 */
   124	void drm_syncobj_free(struct kref *kref)
 > 125	{
   126		struct drm_syncobj *syncobj = container_of(kref,
   127							   struct drm_syncobj,
   128							   refcount);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

Attachment: .config.gz
Description: application/gzip

_______________________________________________
dri-devel mailing list
dri-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/dri-devel

[Index of Archives]     [Linux DRI Users]     [Linux Intel Graphics]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux