From patchwork Fri Nov 13 13:49:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324298 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp1212887ils; Fri, 13 Nov 2020 05:50:19 -0800 (PST) X-Google-Smtp-Source: ABdhPJzFJlFuyGiHyKuTLUi3ssyIycSYZ/7gqZe3X6XzNKbBR/qzm5gIMRDSZGDpBdWx3epGZDUc X-Received: by 2002:a17:90a:4a15:: with SMTP id e21mr3048931pjh.130.1605275419835; Fri, 13 Nov 2020 05:50:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605275419; cv=none; d=google.com; s=arc-20160816; b=soDwLrcrtzntRi0Sz+Q+4HicYuZ4oiFsDlQ6/4ETscO5lY8R8GRgzfCMxsVgcvhnV5 QwTyX1uP+bWB+IvPmdGYgOvlwZMKAvtdzo6iR50dcm6u2yBUGzNmGNx4iALfKdAjDtdQ 4SVhM8e1aFrNxeb//SA35Uk3QCwB/uf3wD+DpOlBTzSAtWjyjiCqSN9yyfDEiGoPoxlL vVZmEc4BVGIyxfqagG96tA5l6YeZ4SEdi4sGqS2GjUeWrZLI4eT9wpS6C1LoWT6xZ+ps zcaeQUNYOwoCzn69FJcKA50cG3VO6lScb93jmDm48i+hnUZbIfN1m6ZyyEl0Q4Lz8zTd 4VWA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:mime-version:references:in-reply-to:message-id:date :subject:to:from:dkim-signature:delivered-to; bh=AlXIr2YmexbAE2woYPn95s1rIGaZIkrVRQEOAJeqFXY=; b=K1k7SRBAZOZafePZ5kglSFGW1a9vxSAc6k1YVTpsEzmfwlMviXlTUfgGPD6p/UbpJi RdwoVTr8ZuxpjXjTKtMXUhaT8gpIEPxgms75EkhGHosdLRn4MrBlIik+9BjFvinHv+9P 09fyTpQ3PE+qJLURhH5pqjjR8h7LjsWUXOxFde25Ld0k9nAI7XlzQ2QqGut+ECWUa34s aa+kM8Nxv2FgUThlvZAop7KJuSPnCWJ6BD/zL7d3Nl5a/UQDf5UKGpVYqUNip8Axc9yG ix7p7GpQOz4iFZZ0RE4uvFir2wk5yT86bEmyzr0yBXUTZH87C2gonxLGRORAa7Gl3+s+ oBKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=R1shnNVe; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from gabe.freedesktop.org (gabe.freedesktop.org. [131.252.210.177]) by mx.google.com with ESMTPS id l5si8130557pgg.31.2020.11.13.05.50.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:19 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) client-ip=131.252.210.177; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=R1shnNVe; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 131.252.210.177 as permitted sender) smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 408586E4F9; Fri, 13 Nov 2020 13:50:15 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 4AF7B6E4DD for ; Fri, 13 Nov 2020 13:50:10 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id c9so8201610wml.5 for ; Fri, 13 Nov 2020 05:50:10 -0800 (PST) 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=Fbx/i6xkdl5U3TCyGHC7OwtokMdU84+FveVergF6/Ok=; b=R1shnNVetX4luA2olSUjEUcn8RXbxoyUmnCpZ4pRXk8LujJR/7t/PmhuT/jdLA0YG8 xdD0sDqtV4pG7nM8HQoEmSLcyNOcnklXEXFWPprk1HzH6oLPRMe5Fr9o0dn+a7JVklBJ AOTs4bmp6IjZ4AfdE8x0MIOIsH8NcoCqCq/sRmde2nuqAllLptX0ST7D4MjQoyp6LwXf 98S1AE24vbzy5BEPTalNeNPn8kzE1W1M1RMP1zwRYbvH1oAKvH6IrHr3iLcroO7PnjzQ peUSjRSdghyuoehDuQU18l3Ps2p3pKevRGrvwtdEJPWnF8CIpwUpgVqVQRjVjzMciRnM WqHw== 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=Fbx/i6xkdl5U3TCyGHC7OwtokMdU84+FveVergF6/Ok=; b=sMj6Pt4xUOyIwRWG13l0iwpp5+kHUAKxle3vpk+IOP19z4YAg5qD27G1T8x9wMbieG eLUv6JR/gkSKoXEzqVKfJkdqb5cZxdrZs39C50pBwM3vAdIhyCy9hbkdRQZAdypqHJuU 24MnK/H0vq5yuCGQ/4PJdIHU4ODa2fCN7/HdSV3J2FZJ0PBYPqbBS00XCHWoXpqNc1Bo L7Sc6VuHgbm1/mj71WxfSGsLcOxwemH82sZjjKbbFd53w0cBtxCa6Aa9I4lISrjeUfAC AktxoudpgVBlY5t+dPSjeBRqs0dL9tURtyrwg5sbfGhXOYr7K6uvaJpDVRUqM9XcjLXv uALQ== X-Gm-Message-State: AOAM531m2pdPs8gyAkE8P6OYvczIMgAyD0b0Hqog4XLe8dtUDWSxpX3d Gwu8SqJiQzYS7/LWTz8MiE9uXQ== X-Received: by 2002:a05:600c:2204:: with SMTP id z4mr2536234wml.57.1605275408939; Fri, 13 Nov 2020 05:50:08 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id t11sm4561614wrm.8.2020.11.13.05.50.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Nov 2020 05:50:08 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 22/40] drm/amd/amdgpu/amdgpu_sched: Consume our own header containing prototypes Date: Fri, 13 Nov 2020 13:49:20 +0000 Message-Id: <20201113134938.4004947-23-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201113134938.4004947-1-lee.jones@linaro.org> References: <20201113134938.4004947-1-lee.jones@linaro.org> MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Airlie , dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Luben Tuikov , Andres Rodriguez , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c:35:5: warning: no previous prototype for ‘amdgpu_to_sched_priority’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c:122:5: warning: no previous prototype for ‘amdgpu_sched_ioctl’ [-Wmissing-prototypes] Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Luben Tuikov Cc: Andres Rodriguez Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c index 0da0a0d986720..b7d861ed52849 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c @@ -29,7 +29,7 @@ #include #include "amdgpu.h" - +#include "amdgpu_sched.h" #include "amdgpu_vm.h" int amdgpu_to_sched_priority(int amdgpu_priority,