[Intel-gfx] [PATCH] drm: Add reference counting to drm_atomic_state

kbuild test robot lkp at intel.com
Wed Aug 24 00:29:30 UTC 2016


Hi Chris,

[auto build test WARNING on drm-intel/for-linux-next]
[cannot apply to drm/drm-next v4.8-rc3 next-20160823]
[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-Add-reference-counting-to-drm_atomic_state/20160824-054553
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_atomic.c:228: warning: No description found for parameter 'ref'
>> drivers/gpu/drm/drm_atomic.c:228: warning: Excess function parameter 'state' description in '__drm_atomic_state_free'
>> drivers/gpu/drm/drm_atomic.c:228: warning: No description found for parameter 'ref'
>> drivers/gpu/drm/drm_atomic.c:228: warning: Excess function parameter 'state' description in '__drm_atomic_state_free'
>> include/drm/drm_crtc.h:2063: warning: No description found for parameter 'ref'
   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/intel_dp.c:5063: warning: No description found for parameter 'dev_priv'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: Excess function parameter 'dev' description in 'intel_dp_set_drrs_state'
   drivers/gpu/drm/i915/intel_dp.c:5158: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5188: warning: No description found for parameter 'old_crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'dev_priv'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: Excess function parameter 'dev' description in 'intel_dp_set_drrs_state'
   drivers/gpu/drm/i915/intel_dp.c:5158: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5188: warning: No description found for parameter 'old_crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'dev_priv'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: Excess function parameter 'dev' description in 'intel_dp_set_drrs_state'
   drivers/gpu/drm/i915/intel_dp.c:5158: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5188: warning: No description found for parameter 'old_crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'dev_priv'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: Excess function parameter 'dev' description in 'intel_dp_set_drrs_state'
   drivers/gpu/drm/i915/intel_dp.c:5158: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5188: warning: No description found for parameter 'old_crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'dev_priv'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: Excess function parameter 'dev' description in 'intel_dp_set_drrs_state'
   drivers/gpu/drm/i915/intel_dp.c:5158: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5188: warning: No description found for parameter 'old_crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'dev_priv'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: Excess function parameter 'dev' description in 'intel_dp_set_drrs_state'
   drivers/gpu/drm/i915/intel_dp.c:5158: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5188: warning: No description found for parameter 'old_crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'dev_priv'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5063: warning: Excess function parameter 'dev' description in 'intel_dp_set_drrs_state'
   drivers/gpu/drm/i915/intel_dp.c:5158: warning: No description found for parameter 'crtc_state'
   drivers/gpu/drm/i915/intel_dp.c:5188: warning: No description found for parameter 'old_crtc_state'
   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:2191: 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:179: 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 +/ref +228 drivers/gpu/drm/drm_atomic.c

   212		if (config->funcs->atomic_state_clear)
   213			config->funcs->atomic_state_clear(state);
   214		else
   215			drm_atomic_state_default_clear(state);
   216	}
   217	EXPORT_SYMBOL(drm_atomic_state_clear);
   218	
   219	/**
   220	 * __drm_atomic_state_free - free all memory for an atomic state
   221	 * @state: atomic state to deallocate
   222	 *
   223	 * This frees all memory associated with an atomic state, including all the
   224	 * per-object state for planes, crtcs and connectors.
   225	 */
   226	void __drm_atomic_state_free(struct kref *ref)
   227	{
 > 228		struct drm_atomic_state *state = container_of(ref, typeof(*state), ref);
   229		struct drm_mode_config *config = &state->dev->mode_config;
   230	
   231		drm_atomic_state_clear(state);
   232	
   233		DRM_DEBUG_ATOMIC("Freeing atomic state %p\n", state);
   234	
   235		if (config->funcs->atomic_state_free) {
   236			config->funcs->atomic_state_free(state);

---
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: 6422 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/intel-gfx/attachments/20160824/9d842e55/attachment.obj>


More information about the Intel-gfx mailing list