From patchwork Wed Jan 13 08:07:25 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 362037 Delivered-To: patch@linaro.org Received: by 2002:a02:ccad:0:0:0:0:0 with SMTP id t13csp296684jap; Wed, 13 Jan 2021 00:08:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJxkcNyW9MTy4TFqHIugZRS1bjX4e38i/QM1/0XLVtgLZtb5HKeMU33QIEvrbE9f3GQk5Nko X-Received: by 2002:a17:90b:24c:: with SMTP id fz12mr1050660pjb.138.1610525289870; Wed, 13 Jan 2021 00:08:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610525289; cv=none; d=google.com; s=arc-20160816; b=P9HlFMbwff/Y/AbdjPxPDCITQy+Ja1sPXeyJTH1KdAMPpnfGtMG2D2CNB8Grpze+pL MAXsf43M5i28NVfqO9E42kMx2ndUTTZI/3wIu3NK7M76uOgajwQS1cbWjttqVDpPdJkP ZmXwjh5mMDXav9wUGf5lMi8FNy6h4sgUne9lBJNuq17llXlFIeWSTuiSCFEr31Yc2u/c 9azE4mhIVgUpNRo5LSVAEGeD33Y04Nf7u07jpElh+j7SXPAbOVe3cDOhW2Y9S5HTj+Sw y2RarluFK0qCicIz351bf/5TRmwjzTrAGPpHF2yJvbhYx9dc4fBMeGaahG2MKUIFFlxU A8lQ== 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=2ZI840H7OfD0KkYpCie5mIBEiG+tD2KI8sfUeqY09gs=; b=yfBWVoajoJVbSrycNVQIa66ZvqAlTYyPrenjjdvirpqJjmg+2rwoTsovlyTIIgP3e/ 0B88wp0AjFL1p4MDSXVCpBuuAO5Py64YYyWhcqi+RSkwkH4fLAT0XyTB5RyFTFYDWxyF pQlgICWMWozcKRG8rPM6dH4w5HIXzi7xh6wY4xC4VxoMQ/xeeIH9dOpha4vY9aDBBNdr 3XxALwnC2royrcJ+7cE/L5qSuGcRfWtwTHJ+ie5E04fBATk42UNZHfWy/cJEO5+yTFgX LWAmf56iGKY7l3aKfbVuCNuxYWlQVJYSb5RGOdbpJ1Pza2HfbcFEeCJFTO1ZQDy/Rd0s 3wrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=a2yKsTYG; 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 h9si1577236pjm.74.2021.01.13.00.08.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:08:09 -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=a2yKsTYG; 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 319A789F2E; Wed, 13 Jan 2021 08:08:03 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mail-wr1-x429.google.com (mail-wr1-x429.google.com [IPv6:2a00:1450:4864:20::429]) by gabe.freedesktop.org (Postfix) with ESMTPS id 28B4D89F0A for ; Wed, 13 Jan 2021 08:08:01 +0000 (UTC) Received: by mail-wr1-x429.google.com with SMTP id q18so1084446wrn.1 for ; Wed, 13 Jan 2021 00:08:01 -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=gaeomoLKGJGFe9Jgp55uGAQ2Av3znwR4r6zsWFi8gnM=; b=a2yKsTYGdiUbLd2mWkidqDrvPlvZZ5FXmHZVOI/ZJt+qlTpDD0GPY4yO5CwlZ8HtQX 0JP8bJnuDFhtIZX1D0dj9X0+M3/awU24gnWGEjvC+gnwrJdEgynvD5CPVCSHFPUtDrip gxbZ2yJ5xi/21obPp3WmjV+icfhym+bWGkbTX3nGf0YR/R1p/d4zP+hlk9ec8bHrgu/D IShsSLZkxsSIiirqu+vWB0t93ZDvQnGHPhgHHSUVLjbHqGz4HETSbmmvS9WX+nlcexj0 WK/8uAY6iaR7JanaWIV2IJWncfRb0NRgC7UzcN6HSNHQ9IkLkQITeLeiOv658ORyBAbH nEkg== 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=gaeomoLKGJGFe9Jgp55uGAQ2Av3znwR4r6zsWFi8gnM=; b=ItlZPirgRnCsxuiWe0RsItmIwQll/DczLvl+Pid/RTcwDLUL72LFcDzwH42Xf69FyM 5DP7cBkmzs5bvbLzw0tHUWUTt1I4OYlPSHdd0Hl5dH/1xoFekwdG3jDzwsfqXrGKKw1o /RVjZlbpUUYl1ze/dYhuGFGIQvf6VXGwGkAhA/GxuxLzNlOSc6UuBKwinIDd5VPvRNzD qGPgW7uNwsaXMc8O5ysVthHRyncrInVpeADbuehJ1iV0MmOQAVAMYxyYDQ8u7tMXDjrR k+yi6e1rKHYvUAdv9kZL+as5Ph01Cz0dlpjIvKhXwJNNrGY8pg63lttTedzWIEb9Vyxd rQLQ== X-Gm-Message-State: AOAM5322seH30POPg5O8xsT4JkrP08k9siK8sWceppZLQ5aHpDectwps FlvKbeFXuudCvxf0xGVuIw+PRw== X-Received: by 2002:a5d:4683:: with SMTP id u3mr1203353wrq.19.1610525279883; Wed, 13 Jan 2021 00:07:59 -0800 (PST) Received: from dell.default ([91.110.221.229]) by smtp.gmail.com with ESMTPSA id r20sm1642486wmh.15.2021.01.13.00.07.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 00:07:59 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org Subject: [PATCH 03/30] drm/amd/display/dmub/src/dmub_dcn30: Include our own header containing prototypes Date: Wed, 13 Jan 2021 08:07:25 +0000 Message-Id: <20210113080752.1003793-4-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: Leo Li , Bhawanpreet Lakha , 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/dmub/src/dmub_dcn30.c:83:6: warning: no previous prototype for ‘dmub_dcn30_backdoor_load’ [-Wmissing-prototypes] drivers/gpu/drm/amd/amdgpu/../display/dmub/src/dmub_dcn30.c:118:6: warning: no previous prototype for ‘dmub_dcn30_setup_windows’ [-Wmissing-prototypes] Cc: Harry Wentland Cc: Leo Li Cc: Alex Deucher Cc: "Christian König" Cc: David Airlie Cc: Daniel Vetter Cc: Bhawanpreet Lakha Cc: amd-gfx@lists.freedesktop.org Cc: dri-devel@lists.freedesktop.org Signed-off-by: Lee Jones --- drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c b/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c index f00df02ded81b..7e6f4dbabe45b 100644 --- a/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c +++ b/drivers/gpu/drm/amd/display/dmub/src/dmub_dcn30.c @@ -26,6 +26,7 @@ #include "../dmub_srv.h" #include "dmub_reg.h" #include "dmub_dcn20.h" +#include "dmub_dcn30.h" #include "sienna_cichlid_ip_offset.h" #include "dcn/dcn_3_0_0_offset.h"