From patchwork Wed Jan 13 08:07:23 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362035 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296615jap; Wed, 13 Jan 2021 00:08:04 -0800 (PST) X-Google-Smtp-Source: ABdhPJwNsC1qjY/VnABaEleF91COyjnShX6tpWlEGd7TM4g857jal4kxRq++1VW+qiFgx6Roe1FW X-Received: by 2002:a17:90a:4b07:: with SMTP id g7mr1057828pjh.0.1610525284074; Wed, 13 Jan 2021 00:08:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525284; cv=none; d=google.com; s=arc-20160816; b=K0goQwxpeJzn/shqwwaPfxVWji19MHY+M3zzIBY8OZ3POFK1QMHp9hrnvHf/4hiffV K3+GgeDLdhUG47eRmRtz1LkTXDz02tHMqU/j1v4pHnlwNNJDIRkiAAV3Y4ShtYv9A/8g fInYZm92Mfz1t1NKftnIiNbypMH3F/eM0babyYUPPzBbeu9XGwAU1xgORcbKeeEuzT9q ttY3tq5i3tl8y3jvE7gfy1R5E7renqmxtoRKfmYNiMcymQtLAv0WzneLm1TV/tQFfzc1 IE5iA9lVRsS8OVrkYuXyfwvAf0Iq8I8yH5tcICPHG36ieqkEZdXFKdJENajhXudoojNz MCXQ== 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=dLicg0epJX+kl/UVAqtpPbVYeW/BVcjm59sMxatdu3s=; b=y1JXj8+8Ew5aRyljxwDxLUm9TmNcMBJUs953bcC86lDobfYmIeyekamU00i7GrA+Mp UanrMG/IDmwzIq/gDyqtzmtLx/S5pkgBQkuaAtSEgNpapscwDB+E3AEHFdA7BWy42W3U TgaYiXz/R5/dUg66cxy0RWcvO0vSZT/u+4lhvHsSqTRAJ3Kp7OgItwRs5eqHxccQZNMB ncsGASGh5Kj9/8c2cxjxv5ea7701171Lf9JC4CubL7AMsdra8GpHxtludp2P+UBP0fZq KGs/7g+d54/gkJU3F8RfGyQITzYKHUnpwWmi3lEL0I8Cq8VKVgVbMBxWjJOd1CJJ3/6+ WQHw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=Ke29S0ck; 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 34si1717320pgw.580.2021.01.13.00.08.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:04 -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=Ke29S0ck; 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 7A38189EAE; Wed, 13 Jan 2021 08:07:59 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by gabe.freedesktop.org (Postfix) with ESMTPS id 455C589F0A for ; Wed, 13 Jan 2021 08:07:58 +0000 (UTC) Received: by mail-wm1-x335.google.com with SMTP id y23so716446wmi.1 for ; Wed, 13 Jan 2021 00:07:58 -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=3c09B7R1bDDRXGkxc3zYuL5FdMguU7F3ASarhgkkjYk=; b=Ke29S0ckRABZRt5qaiIctSaJXdhgxyEOAbb+lrGjHH1heF05KLBmidxzRCinjxGbsl yn+acgZowbs+SW5i8xy0YiLb6/vzQHz1FI/FFNsPWlSA8mciP787U5U+rWyGhaPAPTE6 W3Juay2xlCPWy4fQJdzS9QlgYba9pB5pLOJlc8Gc1cCokpty0a4RMuYjbAxzd97hpPbb w5UjdWee4uUdmxsy3ICv8xQFCrN9/9mVfpW8pqq38Lp6VYnmvx/eTyL6kdNRPiOad4mO NvbBx80+MSILnDc84d7iW0X1Shhj1GDMhSA5R11IISAKv2baeSscTtfgGU+6123gR2OX m56g== 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=3c09B7R1bDDRXGkxc3zYuL5FdMguU7F3ASarhgkkjYk=; b=Tp4+I1UoeQ6DBu/5Y8Pt3HxCUdOnKcEuxMPCJnim7YnxVKvkAt2/V7rZdaSXxtPF/R uwaSjOJPAGRwfOsH4FjsQMowInbyrKzVj2mokiMFKJzyQ01tsnZH+2eBq2MkDmZd7xuL IDQpuWBfeAC3Vcr+/BtFqjK6OuCy8pc1i+Ns4B1FbtfBXMQDhFvVmf+FJooAWUaZzm1e jcjvtF2WQM+yYSOulmQdLF6BnRre8DvxVtCa4dmsL9T+G2ouVGptd7pWZ8f8/uuAcu4G FqC6fA4PjtAOtSaq8wsnVlDvoJPueuEi0DEnWl85/yxZUskzFkPhbeFNX1T8UftLHOHH rWdw== X-Gm-Message-State: AOAM531Ul78WPZIfKcLfdOGhUFuoq/QGFvrYJZvFGBkySh5kqOjEuWBQ 8ancppH9IGf64kopCw3ZKK4e7Q== X-Received: by 2002:a05:600c:224b:: with SMTP id a11mr931054wmm.97.1610525276970; Wed, 13 Jan 2021 00:07:56 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.07.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:07:56 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 01/30] drm/amd/display/dc/dc_helper: Include our own header, containing prototypes Date: Wed, 13 Jan 2021 08:07:23 +0000 Message-Id: <20210113080752.1003793-2-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210113080752.1003793-1-lee.jones@linaro.org> References: <20210113080752.1003793-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: Noah Abradjian , Leo Li , Rodrigo Siqueira , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, David Airlie , dri-devel@lists.freedesktop.org, 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/../display/dc/dc_helper.c:299:10: warning: no previous prototype for ‘generic_reg_get’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:307:10: warning: no previous prototype for ‘generic_reg_get2’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:317:10: warning: no previous prototype for ‘generic_reg_get3’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:329:10: warning: no previous prototype for ‘generic_reg_get4’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:343:10: warning: no previous prototype for ‘generic_reg_get5’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:359:10: warning: no previous prototype for ‘generic_reg_get6’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:377:10: warning: no previous prototype for ‘generic_reg_get7’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:397:10: warning: no previous prototype for ‘generic_reg_get8’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:503:6: warning: no previous prototype for ‘generic_write_indirect_reg’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:511:10: warning: no previous prototype for ‘generic_read_indirect_reg’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:529:10: warning: no previous prototype for ‘generic_indirect_reg_get’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dc/dc_helper.c:560:10: warning: no previous prototype for ‘generic_indirect_reg_update_ex’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Noah Abradjian Cc: Rodrigo Siqueira Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dc/dc_helper.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/dc_helper.c b/drivers/gpu/drm/amd/display/dc/dc_helper.c index 57edb25fc3812..a612ba6dc3898 100644 --- a/drivers/gpu/drm/amd/display/dc/dc_helper.c +++ b/drivers/gpu/drm/amd/display/dc/dc_helper.c @@ -34,6 +34,7 @@ #include "dc.h" #include "dc_dmub_srv.h" +#include "reg_helper.h" static inline void submit_dmub_read_modify_write( struct dc_reg_helper_state *offload,