[Intel-gfx] [PATCH 03/10] drm/i915: Use insert_page for pwrite_fast
kbuild test robot
lkp at intel.com
Thu Feb 4 10:49:59 UTC 2016
Hi Ankitprasad,
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on v4.5-rc2 next-20160204]
[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/ankitprasad-r-sharma-intel-com/Support-for-creating-using-Stolen-memory-backed-objects/20160204-175614
base: git://anongit.freedesktop.org/drm-intel for-linux-next
reproduce: make htmldocs
All warnings (new ones prefixed by >>):
include/drm/drm_crtc.h:1533: warning: No description found for parameter 'mutex'
include/drm/drm_crtc.h:1533: warning: No description found for parameter 'helper_private'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tile_idr'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'delayed_event'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'edid_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'dpms_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'path_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tile_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'plane_type_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'rotation_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_src_x'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_src_y'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_src_w'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_src_h'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_crtc_x'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_crtc_y'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_crtc_w'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_crtc_h'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_fb_id'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_crtc_id'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_active'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'prop_mode_id'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'dvi_i_subconnector_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'dvi_i_select_subconnector_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_subconnector_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_select_subconnector_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_mode_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_left_margin_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_right_margin_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_top_margin_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_bottom_margin_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_brightness_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_contrast_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_flicker_reduction_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_overscan_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_saturation_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'tv_hue_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'scaling_mode_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'aspect_ratio_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'dirty_info_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'suggested_x_property'
include/drm/drm_crtc.h:2142: warning: No description found for parameter 'suggested_y_property'
include/drm/drm_crtc.h:2142: 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:2305: warning: No description found for parameter 'connector'
include/drm/drm_dp_mst_helper.h:98: warning: No description found for parameter 'cached_edid'
include/drm/drm_dp_mst_helper.h:98: warning: No description found for parameter 'has_audio'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'max_dpcd_transaction_bytes'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'sink_count'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'total_slots'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'avail_slots'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'total_pbn'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'qlock'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'tx_msg_downq'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'tx_down_in_progress'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'payload_lock'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'proposed_vcpis'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'payloads'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'payload_mask'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'vcpi_mask'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'tx_waitq'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'work'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'tx_work'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'destroy_connector_list'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'destroy_connector_lock'
include/drm/drm_dp_mst_helper.h:471: warning: No description found for parameter 'destroy_connector_work'
drivers/gpu/drm/drm_dp_mst_topology.c:2305: 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:360: warning: cannot understand function prototype: 'struct drm_lock_data '
include/drm/drmP.h:413: warning: cannot understand function prototype: 'struct drm_driver '
include/drm/drmP.h:670: warning: cannot understand function prototype: 'struct drm_info_list '
include/drm/drmP.h:680: warning: cannot understand function prototype: 'struct drm_info_node '
include/drm/drmP.h:690: warning: cannot understand function prototype: 'struct drm_minor '
include/drm/drmP.h:738: warning: cannot understand function prototype: 'struct drm_device '
drivers/gpu/drm/i915/intel_runtime_pm.c:2173: warning: No description found for parameter 'resume'
drivers/gpu/drm/i915/intel_runtime_pm.c:2173: warning: No description found for parameter 'resume'
drivers/gpu/drm/i915/i915_irq.c:2659: warning: No description found for parameter 'wedged'
drivers/gpu/drm/i915/i915_irq.c:2659: warning: No description found for parameter 'fmt'
drivers/gpu/drm/i915/i915_irq.c:2659: warning: No description found for parameter 'wedged'
drivers/gpu/drm/i915/i915_irq.c:2659: warning: No description found for parameter 'fmt'
drivers/gpu/drm/i915/i915_irq.c:2659: warning: No description found for parameter 'wedged'
drivers/gpu/drm/i915/i915_irq.c:2659: warning: No description found for parameter 'fmt'
drivers/gpu/drm/i915/i915_irq.c:2659: warning: No description found for parameter 'wedged'
drivers/gpu/drm/i915/i915_irq.c:2659: warning: No description found for parameter 'fmt'
drivers/gpu/drm/i915/i915_gem.c:439: warning: No description found for parameter 'dev'
drivers/gpu/drm/i915/i915_gem.c:439: warning: No description found for parameter 'data'
drivers/gpu/drm/i915/i915_gem.c:439: warning: No description found for parameter 'file'
drivers/gpu/drm/i915/i915_gem.c:704: warning: No description found for parameter 'dev'
drivers/gpu/drm/i915/i915_gem.c:704: warning: No description found for parameter 'data'
drivers/gpu/drm/i915/i915_gem.c:704: warning: No description found for parameter 'file'
>> drivers/gpu/drm/i915/i915_gem.c:785: warning: No description found for parameter 'i915'
drivers/gpu/drm/i915/i915_gem.c:785: warning: No description found for parameter 'obj'
drivers/gpu/drm/i915/i915_gem.c:785: warning: No description found for parameter 'args'
drivers/gpu/drm/i915/i915_gem.c:785: warning: No description found for parameter 'file'
drivers/gpu/drm/i915/i915_gem.c:1077: warning: No description found for parameter 'dev'
drivers/gpu/drm/i915/i915_gem.c:1077: warning: No description found for parameter 'data'
drivers/gpu/drm/i915/i915_gem.c:1077: warning: No description found for parameter 'file'
drivers/gpu/drm/i915/i915_gem.c:1293: warning: No description found for parameter 'rps'
drivers/gpu/drm/i915/i915_gem.c:1509: warning: No description found for parameter 'req'
drivers/gpu/drm/i915/i915_gem.c:1544: warning: No description found for parameter 'obj'
drivers/gpu/drm/i915/i915_gem.c:1544: warning: No description found for parameter 'readonly'
drivers/gpu/drm/i915/i915_gem.c:1667: warning: No description found for parameter 'dev'
drivers/gpu/drm/i915/i915_gem.c:1667: warning: No description found for parameter 'data'
drivers/gpu/drm/i915/i915_gem.c:1667: warning: No description found for parameter 'file'
drivers/gpu/drm/i915/i915_gem.c:1730: warning: No description found for parameter 'dev'
drivers/gpu/drm/i915/i915_gem.c:1730: warning: No description found for parameter 'data'
drivers/gpu/drm/i915/i915_gem.c:1730: warning: No description found for parameter 'file'
drivers/gpu/drm/i915/i915_gem.c:1775: warning: No description found for parameter 'dev'
drivers/gpu/drm/i915/i915_gem.c:1775: warning: No description found for parameter 'data'
drivers/gpu/drm/i915/i915_gem.c:1775: warning: No description found for parameter 'file'
drivers/gpu/drm/i915/i915_gem.c:2063: warning: No description found for parameter 'dev'
drivers/gpu/drm/i915/i915_gem.c:2063: warning: No description found for parameter 'size'
drivers/gpu/drm/i915/i915_gem.c:2063: warning: No description found for parameter 'tiling_mode'
drivers/gpu/drm/i915/i915_gem.c:2063: warning: No description found for parameter 'fenced'
drivers/gpu/drm/i915/i915_gem.c:2063: warning: Excess function parameter 'obj' description in 'i915_gem_get_gtt_alignment'
drivers/gpu/drm/i915/i915_gem.c:2962: warning: No description found for parameter 'ring'
drivers/gpu/drm/i915/i915_gem.c:3095: warning: No description found for parameter 'obj'
drivers/gpu/drm/i915/i915_gem.c:3145: warning: No description found for parameter 'dev'
drivers/gpu/drm/i915/i915_gem.c:3145: warning: No description found for parameter 'data'
drivers/gpu/drm/i915/i915_gem.c:3145: warning: No description found for parameter 'file'
drivers/gpu/drm/i915/i915_gem.c:3145: warning: Excess function parameter 'DRM_IOCTL_ARGS' description in 'i915_gem_wait_ioctl'
drivers/gpu/drm/i915/i915_gem.c:3518: warning: No description found for parameter 'obj'
drivers/gpu/drm/i915/i915_gem.c:3518: warning: No description found for parameter 'vm'
drivers/gpu/drm/i915/i915_gem.c:3518: warning: No description found for parameter 'ggtt_view'
drivers/gpu/drm/i915/i915_gem.c:3518: warning: No description found for parameter 'alignment'
drivers/gpu/drm/i915/i915_gem.c:3518: warning: No description found for parameter 'flags'
drivers/gpu/drm/i915/i915_gem.c:3773: warning: No description found for parameter 'obj'
drivers/gpu/drm/i915/i915_gem.c:3773: warning: No description found for parameter 'write'
drivers/gpu/drm/i915/i915_gem.c:3848: warning: No description found for parameter 'obj'
drivers/gpu/drm/i915/i915_gem.c:3848: warning: No description found for parameter 'cache_level'
drivers/gpu/drm/i915/i915_gem.c:4122: warning: No description found for parameter 'obj'
drivers/gpu/drm/i915/i915_gem.c:4122: warning: No description found for parameter 'write'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: No description found for parameter 'params'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'dev' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'file' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'ring' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'ctx' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'batch_obj' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'exec_start' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'dispatch_flags' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: No description found for parameter 'params'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'dev' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'file' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'ring' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'ctx' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'batch_obj' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: warning: Excess function parameter 'exec_start' description in 'intel_execlists_submission'
drivers/gpu/drm/i915/intel_lrc.c:935: 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 +/i915 +785 drivers/gpu/drm/i915/i915_gem.c
4f0c7cfb Ben Widawsky 2012-04-16 769 vaddr = (void __force*)vaddr_atomic + page_offset;
4f0c7cfb Ben Widawsky 2012-04-16 770 unwritten = __copy_from_user_inatomic_nocache(vaddr,
0839ccb8 Keith Packard 2008-10-30 771 user_data, length);
3e4d3af5 Peter Zijlstra 2010-10-26 772 io_mapping_unmap_atomic(vaddr_atomic);
fbd5a26d Chris Wilson 2010-10-14 773 return unwritten;
0839ccb8 Keith Packard 2008-10-30 774 }
0839ccb8 Keith Packard 2008-10-30 775
3de09aa3 Eric Anholt 2009-03-09 776 /**
3de09aa3 Eric Anholt 2009-03-09 777 * This is the fast pwrite path, where we copy the data directly from the
3de09aa3 Eric Anholt 2009-03-09 778 * user into the GTT, uncached.
3de09aa3 Eric Anholt 2009-03-09 779 */
673a394b Eric Anholt 2008-07-30 780 static int
65858e3c Ankitprasad Sharma 2016-02-04 781 i915_gem_gtt_pwrite_fast(struct drm_i915_private *i915,
05394f39 Chris Wilson 2010-11-08 782 struct drm_i915_gem_object *obj,
673a394b Eric Anholt 2008-07-30 783 struct drm_i915_gem_pwrite *args,
05394f39 Chris Wilson 2010-11-08 784 struct drm_file *file)
673a394b Eric Anholt 2008-07-30 @785 {
65858e3c Ankitprasad Sharma 2016-02-04 786 struct drm_mm_node node;
65858e3c Ankitprasad Sharma 2016-02-04 787 uint64_t remain, offset;
673a394b Eric Anholt 2008-07-30 788 char __user *user_data;
65858e3c Ankitprasad Sharma 2016-02-04 789 int ret;
935aaa69 Daniel Vetter 2012-03-25 790
1ec9e26d Daniel Vetter 2014-02-14 791 ret = i915_gem_obj_ggtt_pin(obj, 0, PIN_MAPPABLE | PIN_NONBLOCK);
65858e3c Ankitprasad Sharma 2016-02-04 792 if (ret) {
65858e3c Ankitprasad Sharma 2016-02-04 793 ret = insert_mappable_node(i915, &node, PAGE_SIZE);
:::::: The code at line 785 was first introduced by commit
:::::: 673a394b1e3b69be886ff24abfd6df97c52e8d08 drm: Add GEM ("graphics execution manager") to i915 driver.
:::::: TO: Eric Anholt <eric at anholt.net>
:::::: CC: Dave Airlie <airlied at linux.ie>
---
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: 6124 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/intel-gfx/attachments/20160204/e5b0e01b/attachment-0001.obj>
More information about the Intel-gfx
mailing list