Hi Thomas

That is all right, thanks very much for your review.








Best Regards




                       
原始邮件
                       
                     

发件人:"Thomas Zimmermann"< tzimmerm...@suse.de &gt;;

发件时间:2024/8/26 22:45

收件人:"renjun wang"< renju...@foxmail.com &gt;;"maarten.lankhorst"< 
maarten.lankho...@linux.intel.com &gt;;"mripard"< mrip...@kernel.org 
&gt;;"airlied"< airl...@gmail.com &gt;;"daniel"< dan...@ffwll.ch &gt;;

抄送人:"jani.nikula"< jani.nik...@linux.intel.com &gt;;"joonas.lahtinen"< 
joonas.lahti...@linux.intel.com &gt;;"rodrigo.vivi"< rodrigo.v...@intel.com 
&gt;;"tursulin"< tursu...@ursulin.net &gt;;"lyude"< ly...@redhat.com 
&gt;;"imre.deak"< imre.d...@intel.com &gt;;"Wayne.Lin"< wayne....@amd.com 
&gt;;"ville.syrjala"< ville.syrj...@linux.intel.com &gt;;"vidya.srinivas"< 
vidya.srini...@intel.com &gt;;"jouni.hogander"< jouni.hogan...@intel.com 
&gt;;"andi.shyti"< andi.sh...@linux.intel.com &gt;;"janusz.krzysztofik"< 
janusz.krzyszto...@linux.intel.com &gt;;"dri-devel"< 
dri-devel@lists.freedesktop.org &gt;;"linux-kernel"< 
linux-ker...@vger.kernel.org &gt;;"intel-gfx"< intel-...@lists.freedesktop.org 
&gt;;

主题:Re: [PATCH] drm: Fix kerneldoc for "Returns" section


Hi Renjun

Am 26.08.24 um 16:26 schrieb Thomas Zimmermann:
&gt;
&gt;
&gt; Am 24.08.24 um 10:36 schrieb renjun wang:
&gt;&gt; The blank line between title "Returns:" and detail description is not
&gt;&gt; allowed, otherwise the title will goes under the description block in
&gt;&gt; generated .html file after running `make htmldocs`.
&gt;&gt;
&gt;&gt; There are a few examples for current kerneldoc:
&gt;&gt; 
https://www.kernel.org/doc/html/latest/gpu/drm-kms.html#c.drm_crtc_commit_wait 
&gt;&gt;
&gt;&gt; 
https://www.kernel.org/doc/html/latest/gpu/drm-kms.html#c.drm_atomic_get_crtc_state
 
&gt;&gt;
&gt;&gt; 
https://www.kernel.org/doc/html/latest/gpu/i915.html#c.i915_vma_pin_fence 
&gt;&gt;
&gt;&gt;
&gt;&gt; Signed-off-by: renjun wang 
&gt;
&gt; Reviewed-by: Thomas Zimmermann 
&gt;
&gt; I'll add this patch and the other doc fix to the drm-misc tree. Thanks 
&gt; a lot for the fixes.

I took the liberty to slightly change the commit messages. The links are 
now given in Link tags and point to stable URLs.

Best regards
Thomas

&gt;
&gt; Best regards
&gt; Thomas
&gt;
&gt;&gt; ---
&gt;&gt; &nbsp; drivers/gpu/drm/display/drm_dp_mst_topology.c | 4 ----
&gt;&gt; &nbsp; 
drivers/gpu/drm/drm_atomic.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 | 6 ------
&gt;&gt; &nbsp; 
drivers/gpu/drm/drm_atomic_helper.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 | 2 --
&gt;&gt; &nbsp; 
drivers/gpu/drm/drm_file.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 | 7 -------
&gt;&gt; &nbsp; 
drivers/gpu/drm/drm_gem.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 | 7 ++-----
&gt;&gt; &nbsp; 
drivers/gpu/drm/drm_modes.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 | 1 -
&gt;&gt; &nbsp; 
drivers/gpu/drm/drm_rect.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 | 1 -
&gt;&gt; &nbsp; 
drivers/gpu/drm/drm_vblank.c&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 | 2 --
&gt;&gt; &nbsp; drivers/gpu/drm/i915/gem/i915_gem_object.h&nbsp;&nbsp;&nbsp; | 
1 -
&gt;&gt; &nbsp; drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c&nbsp; | 1 -
&gt;&gt; &nbsp; 
drivers/gpu/drm/i915/i915_vma.h&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 | 1 -
&gt;&gt; &nbsp; 11 files changed, 2 insertions(+), 31 deletions(-)
&gt;&gt;
&gt;&gt; diff --git a/drivers/gpu/drm/display/drm_dp_mst_topology.c 
&gt;&gt; b/drivers/gpu/drm/display/drm_dp_mst_topology.c
&gt;&gt; index fc2ceae61db2..e68d23997d53 100644
&gt;&gt; --- a/drivers/gpu/drm/display/drm_dp_mst_topology.c
&gt;&gt; +++ b/drivers/gpu/drm/display/drm_dp_mst_topology.c
&gt;&gt; @@ -5569,7 +5569,6 @@ EXPORT_SYMBOL(drm_dp_mst_atomic_check_mgr);
&gt;&gt; &nbsp;&nbsp; * drm_dp_atomic_release_time_slots()
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * 0 if the new state is valid, negative error code 
otherwise.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; int drm_dp_mst_atomic_check(struct drm_atomic_state *state)
&gt;&gt; @@ -5606,7 +5605,6 @@ EXPORT_SYMBOL(drm_dp_mst_topology_state_funcs);
&gt;&gt; &nbsp;&nbsp; * topology object.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * RETURNS:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * The MST topology state or error pointer.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; struct drm_dp_mst_topology_state 
&gt;&gt; *drm_atomic_get_mst_topology_state(struct drm_atomic_state *state,
&gt;&gt; @@ -5626,7 +5624,6 @@ EXPORT_SYMBOL(drm_atomic_get_mst_topology_state);
&gt;&gt; &nbsp;&nbsp; * topology object.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * The old MST topology state, or NULL if there's no 
topology state 
&gt;&gt; for this MST mgr
&gt;&gt; &nbsp;&nbsp; * in the global atomic state
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; @@ -5651,7 +5648,6 @@ 
&gt;&gt; EXPORT_SYMBOL(drm_atomic_get_old_mst_topology_state);
&gt;&gt; &nbsp;&nbsp; * topology object.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * The new MST topology state, or NULL if there's no 
topology state 
&gt;&gt; for this MST mgr
&gt;&gt; &nbsp;&nbsp; * in the global atomic state
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; diff --git a/drivers/gpu/drm/drm_atomic.c 
b/drivers/gpu/drm/drm_atomic.c
&gt;&gt; index 6e516c39a372..0fc99da93afe 100644
&gt;&gt; --- a/drivers/gpu/drm/drm_atomic.c
&gt;&gt; +++ b/drivers/gpu/drm/drm_atomic.c
&gt;&gt; @@ -63,7 +63,6 @@ EXPORT_SYMBOL(__drm_crtc_commit_free);
&gt;&gt; &nbsp;&nbsp; * hardware and flipped to.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * 0 on success, a negative error code otherwise.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; int drm_crtc_commit_wait(struct drm_crtc_commit *commit)
&gt;&gt; @@ -337,7 +336,6 @@ EXPORT_SYMBOL(__drm_atomic_state_free);
&gt;&gt; &nbsp;&nbsp; * not created by userspace through an IOCTL call.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Either the allocated state or the error code encoded 
into the 
&gt;&gt; pointer. When
&gt;&gt; &nbsp;&nbsp; * the error is EDEADLK then the w/w mutex code has 
detected a 
&gt;&gt; deadlock and the
&gt;&gt; &nbsp;&nbsp; * entire atomic sequence must be restarted. All other 
errors are 
&gt;&gt; fatal.
&gt;&gt; @@ -518,7 +516,6 @@ static int drm_atomic_connector_check(struct 
&gt;&gt; drm_connector *connector,
&gt;&gt; &nbsp;&nbsp; * is consistent.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Either the allocated state or the error code encoded 
into the 
&gt;&gt; pointer. When
&gt;&gt; &nbsp;&nbsp; * the error is EDEADLK then the w/w mutex code has 
detected a 
&gt;&gt; deadlock and the
&gt;&gt; &nbsp;&nbsp; * entire atomic sequence must be restarted. All other 
errors are 
&gt;&gt; fatal.
&gt;&gt; @@ -828,7 +825,6 @@ EXPORT_SYMBOL(drm_atomic_private_obj_fini);
&gt;&gt; &nbsp;&nbsp; * object lock to make sure that the state is consistent.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * RETURNS:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Either the allocated state or the error code encoded 
into a 
&gt;&gt; pointer.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; struct drm_private_state *
&gt;&gt; @@ -1061,7 +1057,6 @@ 
&gt;&gt; EXPORT_SYMBOL(drm_atomic_get_new_crtc_for_encoder);
&gt;&gt; &nbsp;&nbsp; * make sure that the state is consistent.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Either the allocated state or the error code encoded 
into the 
&gt;&gt; pointer. When
&gt;&gt; &nbsp;&nbsp; * the error is EDEADLK then the w/w mutex code has 
detected a 
&gt;&gt; deadlock and the
&gt;&gt; &nbsp;&nbsp; * entire atomic sequence must be restarted. All other 
errors are 
&gt;&gt; fatal.
&gt;&gt; @@ -1169,7 +1164,6 @@ static void 
&gt;&gt; drm_atomic_connector_print_state(struct drm_printer *p,
&gt;&gt; &nbsp;&nbsp; * state is consistent.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Either the allocated state or the error code encoded 
into the 
&gt;&gt; pointer. When
&gt;&gt; &nbsp;&nbsp; * the error is EDEADLK then the w/w mutex code has 
detected a 
&gt;&gt; deadlock and the
&gt;&gt; &nbsp;&nbsp; * entire atomic sequence must be restarted.
&gt;&gt; diff --git a/drivers/gpu/drm/drm_atomic_helper.c 
&gt;&gt; b/drivers/gpu/drm/drm_atomic_helper.c
&gt;&gt; index fb97b51b38f1..43cdf39019a4 100644
&gt;&gt; --- a/drivers/gpu/drm/drm_atomic_helper.c
&gt;&gt; +++ b/drivers/gpu/drm/drm_atomic_helper.c
&gt;&gt; @@ -2266,7 +2266,6 @@ crtc_or_fake_commit(struct drm_atomic_state 
&gt;&gt; *state, struct drm_crtc *crtc)
&gt;&gt; &nbsp;&nbsp; * automatically.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * 0 on success. -EBUSY when userspace schedules 
nonblocking 
&gt;&gt; commits too fast,
&gt;&gt; &nbsp;&nbsp; * -ENOMEM on allocation failures and -EINTR when a signal 
is pending.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; @@ -3009,7 +3008,6 @@ EXPORT_SYMBOL(drm_atomic_helper_cleanup_planes);
&gt;&gt; &nbsp;&nbsp; * don't pass the right state structures to the callbacks.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Returns 0 on success. Can return -ERESTARTSYS when 
@stall is 
&gt;&gt; true and the
&gt;&gt; &nbsp;&nbsp; * waiting for the previous commits has been interrupted.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; diff --git a/drivers/gpu/drm/drm_file.c b/drivers/gpu/drm/drm_file.c
&gt;&gt; index 714e42b05108..7beed6902208 100644
&gt;&gt; --- a/drivers/gpu/drm/drm_file.c
&gt;&gt; +++ b/drivers/gpu/drm/drm_file.c
&gt;&gt; @@ -355,7 +355,6 @@ int drm_open_helper(struct file *filp, struct 
&gt;&gt; drm_minor *minor)
&gt;&gt; &nbsp;&nbsp; * resources for it. It also calls the 
&amp;drm_driver.open driver 
&gt;&gt; callback.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * RETURNS:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * 0 on success or negative errno value on failure.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; int drm_open(struct inode *inode, struct file *filp)
&gt;&gt; @@ -417,7 +416,6 @@ void drm_lastclose(struct drm_device * dev)
&gt;&gt; &nbsp;&nbsp; * DRM device also proceeds to call the 
&amp;drm_driver.lastclose 
&gt;&gt; driver callback.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * RETURNS:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Always succeeds and returns 0.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; int drm_release(struct inode *inode, struct file *filp)
&gt;&gt; @@ -489,7 +487,6 @@ void drm_file_update_pid(struct drm_file *filp)
&gt;&gt; &nbsp;&nbsp; * call the &amp;drm_driver.lastclose driver callback.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * RETURNS:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Always succeeds and returns 0.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; int drm_release_noglobal(struct inode *inode, struct file *filp)
&gt;&gt; @@ -532,7 +529,6 @@ EXPORT_SYMBOL(drm_release_noglobal);
&gt;&gt; &nbsp;&nbsp; * safety.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * RETURNS:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Number of bytes read (always aligned to full events, 
and can be 
&gt;&gt; 0) or a
&gt;&gt; &nbsp;&nbsp; * negative error code on failure.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; @@ -618,7 +614,6 @@ EXPORT_SYMBOL(drm_read);
&gt;&gt; &nbsp;&nbsp; * See also drm_read().
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * RETURNS:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Mask of POLL flags indicating the current status of the 
file.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; __poll_t drm_poll(struct file *filp, struct poll_table_struct 
*wait)
&gt;&gt; @@ -656,7 +651,6 @@ EXPORT_SYMBOL(drm_poll);
&gt;&gt; &nbsp;&nbsp; * already hold &amp;drm_device.event_lock.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * RETURNS:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * 0 on success or a negative error code on failure.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; int drm_event_reserve_init_locked(struct drm_device *dev,
&gt;&gt; @@ -698,7 +692,6 @@ EXPORT_SYMBOL(drm_event_reserve_init_locked);
&gt;&gt; &nbsp;&nbsp; * drm_event_reserve_init_locked() instead.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * RETURNS:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * 0 on success or a negative error code on failure.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; int drm_event_reserve_init(struct drm_device *dev,
&gt;&gt; diff --git a/drivers/gpu/drm/drm_gem.c b/drivers/gpu/drm/drm_gem.c
&gt;&gt; index d4bbc5d109c8..149b8e25da5b 100644
&gt;&gt; --- a/drivers/gpu/drm/drm_gem.c
&gt;&gt; +++ b/drivers/gpu/drm/drm_gem.c
&gt;&gt; @@ -689,7 +689,6 @@ static int objects_lookup(struct drm_file *filp, 
&gt;&gt; u32 *handle, int count,
&gt;&gt; &nbsp;&nbsp; * For a single handle lookup, use drm_gem_object_lookup().
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * @objs filled in with GEM object pointers. Returned GEM 
objects 
&gt;&gt; need to be
&gt;&gt; &nbsp;&nbsp; * released with drm_gem_object_put(). -ENOENT is returned 
on a lookup
&gt;&gt; &nbsp;&nbsp; * failure. 0 is returned on success.
&gt;&gt; @@ -737,12 +736,11 @@ EXPORT_SYMBOL(drm_gem_objects_lookup);
&gt;&gt; &nbsp;&nbsp; * @filp: DRM file private date
&gt;&gt; &nbsp;&nbsp; * @handle: userspace handle
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; - * Returns:
&gt;&gt; + * If looking up an array of handles, use drm_gem_objects_lookup().
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; + * Returns:
&gt;&gt; &nbsp;&nbsp; * A reference to the object named by the handle if such 
exists on 
&gt;&gt; @filp, NULL
&gt;&gt; &nbsp;&nbsp; * otherwise.
&gt;&gt; - *
&gt;&gt; - * If looking up an array of handles, use drm_gem_objects_lookup().
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; struct drm_gem_object *
&gt;&gt; &nbsp; drm_gem_object_lookup(struct drm_file *filp, u32 handle)
&gt;&gt; @@ -763,7 +761,6 @@ EXPORT_SYMBOL(drm_gem_object_lookup);
&gt;&gt; &nbsp;&nbsp; * @timeout: timeout value in jiffies or zero to return 
immediately
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Returns -ERESTARTSYS if interrupted, 0 if the wait 
timed out, or
&gt;&gt; &nbsp;&nbsp; * greater than 0 on success.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
&gt;&gt; index 1a0890083aee..6ba167a33461 100644
&gt;&gt; --- a/drivers/gpu/drm/drm_modes.c
&gt;&gt; +++ b/drivers/gpu/drm/drm_modes.c
&gt;&gt; @@ -539,7 +539,6 @@ static int fill_analog_mode(struct drm_device *dev,
&gt;&gt; &nbsp;&nbsp; * to reach those resolutions.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * A pointer to the mode, allocated with 
drm_mode_create(). Returns 
&gt;&gt; NULL
&gt;&gt; &nbsp;&nbsp; * on error.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; diff --git a/drivers/gpu/drm/drm_rect.c b/drivers/gpu/drm/drm_rect.c
&gt;&gt; index 85c79a38c13a..492acce0516f 100644
&gt;&gt; --- a/drivers/gpu/drm/drm_rect.c
&gt;&gt; +++ b/drivers/gpu/drm/drm_rect.c
&gt;&gt; @@ -85,7 +85,6 @@ static u32 clip_scaled(int src, int dst, int *clip)
&gt;&gt; &nbsp;&nbsp; * factors from @src to @dst.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * RETURNS:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * %true if rectangle @dst is still visible after being 
clipped,
&gt;&gt; &nbsp;&nbsp; * %false otherwise.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; diff --git a/drivers/gpu/drm/drm_vblank.c 
b/drivers/gpu/drm/drm_vblank.c
&gt;&gt; index cc3571e25a9a..6428b7975dd6 100644
&gt;&gt; --- a/drivers/gpu/drm/drm_vblank.c
&gt;&gt; +++ b/drivers/gpu/drm/drm_vblank.c
&gt;&gt; @@ -686,7 +686,6 @@ EXPORT_SYMBOL(drm_calc_timestamping_constants);
&gt;&gt; &nbsp;&nbsp; * drm_atomic_helper_calc_timestamping_constants().
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Returns true on success, and false on failure, i.e. 
when no 
&gt;&gt; accurate
&gt;&gt; &nbsp;&nbsp; * timestamp could be acquired.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; @@ -831,7 +830,6 @@ 
&gt;&gt; EXPORT_SYMBOL(drm_crtc_vblank_helper_get_vblank_timestamp_internal);
&gt;&gt; &nbsp;&nbsp; * drm_atomic_helper_calc_timestamping_constants().
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * Returns true on success, and false on failure, i.e. 
when no 
&gt;&gt; accurate
&gt;&gt; &nbsp;&nbsp; * timestamp could be acquired.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; diff --git a/drivers/gpu/drm/i915/gem/i915_gem_object.h 
&gt;&gt; b/drivers/gpu/drm/i915/gem/i915_gem_object.h
&gt;&gt; index 5d7446a48ae7..3dc61cbd2e11 100644
&gt;&gt; --- a/drivers/gpu/drm/i915/gem/i915_gem_object.h
&gt;&gt; +++ b/drivers/gpu/drm/i915/gem/i915_gem_object.h
&gt;&gt; @@ -89,7 +89,6 @@ __i915_gem_object_unset_pages(struct 
&gt;&gt; drm_i915_gem_object *obj);
&gt;&gt; &nbsp;&nbsp; * @handle: userspace handle
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * A pointer to the object named by the handle if such 
exists on 
&gt;&gt; @filp, NULL
&gt;&gt; &nbsp;&nbsp; * otherwise. This object is only valid whilst under the 
RCU read 
&gt;&gt; lock, and
&gt;&gt; &nbsp;&nbsp; * note carefully the object may be in the process of 
being destroyed.
&gt;&gt; diff --git a/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c 
&gt;&gt; b/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c
&gt;&gt; index 93bc1cc1ee7e..0ffba50981e3 100644
&gt;&gt; --- a/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c
&gt;&gt; +++ b/drivers/gpu/drm/i915/gt/intel_ggtt_fencing.c
&gt;&gt; @@ -418,7 +418,6 @@ int __i915_vma_pin_fence(struct i915_vma *vma)
&gt;&gt; &nbsp;&nbsp; * For an untiled surface, this removes any existing fence.
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * 0 on success, negative error code on failure.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; int i915_vma_pin_fence(struct i915_vma *vma)
&gt;&gt; diff --git a/drivers/gpu/drm/i915/i915_vma.h 
&gt;&gt; b/drivers/gpu/drm/i915/i915_vma.h
&gt;&gt; index e356dfb883d3..6a6be8048aa8 100644
&gt;&gt; --- a/drivers/gpu/drm/i915/i915_vma.h
&gt;&gt; +++ b/drivers/gpu/drm/i915/i915_vma.h
&gt;&gt; @@ -389,7 +389,6 @@ void i915_vma_unpin_iomap(struct i915_vma *vma);
&gt;&gt; &nbsp;&nbsp; * i915_vma_unpin_fence().
&gt;&gt; &nbsp;&nbsp; *
&gt;&gt; &nbsp;&nbsp; * Returns:
&gt;&gt; - *
&gt;&gt; &nbsp;&nbsp; * True if the vma has a fence, false otherwise.
&gt;&gt; &nbsp;&nbsp; */
&gt;&gt; &nbsp; int __must_check i915_vma_pin_fence(struct i915_vma *vma);
&gt;

-- 
--
Thomas Zimmermann
Graphics Driver Developer
SUSE Software Solutions Germany GmbH
Frankenstrasse 146, 90461 Nuernberg, Germany
GF: Ivo Totev, Andrew Myers, Andrew McDonald, Boudien Moerman
HRB 36809 (AG Nuernberg)

Reply via email to