From patchwork Mon Nov 16 17:36:47 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 324468 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:5ce:0:0:0:0 with SMTP id l14csp3503761ils; Mon, 16 Nov 2020 09:38:20 -0800 (PST) X-Google-Smtp-Source: ABdhPJz24wEq7ui4q4m8cZgYcRuPLA/tgMZ6n++IIFbdjBxeYaI6lY5WFaAmZbiex3cfHeSm95Am X-Received: by 2002:a17:90a:8543:: with SMTP id a3mr17368268pjw.13.1605548300079; Mon, 16 Nov 2020 09:38:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605548300; cv=none; d=google.com; s=arc-20160816; b=cJ3q0tkcp/4DbDxON1bjHknO089PEz+QJ7aLjEqOASKX6rCn/qUd/HD8BAdS4EdSzO /rNPtWPHD7h2bylS0Arf11Pa3zdFCI04zHixP84Uy0gqZnkX93SlcBX1ctmVWYN4hGBW 31e9BGsK6KYfM4g/jq6B9nHCOmRhpcJW+XVFeWcYDVuz6UXQ5zZTFDYCGdLMgdKLbUzT LEGeo7yWFcwf6H0WrlWJBFhYi7osajurBlOLM30NFSuHoC3+0vNgPCdiMchFJU8q4LXS 9HXZYcTvyA4l/OWxIwbBg6MJ1Em4C25yGZ7fW/PhisJUfMbsDv0QCoKnU8REA/GGTjcT ySIw== 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=/vG4QIOIHXu8r0wjf6NdbTXJ+rxIJerAhRoXgWeh2/A=; b=pFJqvULUfAFRdQHTCke7ZC8pRYrSN3l4X5HEd3oZm/xO41fqn5dKlGpeR2KDw4l2t7 K+48pIfrL1Vyw8S74aRu4TJjKr6LnXufhh3PxoBzta6whFh4HvFB0JkCQZO8kXeAs5Ft Gr9Swx4egx1u9/6OFg021xhA7s/tPZ9z+p/aTlfFKiG3pO5T41XHZJcbFamRkvdvcN0P Oih0MhxoMY4Z6B6MRr+e7dF77gx1Y/y1ZaA33J78QKoLXahBAE3+PNL0YZBC+IfYTW/T tzdGezA2FKe5ZUPIHFmBaxqevnqbM1Qs70iYPaKQyyjTxYiJVqQMqB0yF2QnYpe/9FX0 VeZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=H9fzVUYr; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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. [2610:10:20:722:a800:ff:fe36:1795]) by mx.google.com with ESMTPS id b23si3469369plz.230.2020.11.16.09.38.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:38:20 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 as permitted sender) client-ip=2610:10:20:722:a800:ff:fe36:1795; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=H9fzVUYr; spf=pass (google.com: best guess record for domain of dri-devel-bounces@lists.freedesktop.org designates 2610:10:20:722:a800:ff:fe36:1795 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 132746E063; Mon, 16 Nov 2020 17:38:18 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by gabe.freedesktop.org (Postfix) with ESMTPS id C27F66E04A for ; Mon, 16 Nov 2020 17:37:46 +0000 (UTC) Received: by mail-wr1-x443.google.com with SMTP id s8so19610987wrw.10 for ; Mon, 16 Nov 2020 09:37:46 -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=c/TaDkB9aPGP5jIvVTMt5uJ/KkWKg3o08L440ECaIrc=; b=H9fzVUYr61GkdepEkcKo4chSq6TsD6cuRJmXdrsP+VjRRNEvOQQX/IfJ52sG/AWhsh EFRdfq3Dlg+axrP3DhsmqLb4m57yB9TVKIKxsJ0uDgUZORWETCnUubh/cXsWl8zsxOQ1 o/9J+jM+JTAJ1opy/ZR2C8WKVu8T394xmWN6haS6//h2fksNKepH0hCF4L0RS7i8WIS8 ThriN6lQhbMpGbEIWYKuT4VANbahux5F81Q/wy69QsmKqF4kktqGd/gfP9OhrIEd5Iz/ RzpxPw7HF4e7VfvvQLuSrr+A8vSFJPkA+FYLvcXnilM0rbX07wqAzzg43KI8MMoxUt1E BEwA== 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=c/TaDkB9aPGP5jIvVTMt5uJ/KkWKg3o08L440ECaIrc=; b=FbqKx+b5GJ7+NWK02ROSEZBvyn2DsO4KzaXLtRBREnN52dor4511MHhQ9fUch5yeK+ 7hPfKroUleSxvtwGbgnvF9Cv5VzPFhfIezcBwl2D8xDZs6OuXBSkSoQfLY+SiKKq46T2 U7/D7lB+46IOGcF3XV1MbGzD9vDQ3Uy2MvgfLNGtuRJPjv7whEzBuuvE3bbhfS3DnGmE /SwgyD04VVgLkX91PCqRPC1pBs8KbLulLOQihQ2yoSMpMs0CLnBFvZstXPClaujsVnfn Kl/IkADOM6cZRepZUPwAc+YV4C7shE11psYxRLBa8Ls2FZo9m+ToXgRq8F+7qbmSkLfh Y2Pg== X-Gm-Message-State: AOAM531AEHHVZo1MQ3now56iX5WdtKSgun02JuhbLnyu9gczyDYgHAs+ k52gCoNJmYpS1qqG+lRjhtYBXg== X-Received: by 2002:a5d:4612:: with SMTP id t18mr20438262wrq.401.1605548265478; Mon, 16 Nov 2020 09:37:45 -0800 (PST) Received: from dell.default ([91.110.221.159]) by smtp.gmail.com with ESMTPSA id 30sm16942828wrd.88.2020.11.16.09.37.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Nov 2020 09:37:44 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 30/43] drm/radeon/si_dma: Move 'si_gpu_check_soft_reset()'s prototype to shared header Date: Mon, 16 Nov 2020 17:36:47 +0000 Message-Id: <20201116173700.1830487-31-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201116173700.1830487-1-lee.jones@linaro.org> References: <20201116173700.1830487-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 , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Alex Deucher , =?utf-8?q?Christian_K=C3=B6?= =?utf-8?q?nig?= Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Fixes the following W=1 kernel build warning(s): drivers/gpu/drm/radeon/si.c:3768:5: warning: no previous prototype for ‘si_gpu_check_soft_reset’ [-Wmissing-prototypes] 3768 | u32 si_gpu_check_soft_reset(struct radeon_device *rdev) | ^~~~~~~~~~~~~~~~~~~~~~~ Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/radeon/si.h | 1 + drivers/gpu/drm/radeon/si_dma.c | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/radeon/si.h b/drivers/gpu/drm/radeon/si.h index 0a5018ef166e2..a1751ae560f02 100644 --- a/drivers/gpu/drm/radeon/si.h +++ b/drivers/gpu/drm/radeon/si.h @@ -27,5 +27,6 @@ struct radeon_device; int si_mc_load_microcode(struct radeon_device *rdev); +u32 si_gpu_check_soft_reset(struct radeon_device *rdev); #endif /* __SI_H__ */ diff --git a/drivers/gpu/drm/radeon/si_dma.c b/drivers/gpu/drm/radeon/si_dma.c index d2fa302a5be9f..645897d1bfc31 100644 --- a/drivers/gpu/drm/radeon/si_dma.c +++ b/drivers/gpu/drm/radeon/si_dma.c @@ -25,10 +25,9 @@ #include "radeon.h" #include "radeon_asic.h" #include "radeon_trace.h" +#include "si.h" #include "sid.h" -u32 si_gpu_check_soft_reset(struct radeon_device *rdev); - /** * si_dma_is_lockup - Check if the DMA engine is locked up *