[Intel-gfx] [PATCH 3/4] drm/i915: opt-out CPU and WC mmaps from FBC

kbuild test robot lkp at intel.com
Tue Mar 22 02:19:23 UTC 2016


Hi Paulo,

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

url:    https://github.com/0day-ci/linux/commits/Paulo-Zanoni/Enable-FBC-on-SKL/20160322-045829
base:   git://anongit.freedesktop.org/drm-intel for-linux-next
reproduce: make htmldocs

All warnings (new ones prefixed by >>):

   include/drm/drm_crtc.h:776: warning: No description found for parameter 'name'
   include/drm/drm_crtc.h:1235: warning: No description found for parameter 'connector_id'
   include/drm/drm_crtc.h:1235: warning: No description found for parameter 'tile_blob_ptr'
   include/drm/drm_crtc.h:1274: warning: No description found for parameter 'rotation'
   include/drm/drm_crtc.h:1536: warning: No description found for parameter 'name'
   include/drm/drm_crtc.h:1536: warning: No description found for parameter 'mutex'
   include/drm/drm_crtc.h:1536: warning: No description found for parameter 'helper_private'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tile_idr'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'connector_ida'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'delayed_event'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'edid_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'dpms_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'path_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tile_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'plane_type_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'rotation_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_src_x'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_src_y'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_src_w'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_src_h'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_crtc_x'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_crtc_y'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_crtc_w'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_crtc_h'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_fb_id'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_crtc_id'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_active'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'prop_mode_id'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'dvi_i_subconnector_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'dvi_i_select_subconnector_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_subconnector_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_select_subconnector_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_mode_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_left_margin_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_right_margin_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_top_margin_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_bottom_margin_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_brightness_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_contrast_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_flicker_reduction_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_overscan_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_saturation_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'tv_hue_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'scaling_mode_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'aspect_ratio_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'dirty_info_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'suggested_x_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'suggested_y_property'
   include/drm/drm_crtc.h:2146: warning: No description found for parameter 'allow_fb_modifiers'
   include/drm/drm_dp_helper.h:749: warning: No description found for parameter 'i2c_nack_count'
   include/drm/drm_dp_helper.h:749: warning: No description found for parameter 'i2c_defer_count'
   drivers/gpu/drm/drm_dp_mst_topology.c:2356: warning: No description found for parameter 'connector'
   include/drm/drm_dp_mst_helper.h:92: warning: No description found for parameter 'cached_edid'
   include/drm/drm_dp_mst_helper.h:92: warning: No description found for parameter 'has_audio'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'max_dpcd_transaction_bytes'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'sink_count'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'total_slots'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'avail_slots'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'total_pbn'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'qlock'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'tx_msg_downq'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'tx_down_in_progress'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'payload_lock'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'proposed_vcpis'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'payloads'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'payload_mask'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'vcpi_mask'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'tx_waitq'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'work'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'tx_work'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'destroy_connector_list'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'destroy_connector_lock'
   include/drm/drm_dp_mst_helper.h:466: warning: No description found for parameter 'destroy_connector_work'
   drivers/gpu/drm/drm_dp_mst_topology.c:2356: warning: No description found for parameter 'connector'
   drivers/gpu/drm/drm_irq.c:176: warning: No description found for parameter 'flags'
   include/drm/drmP.h:168: warning: No description found for parameter 'fmt'
   include/drm/drmP.h:184: warning: No description found for parameter 'fmt'
   include/drm/drmP.h:202: warning: No description found for parameter 'fmt'
   include/drm/drmP.h:247: warning: No description found for parameter 'dev'
   include/drm/drmP.h:247: warning: No description found for parameter 'data'
   include/drm/drmP.h:247: warning: No description found for parameter 'file_priv'
   include/drm/drmP.h:280: warning: No description found for parameter 'ioctl'
   include/drm/drmP.h:280: warning: No description found for parameter '_func'
   include/drm/drmP.h:280: warning: No description found for parameter '_flags'
   include/drm/drmP.h:362: warning: cannot understand function prototype: 'struct drm_lock_data '
   include/drm/drmP.h:415: warning: cannot understand function prototype: 'struct drm_driver '
   include/drm/drmP.h:672: warning: cannot understand function prototype: 'struct drm_info_list '
   include/drm/drmP.h:682: warning: cannot understand function prototype: 'struct drm_info_node '
   include/drm/drmP.h:692: warning: cannot understand function prototype: 'struct drm_minor '
   include/drm/drmP.h:740: warning: cannot understand function prototype: 'struct drm_device '
   drivers/gpu/drm/i915/intel_runtime_pm.c:2286: warning: No description found for parameter 'resume'
   drivers/gpu/drm/i915/intel_runtime_pm.c:2286: warning: No description found for parameter 'resume'
   drivers/gpu/drm/i915/i915_irq.c:2665: warning: No description found for parameter 'wedged'
   drivers/gpu/drm/i915/i915_irq.c:2665: warning: No description found for parameter 'fmt'
   drivers/gpu/drm/i915/i915_irq.c:2665: warning: No description found for parameter 'wedged'
   drivers/gpu/drm/i915/i915_irq.c:2665: warning: No description found for parameter 'fmt'
   drivers/gpu/drm/i915/i915_irq.c:2665: warning: No description found for parameter 'wedged'
   drivers/gpu/drm/i915/i915_irq.c:2665: warning: No description found for parameter 'fmt'
   drivers/gpu/drm/i915/i915_irq.c:2665: warning: No description found for parameter 'wedged'
   drivers/gpu/drm/i915/i915_irq.c:2665: warning: No description found for parameter 'fmt'
>> drivers/gpu/drm/i915/intel_frontbuffer.c:261: warning: No description found for parameter 'flags'
>> drivers/gpu/drm/i915/intel_frontbuffer.c:261: warning: No description found for parameter 'flags'
   drivers/gpu/drm/i915/i915_gem.c:421: warning: No description found for parameter 'dev'
   drivers/gpu/drm/i915/i915_gem.c:421: warning: No description found for parameter 'data'
   drivers/gpu/drm/i915/i915_gem.c:421: warning: No description found for parameter 'file'
   drivers/gpu/drm/i915/i915_gem.c:686: warning: No description found for parameter 'dev'
   drivers/gpu/drm/i915/i915_gem.c:686: warning: No description found for parameter 'data'
   drivers/gpu/drm/i915/i915_gem.c:686: warning: No description found for parameter 'file'
   drivers/gpu/drm/i915/i915_gem.c:767: warning: No description found for parameter 'dev'
   drivers/gpu/drm/i915/i915_gem.c:767: warning: No description found for parameter 'obj'
   drivers/gpu/drm/i915/i915_gem.c:767: warning: No description found for parameter 'args'
   drivers/gpu/drm/i915/i915_gem.c:767: warning: No description found for parameter 'file'
   drivers/gpu/drm/i915/i915_gem.c:1029: warning: No description found for parameter 'dev'
   drivers/gpu/drm/i915/i915_gem.c:1029: warning: No description found for parameter 'data'
   drivers/gpu/drm/i915/i915_gem.c:1029: warning: No description found for parameter 'file'
   drivers/gpu/drm/i915/i915_gem.c:1245: warning: No description found for parameter 'rps'
   drivers/gpu/drm/i915/i915_gem.c:1461: warning: No description found for parameter 'req'
   drivers/gpu/drm/i915/i915_gem.c:1496: warning: No description found for parameter 'obj'
   drivers/gpu/drm/i915/i915_gem.c:1496: warning: No description found for parameter 'readonly'
   drivers/gpu/drm/i915/i915_gem.c:1619: warning: No description found for parameter 'dev'
   drivers/gpu/drm/i915/i915_gem.c:1619: warning: No description found for parameter 'data'
   drivers/gpu/drm/i915/i915_gem.c:1619: warning: No description found for parameter 'file'
   drivers/gpu/drm/i915/i915_gem.c:1682: warning: No description found for parameter 'dev'
   drivers/gpu/drm/i915/i915_gem.c:1682: warning: No description found for parameter 'data'
   drivers/gpu/drm/i915/i915_gem.c:1682: warning: No description found for parameter 'file'
   drivers/gpu/drm/i915/i915_gem.c:1729: warning: No description found for parameter 'dev'
   drivers/gpu/drm/i915/i915_gem.c:1729: warning: No description found for parameter 'data'
   drivers/gpu/drm/i915/i915_gem.c:1729: warning: No description found for parameter 'file'
   drivers/gpu/drm/i915/i915_gem.c:2019: warning: No description found for parameter 'dev'
   drivers/gpu/drm/i915/i915_gem.c:2019: warning: No description found for parameter 'size'
   drivers/gpu/drm/i915/i915_gem.c:2019: warning: No description found for parameter 'tiling_mode'
   drivers/gpu/drm/i915/i915_gem.c:2019: warning: No description found for parameter 'fenced'
   drivers/gpu/drm/i915/i915_gem.c:2019: warning: Excess function parameter 'obj' description in 'i915_gem_get_gtt_alignment'
   drivers/gpu/drm/i915/i915_gem.c:2919: warning: No description found for parameter 'ring'
   drivers/gpu/drm/i915/i915_gem.c:3050: warning: No description found for parameter 'obj'
   drivers/gpu/drm/i915/i915_gem.c:3100: warning: No description found for parameter 'dev'
   drivers/gpu/drm/i915/i915_gem.c:3100: warning: No description found for parameter 'data'
   drivers/gpu/drm/i915/i915_gem.c:3100: warning: No description found for parameter 'file'
   drivers/gpu/drm/i915/i915_gem.c:3100: warning: Excess function parameter 'DRM_IOCTL_ARGS' description in 'i915_gem_wait_ioctl'
   drivers/gpu/drm/i915/i915_gem.c:3472: warning: No description found for parameter 'obj'
   drivers/gpu/drm/i915/i915_gem.c:3472: warning: No description found for parameter 'vm'
   drivers/gpu/drm/i915/i915_gem.c:3472: warning: No description found for parameter 'ggtt_view'
   drivers/gpu/drm/i915/i915_gem.c:3472: warning: No description found for parameter 'alignment'
   drivers/gpu/drm/i915/i915_gem.c:3472: warning: No description found for parameter 'flags'
   drivers/gpu/drm/i915/i915_gem.c:3727: warning: No description found for parameter 'obj'
   drivers/gpu/drm/i915/i915_gem.c:3727: warning: No description found for parameter 'write'
   drivers/gpu/drm/i915/i915_gem.c:3802: warning: No description found for parameter 'obj'
   drivers/gpu/drm/i915/i915_gem.c:3802: warning: No description found for parameter 'cache_level'
   drivers/gpu/drm/i915/i915_gem.c:4076: warning: No description found for parameter 'obj'
   drivers/gpu/drm/i915/i915_gem.c:4076: warning: No description found for parameter 'write'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: No description found for parameter 'params'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'dev' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'file' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'ring' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'ctx' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'batch_obj' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'exec_start' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'dispatch_flags' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: No description found for parameter 'params'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'dev' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'file' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'ring' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'ctx' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'batch_obj' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'exec_start' description in 'intel_execlists_submission'
   drivers/gpu/drm/i915/intel_lrc.c:936: warning: Excess function parameter 'dispatch_flags' description in 'intel_execlists_submission'
   Warning: didn't use docs for i915_hotplug_interrupt_update
   Warning: didn't use docs for ilk_update_display_irq
   Warning: didn't use docs for ilk_update_gt_irq
   Warning: didn't use docs for snb_update_pm_irq
   Warning: didn't use docs for bdw_update_port_irq
   Warning: didn't use docs for bdw_update_pipe_irq
   Warning: didn't use docs for ibx_display_interrupt_update
   Warning: didn't use docs for i915_enable_asle_pipestat
   Warning: didn't use docs for ivybridge_parity_work
   Warning: didn't use docs for i915_reset_and_wakeup
   Warning: didn't use docs for i915_handle_error
   Warning: didn't use docs for intel_irq_install
   Warning: didn't use docs for intel_irq_uninstall

vim +/flags +261 drivers/gpu/drm/i915/intel_frontbuffer.c

   245	/**
   246	 * intel_fb_obj_mmap_wa - notifies about objects being mmapped
   247	 * @obj: GEM object being mmapped
   248	 *
   249	 * This function gets called whenever an object gets mmapped. Not every user
   250	 * space application follows the protocol assumed by the frontbuffer tracking
   251	 * subsystem when it was created, so this mmap notify callback can be used to
   252	 * completely disable frontbuffer features such as FBC and PSR. Even if at some
   253	 * point we fix ever user space application, there's still the possibility that
   254	 * the user may have a new Kernel with the old user space.
   255	 *
   256	 * Also notice that there's no munmap API because user space calls munmap()
   257	 * directly. Even if we had, it probably wouldn't help since munmap() calls are
   258	 * not common.
   259	 */
   260	void intel_fb_obj_mmap_wa(struct drm_i915_gem_object *obj, unsigned int flags)
 > 261	{
   262		struct drm_i915_private *dev_priv = obj->base.dev->dev_private;
   263	
   264		if (!IS_GEN9(dev_priv))
   265			return;
   266	
   267		obj->fb_mmap_wa_flags |= flags;
   268	
   269		if (!obj->frontbuffer_bits)

---
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/octet-stream
Size: 6240 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160322/8607a5c1/attachment-0001.obj>


More information about the Intel-gfx mailing list