[Intel-gfx] [PATCH v16 15/17] drm/i915/perf: allow NOA muxes reprogramming before workloads

kbuild test robot lkp at intel.com
Mon Jun 5 21:47:23 UTC 2017


Hi Lionel,

[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20170605]
[cannot apply to v4.12-rc4]
[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/Enable-OA-unit-for-Gen-8-and-9-in-i915-perf/20170606-032452
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: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:507: warning: No description found for parameter 'set_busid'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'irq_handler'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'irq_preinstall'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'irq_postinstall'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'irq_uninstall'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'debugfs_init'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_open_object'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_close_object'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'prime_handle_to_fd'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'prime_fd_to_handle'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_prime_export'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_prime_import'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_prime_pin'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_prime_unpin'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_prime_res_obj'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_prime_get_sg_table'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_prime_import_sg_table'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_prime_vmap'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_prime_vunmap'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_prime_mmap'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'gem_vm_ops'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'major'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'minor'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'patchlevel'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'name'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'desc'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'date'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'driver_features'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'ioctls'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'num_ioctls'
   include/drm/drm_drv.h:507: warning: No description found for parameter 'fops'
   include/drm/drm_color_mgmt.h:1: warning: no structured comments found
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'
>> drivers/gpu/drm/i915/i915_perf.c:360: warning: No description found for parameter 'noa_restore'

vim +/noa_restore +360 drivers/gpu/drm/i915/i915_perf.c

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  
ff998cd8 Lionel Landwerlin 2017-06-05  353  	bool noa_restore;
ff998cd8 Lionel Landwerlin 2017-06-05  354  
d7965152 Robert Bragg      2016-11-07  355  	/* OA sampling state */
d7965152 Robert Bragg      2016-11-07  356  	int metrics_set;
d7965152 Robert Bragg      2016-11-07  357  	int oa_format;
d7965152 Robert Bragg      2016-11-07  358  	bool oa_periodic;
d7965152 Robert Bragg      2016-11-07  359  	int oa_period_exponent;
eec688e1 Robert Bragg      2016-11-07 @360  };
eec688e1 Robert Bragg      2016-11-07  361  
d219f51a Robert Bragg      2017-06-05  362  static u32 gen8_oa_hw_tail_read(struct drm_i915_private *dev_priv)
d219f51a Robert Bragg      2017-06-05  363  {
d219f51a Robert Bragg      2017-06-05  364  	return I915_READ(GEN8_OATAILPTR) & GEN8_OATAILPTR_MASK;
d219f51a Robert Bragg      2017-06-05  365  }
d219f51a Robert Bragg      2017-06-05  366  
d219f51a Robert Bragg      2017-06-05  367  static u32 gen7_oa_hw_tail_read(struct drm_i915_private *dev_priv)
d219f51a Robert Bragg      2017-06-05  368  {

:::::: The code at line 360 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/20170606/452c7e6f/attachment.gz>


More information about the Intel-gfx mailing list