[Intel-gfx] [PATCH 20/38] drm/i915: Implement pwrite without struct-mutex
kbuild test robot
lkp at intel.com
Tue Sep 20 13:47:39 UTC 2016
Hi Chris,
[auto build test WARNING on drm-intel/for-linux-next]
[also build test WARNING on next-20160920]
[cannot apply to v4.8-rc7]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
[Suggest to use git(>=2.9.0) format-patch --base=<commit> (or --base=auto for convenience) to record what (public, well-known) commit your patch series was built on]
[Check https://git-scm.com/docs/git-format-patch for more information]
url: https://github.com/0day-ci/linux/commits/Chris-Wilson/drm-i915-Allow-disabling-error-capture/20160920-164839
base: git://anongit.freedesktop.org/drm-intel for-linux-next
reproduce: make htmldocs
All warnings (new ones prefixed by >>):
drivers/gpu/drm/drm_modes.c:693: warning: No description found for parameter 'bus_flags'
drivers/gpu/drm/drm_plane_helper.c:248: warning: No description found for parameter 'dst'
drivers/gpu/drm/drm_plane_helper.c:248: warning: Excess function parameter 'dest' description in 'drm_plane_helper_check_update'
drivers/gpu/drm/drm_plane_helper.c:247: warning: No description found for parameter 'dst'
drivers/gpu/drm/drm_plane_helper.c:247: warning: Excess function parameter 'dest' description in 'drm_plane_helper_check_update'
>> drivers/gpu/drm/i915/i915_gem.c:1162: warning: Excess function parameter 'i915' description in 'i915_gem_gtt_pwrite_fast'
>> drivers/gpu/drm/i915/i915_gem.c:1162: warning: Excess function parameter 'file' description in 'i915_gem_gtt_pwrite_fast'
drivers/gpu/drm/i915/i915_gem_fence.c:644: warning: No description found for parameter 'pages'
drivers/gpu/drm/i915/i915_gem_fence.c:674: warning: No description found for parameter 'pages'
drivers/gpu/drm/i915/i915_gem_fence.c:643: warning: No description found for parameter 'pages'
drivers/gpu/drm/i915/i915_gem_fence.c:673: warning: No description found for parameter 'pages'
drivers/gpu/drm/i915/i915_gem_fence.c:643: warning: No description found for parameter 'pages'
drivers/gpu/drm/i915/i915_gem_fence.c:673: warning: No description found for parameter 'pages'
drivers/gpu/drm/drm_crtc.c:1270: WARNING: Inline literal start-string without end-string.
drivers/gpu/drm/drm_crtc.c:1385: WARNING: Inline literal start-string without end-string.
include/drm/drm_crtc.h:1202: WARNING: Inline literal start-string without end-string.
include/drm/drm_crtc.h:1255: WARNING: Inline literal start-string without end-string.
include/drm/drm_crtc.h:1268: WARNING: Inline literal start-string without end-string.
include/drm/drm_crtc.h:1272: WARNING: Inline literal start-string without end-string.
drivers/gpu/drm/drm_irq.c:718: WARNING: Option list ends without a blank line; unexpected unindent.
drivers/gpu/drm/drm_fb_helper.c:2195: WARNING: Inline emphasis start-string without end-string.
drivers/gpu/drm/drm_simple_kms_helper.c:141: WARNING: Inline literal start-string without end-string.
include/drm/drm_gem.h:212: WARNING: Inline emphasis start-string without end-string.
drivers/gpu/drm/i915/i915_vgpu.c:176: WARNING: Literal block ends without a blank line; unexpected unindent.
drivers/gpu/drm/i915/intel_audio.c:54: WARNING: Inline emphasis start-string without end-string.
drivers/gpu/drm/i915/intel_audio.c:54: WARNING: Inline emphasis start-string without end-string.
drivers/gpu/drm/i915/intel_guc_fwif.h:159: WARNING: Block quote ends without a blank line; unexpected unindent.
drivers/gpu/drm/i915/intel_guc_fwif.h:178: WARNING: Enumerated list ends without a blank line; unexpected unindent.
Documentation/gpu/drm-kms.rst:13: WARNING: Could not lex literal_block as "C". Highlighting skipped.
Documentation/gpu/drm-kms-helpers.rst:16: WARNING: Could not lex literal_block as "C". Highlighting skipped.
Documentation/gpu/i915.rst:57: WARNING: Could not lex literal_block as "C". Highlighting skipped.
vim +1162 drivers/gpu/drm/i915/i915_gem.c
9b5ec232 Chris Wilson 2016-09-20 1146 }
19709047 Chris Wilson 2016-09-20 1147
19709047 Chris Wilson 2016-09-20 1148 return unwritten;
19709047 Chris Wilson 2016-09-20 1149 }
19709047 Chris Wilson 2016-09-20 1150
3de09aa3 Eric Anholt 2009-03-09 1151 /**
3de09aa3 Eric Anholt 2009-03-09 1152 * This is the fast pwrite path, where we copy the data directly from the
3de09aa3 Eric Anholt 2009-03-09 1153 * user into the GTT, uncached.
62f90b38 Daniel Vetter 2016-07-15 1154 * @i915: i915 device private data
14bb2c11 Tvrtko Ursulin 2016-06-03 1155 * @obj: i915 gem object
14bb2c11 Tvrtko Ursulin 2016-06-03 1156 * @args: pwrite arguments structure
14bb2c11 Tvrtko Ursulin 2016-06-03 1157 * @file: drm file pointer
3de09aa3 Eric Anholt 2009-03-09 1158 */
673a394b Eric Anholt 2008-07-30 1159 static int
9b5ec232 Chris Wilson 2016-09-20 1160 i915_gem_gtt_pwrite_fast(struct drm_i915_gem_object *obj,
9b5ec232 Chris Wilson 2016-09-20 1161 const struct drm_i915_gem_pwrite *args)
673a394b Eric Anholt 2008-07-30 @1162 {
9b5ec232 Chris Wilson 2016-09-20 1163 struct i915_ggtt *ggtt = &to_i915(obj->base.dev)->ggtt;
4f1959ee Ankitprasad Sharma 2016-06-10 1164 struct drm_mm_node node;
9b5ec232 Chris Wilson 2016-09-20 1165 struct i915_vma *vma;
9b5ec232 Chris Wilson 2016-09-20 1166 u64 remain, offset;
9b5ec232 Chris Wilson 2016-09-20 1167 void __user *user_data;
4f1959ee Ankitprasad Sharma 2016-06-10 1168 int ret;
b50a5371 Ankitprasad Sharma 2016-06-10 1169
9b5ec232 Chris Wilson 2016-09-20 1170 ret = mutex_lock_interruptible(&obj->base.dev->struct_mutex);
:::::: The code at line 1162 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/gzip
Size: 6422 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160920/ff7041be/attachment-0001.gz>
More information about the Intel-gfx
mailing list