From patchwork Mon Nov 23 11:18:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 330578 Delivered-To: patch@linaro.org Received: by 2002:a92:ae0b:0:0:0:0:0 with SMTP id s11csp1907193ilh; Mon, 23 Nov 2020 03:19:36 -0800 (PST) X-Google-Smtp-Source: ABdhPJyxbZqMd0IqL3GEK1s6JwjlJxC2Jsa44hPffLPz6Wn02Q0kgX6uXP0L63q3PkV6esCxE/7N X-Received: by 2002:a17:902:9307:b029:d9:d097:fd6c with SMTP id bc7-20020a1709029307b02900d9d097fd6cmr20193022plb.10.1606130376648; Mon, 23 Nov 2020 03:19:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606130376; cv=none; d=google.com; s=arc-20160816; b=tloNiKrEuxcuJgGW/kWycIm9csfgpgcC5yr3hn+aWvoPkoQC84paZHXShtw0NQcSDK sbYe0SV7jKLRI+iYj5iwVB/gpKM+LTAPt7I1rz67uuE4vzMvu2fvXPM5VGGqZuo6v8WF vH3cBm2UMPjpJo2MW1tuRpHea+vl0EHEqgxDnQKT8AKuVaLDix+tXx/7+RoYVyzDYymI KWZgMdas+fa9oyVYFRBT9nwylMaXPikGBMV4DptN6n3P/Bl93DUnhvoobKJCq1LfZfTA 96EwOv5cSq5Ul7ilecqPlSVXRcJyi+Q39js8L+yeZf+2Aqaj/kyAT7leoTvSe2JPn3YV b+Zw== 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=IXziVReehc+Hy56zTuCqtW4zy2aUMSgl4GIDBgW3tNU=; b=aPH+0xZH6rL7M8NVs7EqX/g2/h3rqJIapi9SiE1S5Abwz4NEKyugCXsTxAaJ53H1WO ecb51NuL5JXIOYfuoWo3X4aGtxzE9m6qzw/4PrzjAAOeToBYfHzGeMc/0zNZTJm6/gXy nE9ugudl2LXRVWxeJPPlb/r5woxyboEmP5TU8cQAjywu27E65LqST0v47RepcYRnRXtu uMsBeVnEU4PJuK2B0hHfP9fWx+YynGlSMsd9uJtaXcdllNEHY/o/33ZOXgUPW1M/cBnm XxNjvvk7+tf7qx5ajJuKa6fLo9aXXFDgRA8iwDe9ly8+rLi2hksF9nDKMOlVkYym2XPO jUCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=TgHaHacy; 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 o16si10953377pgl.449.2020.11.23.03.19.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:36 -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=TgHaHacy; 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 F35EC89175; Mon, 23 Nov 2020 11:19:29 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by gabe.freedesktop.org (Postfix) with ESMTPS id 2956389155 for ; Mon, 23 Nov 2020 11:19:27 +0000 (UTC) Received: by mail-wm1-x342.google.com with SMTP id a186so14724827wme.1 for ; Mon, 23 Nov 2020 03:19:27 -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=NbI9YC4DXS8pP98pclydp8H5GArZ+B3FbUQc6S4IogU=; b=TgHaHacyuHyhuNT4t9k91sNsSIpxd1Xx/c4tP8EIQStq0UwNaFNTtzx1inmxtzd/z+ hTIUk4QzPFZlQbN3JeRLYKzRVM5heFaIzctXY2wjwiJa75NUFDBbhz1kBpe+fkigDbqR +IYvmWC8XLoidiZJ9y0u7Id3jLiYI3c4OEm2Cp4JCnG46l7ptAU2mg4M2/q/bMY5Gweq N4vdC9Ke3ayBde0o6e+AOkdfsN28DA8WZnDsx+d5TpMNMR9uD8muxAiqbRl3vGK1KbMR dVqYtPckmZad/rzSqNT2T5r0Y7dp18r2rxnD6Lv+/8dR0Xg/iiHkNHoCoACfq47nfwwv giyg== 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=NbI9YC4DXS8pP98pclydp8H5GArZ+B3FbUQc6S4IogU=; b=QrfharvGo+XhTEB5DzweKaVMGcTH8YYO1MKBJtqsEP0tXUJWVQYi6oaDhYVWUjXYZu jQ9sXNEsCrLLGvSVlpiF/zU9arJOKTfYIQdtes5Quq3/xQ2UXKizA9PmNbxcvKaWQrdg QLsGC0dEq4LUFex+BqcJ8Q1e6R6InNnhdB7i0W8XPJemLqtlQCoGZI+7ExiHoTo3Nwqq /YEeyMbs/DAA+Vpp2DYri7IaRzTdoMzpMniso1S3bXvYRU6XKyKGc9Q48PMJA/AvHS/j sbubOYg+i4oOSHN0TJl8v9rJbe8lOg4khjD/ymKS1wDUqGzwqkPwkuZQv/Cv9OgRnKXg YYWg== X-Gm-Message-State: AOAM530OgaA9p7UxOdilRWF28bZ3okoLgVvqN30EkFoaC6N7w+eqNRUP RmHpnEic6fIlO306LjQaoEYrcOV6H+VeLow+ X-Received: by 2002:a7b:c00b:: with SMTP id c11mr23291836wmb.175.1606130365809; Mon, 23 Nov 2020 03:19:25 -0800 (PST) Received: from dell.default ([91.110.221.218]) by smtp.gmail.com with ESMTPSA id n9sm16317290wmd.4.2020.11.23.03.19.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Nov 2020 03:19:25 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 02/40] drm/amd/amdgpu/amdgpu_ttm: Add description for 'page_flags' Date: Mon, 23 Nov 2020 11:18:41 +0000 Message-Id: <20201123111919.233376-3-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, Jerome Glisse , 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/amdgpu_ttm.c:1214: warning: Function parameter or member 'page_flags' not described in 'amdgpu_ttm_tt_create' 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_ttm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c index 5fcdd67e5a913..debbcef961dd5 100644 --- a/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c +++ b/drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c @@ -1199,6 +1199,7 @@ static void amdgpu_ttm_backend_destroy(struct ttm_bo_device *bdev, * amdgpu_ttm_tt_create - Create a ttm_tt object for a given BO * * @bo: The buffer object to create a GTT ttm_tt object around + * @page_flags: Page flags to be added to the ttm_tt object * * Called by ttm_tt_create(). */