From patchwork Mon Nov 23 11:18:56 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330588 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907429ilh; Mon, 23 Nov 2020 03:19:56 -0800 (PST) X-Google-Smtp-Source: ABdhPJyUF4fEx5gwJQ3qvKp856/vo55LfciVJVqeLiToFixUYJ3KABCf2awXsm/HrETtc6rR1sPl X-Received: by 2002:a17:90a:4dc8:: with SMTP id r8mr23461695pjl.1.1606130396064; Mon, 23 Nov 2020 03:19:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130396; cv=none; d=google.com; s=arc-20160816; b=lXlY1y2C/fJUwHgLWQTsdinYTafKi82Hs5IcXG23iYnuHiv8miKKR/VSc2U9F2E114 zHPfaJmaTyJXXJfSQaPi3WJTEekL9NJJg35xIEONn4BskcEXih5kPmp5FcfPPKdMAz0D aouSR+1DwFrNHrzFX9slU95b/CHvOaPOvSSj0OiaKDOu3PM87i+la1KF+CNHrdbuaw/C OPdK36O4Lcbi7JIo4d9B+BBTfZh7vhNgx0DdQmA/LLpUcSk79qu5D9NMYyVpoarGnixN WzxzmduJS3bRzecX7Uqs7TGPRmhfmfR2b4eQgZip5TxTMhqIxzG84tfHkjj1OZ3JydHS x4rQ== 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=0xA4GsgAMxO9rLWYgLHc068/gkMnYZ83OJSZJdWUwyw=; b=h2tAMhHnwMWEnilR1WcSQZVLav3gIoiqFah4oBLal4q0yJMFNrm9g+V9XqqoM0k312 Of42+52DhilX3pRB5kci81w250czh4QuDp0wTGmpotPnzeJACFUCeiRh/SSxlBS7IrmZ YKpndK6TAfA/tF1UyJW9otqQDCyl9pnodiyev3BsxryFs04ScKJrwYr21rN8U/jZ8Oif sWqPBl9unGdaaCUKYT8YrbqGB2idWOWAvvtD0NP81/LeGRwKoL/3iHM1Bk7cYH5gEQhm ANuzcfH6JCdvNpIx8o1ctcTXSOzftLp9c0TL4D8fzgmMZWNH0M5c02OhXh64QtkCFErD NZag== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=pMKJZWqn; 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 w24si10313521plp.377.2020.11.23.03.19.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:56 -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=pMKJZWqn; 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 B609E89D73; Mon, 23 Nov 2020 11:19:51 +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 BDD0189AA7 for ; Mon, 23 Nov 2020 11:19:45 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id h21so16859788wmb.2 for ; Mon, 23 Nov 2020 03:19:45 -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=L1fDlpcchEE8sJt9jBofLY6dgEAvbjxCo2YFiogOR0A=; b=pMKJZWqnGQ4EOGsM3m2PkBJTgPkL3qByu1IMOQ0X/arVLPTbGxxWRx1SJeEo/Ph48O vVN2QUHMHY9L5b9Rv/C5Ba4yptENb7hnEe1I/jE4i4Cq6aS4NeC8QCpdTbtz9RAC1WPz s8FUUBFETfQI9vuV51nSZ69uOd3k1WSU4j338+SMe1Exv4mLTQRtZDisLhXlftvz9ELl 3nH/hb2pcU/WElO4+fX5n6PwzZP3Tsf+a68dcWx2p5DY+CHRkWvpfRNEOgXXhXCd7UPy 1UOO0uiqnYk4FYrHawRONEioF2QOYeJpBxWk5AE3zznY6mfgbWWNvjt2+xPWlJ3Tp7Xx XEeQ== 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=L1fDlpcchEE8sJt9jBofLY6dgEAvbjxCo2YFiogOR0A=; b=YAIqyypakcBc2JL7OE6885Njgc2tg5wJAS2wFiFs88VZ8hJfIGFa7YOBkuMGfAPuTE 7Bz1pPupSQiJDrursdxbY1w44ZUvG/vFDudGCC35PsBTpPeo2/s2VdPXINpQo+qHJS8k EuRCJ509rnpmz6Ioyy0dZ0+JFbVwiVGvMFimHq6bYZq39nwFhNvXDBeGwEQwaCIlejxw T1ZwY86OTU4klIx0JKI2qblDE09vgUh8Oj1gexVfS2W6ceumo3m9t+dmBXgl9UH2Mnxd SsnWDNI1V5I2OBhVyNlQD58OCsS+IwQ69Pyuhoc73RdI3xNZ2k+pJ8pI8jXq2FSFxSsh 68bg== X-Gm-Message-State: AOAM532fr1QHVgulhB7dhNIw/toMD+MKK5yqQj6/C8NzrC7uGXdPw9JC 9kpTIx58WuKkDnpym585AIZoTQ== X-Received: by 2002:a1c:1c3:: with SMTP id 186mr23088850wmb.39.1606130384390; Mon, 23 Nov 2020 03:19:44 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:43 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 17/40] drm/amd/amdgpu/gfx_v6_0: Supply description for 'gfx_v6_0_ring_test_ib()'s 'timeout' param Date: Mon, 23 Nov 2020 11:18:56 +0000 Message-Id: <20201123111919.233376-18-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201123111919.233376-1-lee.jones@linaro.org> References: <20201123111919.233376-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, =?utf-8?q?Christian_K=C3=B6nig?= , linaro-mm-sig@lists.linaro.org, dri-devel@lists.freedesktop.org, Alex Deucher , linux-media@vger.kernel.org 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/gfx_v6_0.c:1903: warning: Function parameter or member 'timeout' not described in 'gfx_v6_0_ring_test_ib' 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/gfx_v6_0.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c index 671c46ebeced9..ca74638dec9b7 100644 --- a/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c +++ b/drivers/gpu/drm/amd/amdgpu/gfx_v6_0.c @@ -1894,6 +1894,7 @@ static void gfx_v6_0_ring_emit_ib(struct amdgpu_ring *ring, * gfx_v6_0_ring_test_ib - basic ring IB test * * @ring: amdgpu_ring structure holding ring information + * @timeout: timeout value in jiffies, or MAX_SCHEDULE_TIMEOUT * * Allocate an IB and execute it on the gfx ring (SI). * Provides a basic gfx ring test to verify that IBs are working.