From patchwork Fri Apr 16 14:37:14 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 422529 Delivered-To: patch@linaro.org Received: by 2002:a02:6a6f:0:0:0:0:0 with SMTP id m47csp447969jaf; Fri, 16 Apr 2021 07:38:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFfSvReTWi+wDOc1nixEbZAUH9UTIFIfGF0cNGSu/3x5U6gM1fnHbyE3dwjf/UxHt2XmQi X-Received: by 2002:a62:7bcc:0:b029:244:9931:286d with SMTP id w195-20020a627bcc0000b02902449931286dmr8568209pfc.2.1618583910071; Fri, 16 Apr 2021 07:38:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1618583910; cv=none; d=google.com; s=arc-20160816; b=uSeEYUb+2O6XjP12vwBdlrQdWeUUFmoIYiU0h8YL8yg7rgi+3Bm0pcmK3qHiksJ25v 4Caq0brWakVzzZ+TZOxMWGh2QzAm93fVkIYvF8/mAIzdiQf42KYigLKelZLAaWQEmyGY QbBA9kW2RmhfuwXRepmU/m1zFwECY8x85xG4FGVpXu6SbVh0OBZfEldhakzt+YfauuGM CIVqQlol6kkgS5LUhsj7lHQZAvMHVssBN87CXo9fMufvHDdZuJB4l+GmBf+L9Ojn1+Z4 e5FHBcQJeSEozycmxJc3FH+DR7RqY8g4zi9wNwrVw8sVEnRX4GL99dTLXOhQs9Ph1fjx SaHQ== 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=q9QkHlwJDar64oIul6Zxhmqo4CTxwCRZxxTfk+OGqes=; b=KzvaojGvUYXYFRlJeCPfVg/VEQzKmLNrq9qtwqCam/9LWUKZJRWmZQpn1p8RZdSgq4 1Uf2lMPJGIEjJp6VDMrd6pzQiWtAyh+Cg1kL9fddm/soAfiz26AYtH0FWiqvgM5XSKl9 hEIS2nNn8+JiqsjP9YpsFRreG9OT9QBeaoKvHYin+RlgYu0PeZlDcm0VepZVzb/ciO84 EWtoGfAkhHEZ85whuHv+Ps900L0AA1owJO2mTA7fR8PXZ4loIRnyug2m9uSRaqoob0ng pj/pNf1uGvag3c+JWRGL3fy4STTk9qNm05MOQstZ8KFLVfdXuRpaBUTcDIsbWDU6Wbny FJow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=eY+BehDO; 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.29; Fri, 16 Apr 2021 07:38:30 -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=eY+BehDO; 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 S244578AbhDPOio (ORCPT + 3 others); Fri, 16 Apr 2021 10:38:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45248 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244306AbhDPOi0 (ORCPT ); Fri, 16 Apr 2021 10:38:26 -0400 Received: from mail-ed1-x532.google.com (mail-ed1-x532.google.com [IPv6:2a00:1450:4864:20::532]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C1AE1C061760 for ; Fri, 16 Apr 2021 07:38:01 -0700 (PDT) Received: by mail-ed1-x532.google.com with SMTP id m3so32537507edv.5 for ; Fri, 16 Apr 2021 07:38:01 -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=q9QkHlwJDar64oIul6Zxhmqo4CTxwCRZxxTfk+OGqes=; b=eY+BehDOCCwJrQBgJvFkrLf60qYGNjp86LQ95v4aL7ItluI4Kc1SOgueUMBeL7xVO0 HabFWzx1pws/L5MRCFq5LUoT5qfUy3s5FD/uSxeZFuyHKY3170WEz1Csbb4fSPaBDIqN oRoIS2YwYhl3F0P/wmetAgGaxJNwr8QMpvE56Jxb1rGkseV0sHdrWs1gzTSOL2x1NJS0 Vj80LYVwo8lXzAojSa+aNSIeTjnQWOA9oP0WJp53MrM0/1L47DLNnl/6xm51fQAC1llu FYuAOZoo41nr91MY3qLkcrnWrr3xBTW/WLIuUjkwS7wdSBtV0LoR2GWHCg5gPjz2JP4q OdwA== 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=q9QkHlwJDar64oIul6Zxhmqo4CTxwCRZxxTfk+OGqes=; b=VG6JyFOaMtyVAKpKbTJ/Pb6crLZs60gSFEil5sKxxm2EJ0lVwNAyPg+BKOaGJWHU5d FgBWMAMzaegSzGbqezTiTTYyaR/dujsh6WLKKDzVRR2Hp3rAANI2pimAIPpa9zYeGJa5 mkGsaS62cmdJfeiXbyYTbEhpI76e3QsQkTo3Q6DFtKnO7/PA1kJBbUcmaSAsxbKtKj9a qu3NaDr6PO4NwiBcMF5c65ffinMsJWHqXfMXFFIKdMaGG/mYt9xvHIF57ryt2qthDCgM 8L8m3s14eoQbV8Wq8Bt28gJxWun7IogVzGccg7G90+cvHGvPqwwXWu2ODcPzeruIJbm4 ChSA== X-Gm-Message-State: AOAM5336VKY1IXkyosk9G87ONsaHORdWcl5Vrmg5w7CIzM5wQWJXOsTM hBtoWASgF6Yh/yfaEpABv3qX2Q== X-Received: by 2002:a05:6402:cb3:: with SMTP id cn19mr2427916edb.206.1618583880589; Fri, 16 Apr 2021 07:38:00 -0700 (PDT) Received: from dell.default ([91.110.221.215]) by smtp.gmail.com with ESMTPSA id j10sm1326523ejk.93.2021.04.16.07.37.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Apr 2021 07:38:00 -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 , Jerome Glisse , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-media@vger.kernel.org, linaro-mm-sig@lists.linaro.org Subject: [PATCH 29/40] drm/amd/amdgpu/amdgpu_fence: Provide description for 'sched_score' Date: Fri, 16 Apr 2021 15:37:14 +0100 Message-Id: <20210416143725.2769053-30-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_fence.c:444: warning: Function parameter or member 'sched_score' not described in 'amdgpu_fence_driver_init_ring' Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Sumit Semwal Cc: Jerome Glisse 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_fence.c | 1 + 1 file changed, 1 insertion(+) -- 2.27.0 Reviewed-by: Christian König diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c index 47ea468596184..30772608eac6c 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c @@ -434,6 +434,7 @@ int amdgpu_fence_driver_start_ring(struct amdgpu_ring *ring, * * @ring: ring to init the fence driver on * @num_hw_submission: number of entries on the hardware queue + * @sched_score: optional score atomic shared with other schedulers * * Init the fence driver for the requested ring (all asics). * Helper function for amdgpu_fence_driver_init().