From patchwork Fri Apr 16 14:37:18 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422533 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp448012jaf; Fri, 16 Apr 2021 07:38:32 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQhA12MOCxJllY8rDYZUnbK5gun8Fc0TtcbjUfVyuwANI48mDlSB71Niqpqqfcp+u+wBO7 X-Received: by 2002:a17:902:ce85:b029:eb:46e1:2da2 with SMTP id f5-20020a170902ce85b02900eb46e12da2mr9935493plg.38.1618583912485; Fri, 16 Apr 2021 07:38:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583912; cv=none; d=google.com; s=arc-20160816; b=sNArjwjEouOhm8Abo5JGgKmQy7JqMRM1+5hguRqhoI/ji6gHhvkcKqb4Ypr1i0CIrE YJcAWMtLCNErWTfgXPSHdxty/qb6IGyKdnJvbz6cLjfp3UJgsw8t0kiTiGqGx0NUlVBf ZbI/s57KKMbUgLu4yfKfKiZ9XqXOV+4j8ysJmjwqPPSmpIDTeG4RVPvZcNrJCoYaCpVT QtzgcRqc7+WpY0dcwmRY+pKLVW29h1o9SsfqaO9PpBHR6+MiHbEjnbKrZ/052pIsMVj3 pPs6W+O+S5KkyeKLmgoh5sdPRmh7B28dthrDXHdlJ9VhmukK74FN8V77rzB1EP+Xc8Zc AT+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=I8mWOth0SK24IkrgdA5t1Y60F5TC0397g52f7X8Rsig=; b=PuCtxukISvC4vUv5GDTMSA3A5Pdyv9U6FFHzm2qXDVb3UsFFjUZwN1yxnZ+R12ml9l CWreMKz8S3vs1F3IpyyfOckUnlPmW/LGumvoNlPvTjoqado7nfm/JmAcMrHuNQ4Meaxf /IntX/liwYygWwXc46oebzFvoflwCZBx5IFtBC8TkjrZyTqz1bs7U8A68JAkhxTvPkOL hSes6rDVPPgXZHd1k9y+5dCxsANAwwcRmRIX0MIVrk7xfWrcuTpyw1LQERifJgidJvz7 xAF1bL1aw34EIqUMbwoScIO+X6Udw3lzJ2v5jH8vnBnUXxkH9C2sYpNlI9zEC+X29dto RInQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YgMDFePl; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 42si6773537ple.242.2021.04.16.07.38.32; Fri, 16 Apr 2021 07:38:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YgMDFePl; spf=pass (google.com: domain of linux-media-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-media-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235263AbhDPOiu (ORCPT + 3 others); Fri, 16 Apr 2021 10:38:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45270 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244465AbhDPOib (ORCPT ); Fri, 16 Apr 2021 10:38:31 -0400 Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0EC78C061343 for ; Fri, 16 Apr 2021 07:38:06 -0700 (PDT) Received: by mail-ej1-x634.google.com with SMTP id e14so42447275ejz.11 for ; Fri, 16 Apr 2021 07:38:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I8mWOth0SK24IkrgdA5t1Y60F5TC0397g52f7X8Rsig=; b=YgMDFePlDrbu+lfm/PqgYEnXq98IKmEE0loDCtjkfHsTCMpAqMSDSjSYx714+3DxwP sqWegEyqCp6hLKtv9sHQ3EY82v4t8frAeIWli699zbPAb40ZEiBEaw4QPxu4w63nO9cB KHuWXBQLE38YoaknaLtK242G6dcoG3qqnb4sXYX5R1NGPq/CEXHvxiHxdnLKTkhav9VT d5PwX9lVNlJCGvNS/uKWUMm0C3PLBjQW4xtOybaxuBcKZOVkTF1eiTg3+dod3uTSasqB 6BDP78jpXknUPSDKOij9kcO1wkGkQeV+VEcLB6h7VbZ6fQUxzDiymRrTsnO2qA7yYH1c CIyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I8mWOth0SK24IkrgdA5t1Y60F5TC0397g52f7X8Rsig=; b=FPQ3nuN8szPzYmK1X2L27UyVJmoCVfe7YH12hwL2KdKgbmuKO7xllZ4mo6k4YJJgcs QBT3xCyb4GrCvs2OQGCvJ8MefsyrmrtdDs8Bm3sDid7kUag99IFkRvQZHknEh+vHcdCI g/dtCsmBydCj++xY2zJsnF9kixYQ+v4nIsgHB1bdtgWD4d+GwH4CLrCt94k27F3Nuo0M Wif17sZWC3LqZxwKFYoKMj06T9UU7wzb+2YpQQOr/rAYE1joB8jbKobtP8zMimiUaTgS wp0AUOyhkTxxWPnF1kwyVGAfek5IGEpGB5upXkw73WU487MxX6iqylQSfhLFamJoF23N NYrQ== X-Gm-Message-State: AOAM533erE8HwEE0PSGyZuWbxSOoDndep/Fa98zbpReVD+rbmjRDe96B JhkhoxwGILMeoG7zBnC59eUNAA== X-Received: by 2002:a17:907:9691:: with SMTP id hd17mr8782424ejc.205.1618583884824; Fri, 16 Apr 2021 07:38:04 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.38.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:04 -0700 (PDT) From: Lee Jones To: lee.jones@linaro.org Cc: linux-kernel@vger.kernel.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6n?= =?utf-8?q?ig?= , David Airlie , Daniel Vetter , Sumit Semwal , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 33/40] drm/amd/amdgpu/amdgpu_ring: Provide description for 'sched_score' Date: Fri, 16 Apr 2021 15:37:18 +0100 Message-Id: <20210416143725.2769053-34-lee.jones@linaro.org> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20210416143725.2769053-1-lee.jones@linaro.org> References: <20210416143725.2769053-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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 Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal 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 --- drivers/gpu/drm/amd/amdgpu/amdgpu_ring.c | 1 + 1 file changed, 1 insertion(+) -- 2.27.0 Reviewed-by: Christian König 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.