Received: by 2002:a05:6a10:9afc:0:0:0:0 with SMTP id t28csp28880pxm; Tue, 22 Feb 2022 15:50:32 -0800 (PST) X-Google-Smtp-Source: ABdhPJzWNUKuM0blDy/sMzvA961rFIPDzdtJUn0xSo3V0nd9IyLHZUN5hmYZR85QTzrOnQxrWcfA X-Received: by 2002:a05:6a00:2396:b0:4e1:22ef:3551 with SMTP id f22-20020a056a00239600b004e122ef3551mr27358136pfc.39.1645573832316; Tue, 22 Feb 2022 15:50:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1645573832; cv=none; d=google.com; s=arc-20160816; b=0dv0otzFbKo2/o/0FjabM3OgbHcj9Or8JNoC/5WcxQVWraTuoDPX3exZYFfXyQVH7c Us1WaG14qa6qy+OAdPffkKPZd6RNXdsxzOzR0C/Qyg+LsuXu9T5S2ytVNKux0qWjqLrd KTX9O9RVssP4MMbbZaNZ50G/dmKtgba93ebP85S/EhNPCFKsnOI7c7ctb4b50jmQSD1c 6DO6ZDDZkV9E6X2+Bqzjvv/dlm2rozHs55kTMJ/Ll6H4m+5czhTp3/WjcfrMi/4YzLKO FsV03d/M/Jv2sqhvbwQP5Ws87zBfcFh62ixkTukZ/e9RgVvWBKWpkK3ZlArgWhxHss2+ ECDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=YXHD+C0/B8yXZE8EfrgFtwcPwJgyLlmaD7cEYGEmRMM=; b=Ol9obhzvFC98kOmj+6LKImDZURrJ7nGsGwFQEsPf3Wqj/OyabZ7of+kILVCBUBfXIN 5s533zkIlXqvfieQYLuASGlAtTq08fz9hqWru16Po6rA2qrq4DehjQ4a7IUi1nF5S1Xu p60Hx/QLsM6iU4vthpUgSB6saCWzZKAQ3rgrBlNXM5fM7YkrQJZaVR/HoX6WcXBa2N/y dFLlmyHh3IAJxhbRXr98qFMm7sW7vPqQFEg3oVqilByht8qdsMsE/fiQuHpkiqiVy2Cc 2gMyfu0JTCg2k2KWSbAEenMNmxeosdSqdRL9BiILPmuB6Rn0SOhp3jB9u3XE8kuL5P+0 F5lQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fuBlPcCz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bf6si14146727pgb.31.2022.02.22.15.50.08; Tue, 22 Feb 2022 15:50:32 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=fuBlPcCz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233913AbiBVQln (ORCPT + 99 others); Tue, 22 Feb 2022 11:41:43 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44178 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232671AbiBVQll (ORCPT ); Tue, 22 Feb 2022 11:41:41 -0500 Received: from mail-oo1-xc30.google.com (mail-oo1-xc30.google.com [IPv6:2607:f8b0:4864:20::c30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFE2C168094 for ; Tue, 22 Feb 2022 08:41:15 -0800 (PST) Received: by mail-oo1-xc30.google.com with SMTP id r41-20020a4a966c000000b0031bf85a4124so18394595ooi.0 for ; Tue, 22 Feb 2022 08:41:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=YXHD+C0/B8yXZE8EfrgFtwcPwJgyLlmaD7cEYGEmRMM=; b=fuBlPcCzxrvT7+ShgM3+W3qsp2u2V09DJmwqNLjX5fLhy8dc8j6/w2JhloLbmKInG8 XNqQmB8Rp+vR7/XvSAScTjH/URtFM43zt8LOmtmew8O5k5Y6dhZ1Dp/ePsMeph62HmWB eurPiPNpYGp+qmwdrBhTqfwOCdl26C3gAd5+ayQ8HL6xO/tLZ/CNHzfatDwwpw8/if/d ZVkgN14V5KAxCaesOfAUhsGGP8cUDJHD/d979cQFm8yTuVxSXW5Cl7Jl0wov3NwNVOET YT2rO3Xdq+qTv1ItNrlgA7CYu/z48farfnqcgHkAIfwu0gYbGSRd98id1a3OtbiFR+Q0 EQQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=YXHD+C0/B8yXZE8EfrgFtwcPwJgyLlmaD7cEYGEmRMM=; b=0AGWU3q6yDG/ptJYUm+rJZcxZSvXIHGR+4NP4mA0Mx9VGT58ro5nCZLtRGsian3Dho g4PJYj13ea/rRu7E90UYILc+t/BKuVlQOPzGTmqTTcLwSNCQm+1M7IUhYSYDP4a9GHL6 eVssNLL/v8GvgsZTiAu7ntRuJLSPPEDGwyb5EIuVIcuQbtbpdGEAYJx1JspekN/68euR +tVH760f6WZlwZwY8g/F/Rs1mgF1oUupJsXdUgwynvSRlz4PDX9+hWbVaLzrT1M0InjY 68dpeqho8qA+410unz5Ayd9ZvVaooao0svRWc1m4bQupUhioxaLQedYwUDYdPSNFuK83 SmFA== X-Gm-Message-State: AOAM531LRZYKDV0b/ScT58aR2RjzNcpNSGqR3ZroVQX4PpNe+qq+IvS9 bE5eGjCyHefzy7MVqY247ZqEx35idRd2fPvFWvw= X-Received: by 2002:a05:6870:3e0d:b0:d3:fe6d:57c3 with SMTP id lk13-20020a0568703e0d00b000d3fe6d57c3mr2042169oab.225.1645548075325; Tue, 22 Feb 2022 08:41:15 -0800 (PST) MIME-Version: 1.0 References: <20220222131701.356117-1-maira.canal@usp.br> <20220222131701.356117-10-maira.canal@usp.br> In-Reply-To: <20220222131701.356117-10-maira.canal@usp.br> From: Alex Deucher Date: Tue, 22 Feb 2022 11:41:04 -0500 Message-ID: Subject: Re: [PATCH 09/10] drm/amd/display: Add missing prototypes to dcn201_init To: =?UTF-8?B?TWHDrXJhIENhbmFs?= Cc: "Deucher, Alexander" , Christian Koenig , xinhui pan , Hawking Zhang , John Clements , Tao Zhou , "Chai, Thomas" , "Tuikov, Luben" , "Stanley.Yang" , Dennis Li , "Joshi, Mukul" , "Wentland, Harry" , "Leo (Sunpeng) Li" , "Siqueira, Rodrigo" , Anthony Koo , Magali Lemes , LKML , Maling list - DRI developers , mwen@igalia.com, amd-gfx list , Isabella Basso Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! On Tue, Feb 22, 2022 at 8:18 AM Ma=C3=ADra Canal wrote= : > > Include the header with the prototype to silence the following clang > warning: > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn201/dcn201_init.c:127:6: > warning: no previous prototype for function 'dcn201_hw_sequencer_construc= t' > [-Wmissing-prototypes] > void dcn201_hw_sequencer_construct(struct dc *dc) > ^ > > Signed-off-by: Ma=C3=ADra Canal > --- > drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c b/driver= s/gpu/drm/amd/display/dc/dcn201/dcn201_init.c > index f1f89f93603f..1826dd7f3da1 100644 > --- a/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c > +++ b/drivers/gpu/drm/amd/display/dc/dcn201/dcn201_init.c > @@ -27,6 +27,7 @@ > #include "dcn10/dcn10_hw_sequencer.h" > #include "dcn20/dcn20_hwseq.h" > #include "dcn201_hwseq.h" > +#include "dcn201_init.h" > > static const struct hw_sequencer_funcs dcn201_funcs =3D { > .program_gamut_remap =3D dcn10_program_gamut_remap, > -- > 2.35.1 >