lkml.org 
[lkml]   [2021]   [Apr]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 33/40] drm/amd/amdgpu/amdgpu_ring: Provide description for 'sched_score'
    From
    Date
    Am 16.04.21 um 16:37 schrieb Lee Jones:
    > Fixes the following W=1 kernel build warning(s):
    >
    > drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c:169: warning: Function parameter or member 'sched_score' not described in 'amdgpu_ring_init'
    >
    > Cc: Alex Deucher <alexander.deucher@amd.com>
    > Cc: "Christian König" <christian.koenig@amd.com>
    > Cc: David Airlie <airlied@linux.ie>
    > Cc: Daniel Vetter <daniel@ffwll.ch>
    > Cc: Sumit Semwal <sumit.semwal@linaro.org>
    > Cc: amd-gfx@lists.freedesktop.org
    > Cc: dri-devel@lists.freedesktop.org
    > Cc: linux-media@vger.kernel.org
    > Cc: linaro-mm-sig@lists.linaro.org
    > Signed-off-by: Lee Jones <lee.jones@linaro.org>

    Reviewed-by: Christian König <christian.koenig@amd.com>

    > ---
    > drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 1 +
    > 1 file changed, 1 insertion(+)
    >
    > diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
    > index 688624ebe4211..7b634a1517f9c 100644
    > --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
    > +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c
    > @@ -158,6 +158,7 @@ void amdgpu_ring_undo(struct amdgpu_ring *ring)
    > * @irq_src: interrupt source to use for this ring
    > * @irq_type: interrupt type to use for this ring
    > * @hw_prio: ring priority (NORMAL/HIGH)
    > + * @sched_score: optional score atomic shared with other schedulers
    > *
    > * Initialize the driver information for the selected ring (all asics).
    > * Returns 0 on success, error on failure.

    \
     
     \ /
      Last update: 2021-04-16 17:56    [W:4.186 / U:0.088 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site