[Intel-gfx] [PATCH v2 1/2] drm/i915/perf: prune OA configs

kbuild test robot lkp at intel.com
Fri Jul 14 12:58:59 UTC 2017


Hi Lionel,

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20170714]
[cannot apply to v4.12]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]

url:    https://github.com/0day-ci/linux/commits/Lionel-Landwerlin/Add-support-for-loadable-OA-configs/20170714-191610
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
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:687: warning: Excess struct/union/enum/typedef member 'ver_major' description in 'fsl_mc_device_id'
   include/linux/mod_devicetable.h:687: 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:537: warning: No description found for parameter 'set_busid'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'debugfs_init'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_open_object'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_close_object'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'prime_handle_to_fd'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'prime_fd_to_handle'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_prime_export'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_prime_import'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_prime_pin'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_prime_unpin'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_prime_res_obj'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_prime_get_sg_table'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_prime_import_sg_table'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_prime_vmap'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_prime_vunmap'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_prime_mmap'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'gem_vm_ops'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'major'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'minor'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'patchlevel'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'name'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'desc'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'date'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'driver_features'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'ioctls'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'num_ioctls'
   include/drm/drm_drv.h:537: warning: No description found for parameter 'fops'
   include/drm/drm_color_mgmt.h:1: warning: no structured comments found
   drivers/gpu/drm/drm_syncobj.c:343: warning: Excess function parameter 'dev' description in 'drm_syncobj_open'
   drivers/gpu/drm/drm_syncobj.c:368: 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:344: warning: Excess function parameter 'dev' description in 'drm_syncobj_open'
   drivers/gpu/drm/drm_syncobj.c:369: warning: Excess function parameter 'dev' description in 'drm_syncobj_release'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: No description found for parameter 'oa_config'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: Excess struct/union/enum/typedef member 'metrics_set' description in 'perf_open_properties'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: No description found for parameter 'oa_config'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: Excess struct/union/enum/typedef member 'metrics_set' description in 'perf_open_properties'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: No description found for parameter 'oa_config'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: Excess struct/union/enum/typedef member 'metrics_set' description in 'perf_open_properties'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: No description found for parameter 'oa_config'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: Excess struct/union/enum/typedef member 'metrics_set' description in 'perf_open_properties'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: No description found for parameter 'oa_config'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: Excess struct/union/enum/typedef member 'metrics_set' description in 'perf_open_properties'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: No description found for parameter 'oa_config'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: Excess struct/union/enum/typedef member 'metrics_set' description in 'perf_open_properties'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: No description found for parameter 'oa_config'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: Excess struct/union/enum/typedef member 'metrics_set' description in 'perf_open_properties'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: No description found for parameter 'oa_config'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: Excess struct/union/enum/typedef member 'metrics_set' description in 'perf_open_properties'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: No description found for parameter 'oa_config'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: Excess struct/union/enum/typedef member 'metrics_set' description in 'perf_open_properties'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: No description found for parameter 'oa_config'
>> drivers/gpu/drm/i915/i915_perf.c:358: warning: Excess struct/union/enum/typedef member 'metrics_set' description in 'perf_open_properties'

vim +/oa_config +358 drivers/gpu/drm/i915/i915_perf.c

eec688e1 Robert Bragg      2016-11-07  332  
16d98b31 Robert Bragg      2016-12-07  333  /**
16d98b31 Robert Bragg      2016-12-07  334   * struct perf_open_properties - for validated properties given to open a stream
16d98b31 Robert Bragg      2016-12-07  335   * @sample_flags: `DRM_I915_PERF_PROP_SAMPLE_*` properties are tracked as flags
16d98b31 Robert Bragg      2016-12-07  336   * @single_context: Whether a single or all gpu contexts should be monitored
16d98b31 Robert Bragg      2016-12-07  337   * @ctx_handle: A gem ctx handle for use with @single_context
16d98b31 Robert Bragg      2016-12-07  338   * @metrics_set: An ID for an OA unit metric set advertised via sysfs
16d98b31 Robert Bragg      2016-12-07  339   * @oa_format: An OA unit HW report format
16d98b31 Robert Bragg      2016-12-07  340   * @oa_periodic: Whether to enable periodic OA unit sampling
16d98b31 Robert Bragg      2016-12-07  341   * @oa_period_exponent: The OA unit sampling period is derived from this
16d98b31 Robert Bragg      2016-12-07  342   *
16d98b31 Robert Bragg      2016-12-07  343   * As read_properties_unlocked() enumerates and validates the properties given
16d98b31 Robert Bragg      2016-12-07  344   * to open a stream of metrics the configuration is built up in the structure
16d98b31 Robert Bragg      2016-12-07  345   * which starts out zero initialized.
16d98b31 Robert Bragg      2016-12-07  346   */
eec688e1 Robert Bragg      2016-11-07  347  struct perf_open_properties {
eec688e1 Robert Bragg      2016-11-07  348  	u32 sample_flags;
eec688e1 Robert Bragg      2016-11-07  349  
eec688e1 Robert Bragg      2016-11-07  350  	u64 single_context:1;
eec688e1 Robert Bragg      2016-11-07  351  	u64 ctx_handle;
d7965152 Robert Bragg      2016-11-07  352  
d7965152 Robert Bragg      2016-11-07  353  	/* OA sampling state */
daf1ab0d Lionel Landwerlin 2017-07-13  354  	const struct i915_oa_config *oa_config;
d7965152 Robert Bragg      2016-11-07  355  	int oa_format;
d7965152 Robert Bragg      2016-11-07  356  	bool oa_periodic;
d7965152 Robert Bragg      2016-11-07  357  	int oa_period_exponent;
eec688e1 Robert Bragg      2016-11-07 @358  };
eec688e1 Robert Bragg      2016-11-07  359  

:::::: The code at line 358 was first introduced by commit
:::::: eec688e1420da584afb36ffa5f0cad75f53cf286 drm/i915: Add i915 perf infrastructure

:::::: TO: Robert Bragg <robert at sixbynine.org>
:::::: CC: Daniel Vetter <daniel.vetter at ffwll.ch>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config.gz
Type: application/gzip
Size: 6634 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20170714/928f6b34/attachment-0001.gz>


More information about the Intel-gfx mailing list