Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp3127871pxb; Mon, 18 Apr 2022 16:42:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyRB+gZP9872NC0JreUY7SF3MrIOhU1wGf/1Gq5qNMzIgIqYaMi8ONrImjkQjXc7Rp7mSPO X-Received: by 2002:a17:907:8a14:b0:6e8:9691:62f7 with SMTP id sc20-20020a1709078a1400b006e8969162f7mr11258181ejc.497.1650325364573; Mon, 18 Apr 2022 16:42:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1650325364; cv=none; d=google.com; s=arc-20160816; b=SpOomH1Rzn/S3DACl0Sy2iXIsx6f8LgKqP1EFODa6Dobt1m+guO9DXIw84EOrdLEvX IFwaCdEIwFnVqMXTHIA3/Qc+kUrkodYpPA9awoKLPFlSwM5m0et2BmsL0dX5Rp0A0zew 6byU/EJONsv5CAsSHrRCIfUu1ETWFIrgMjftDJz+HUr31Y5tzSPgMMXPfRwaya9qRoQl 7bxSaZP5uOpm+PmdblyrnTuKGcQ6cgEjGIPd2081H64eY0RzZm2G03o4OafWUyl0gJU3 PThuz98IInmaYeiULXADY/1Y+KmhxrxOhbsaq+UJNQ3hMX9IbFAL7HibQBvtgB0+PuW7 YvCA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=xoFC0RlqU29MoZ59ErURITWrPmQFVCqFinpLIIkANfM=; b=AdCRat3DgRP3gcXVc0qCR/2PQazVEJ84deuozKwueZceJd7tHSwtY6S83O/mfLjsgy QSQRTuveWIGuQuiXcTrfHu2qUB+T6vwdt3yHX1PLsHuMmTLdqEyvBDU2nZZNNkqlUvz+ XcBElKPPCKVOggbJB/9lSNj+JyduonBbD/rjVIg0YlQRAtdmsK3KLHAfaWOmuwgOkgPd pUJUgmfCaK/H8rtJgDXPhnagUy0yXp39dBNsBg+aykdEJAF7WL5teVbsBnfMRfHP1fhu 0aS8a059qTdYnAqi6HuIcMD37F0Zdo0ueO7fOJJfMMEo214VmRvcPaVb6AeBfP7R+khf PPMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZPvRrnku; 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=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w9-20020a170907270900b006e66edfcccesi6530076ejk.756.2022.04.18.16.42.20; Mon, 18 Apr 2022 16:42:44 -0700 (PDT) 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=@redhat.com header.s=mimecast20190719 header.b=ZPvRrnku; 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=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347779AbiDRTvT (ORCPT + 99 others); Mon, 18 Apr 2022 15:51:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40896 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347775AbiDRTvS (ORCPT ); Mon, 18 Apr 2022 15:51:18 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id BE90D2980B for ; Mon, 18 Apr 2022 12:48:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1650311317; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=xoFC0RlqU29MoZ59ErURITWrPmQFVCqFinpLIIkANfM=; b=ZPvRrnku4f0U2CY0q5pWSUFRJhqj7t4yTAlgFrjrjlL1O+H84gOU7vWpo2i97aQ6o+9W89 8s5rIeRPS25/W93B0FmfCP/PBg4uETwczDf85D/v5s8zJN2OEM8QvVGqGQW6Uqz4JyyAdY veNgEdhXtoHiysmOC0ZaJe4r5nWOnRk= Received: from mail-qv1-f70.google.com (mail-qv1-f70.google.com [209.85.219.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-494-Ozmn7qqJNAiNT6eetvEwPw-1; Mon, 18 Apr 2022 15:48:36 -0400 X-MC-Unique: Ozmn7qqJNAiNT6eetvEwPw-1 Received: by mail-qv1-f70.google.com with SMTP id fw9-20020a056214238900b0043522aa5b81so12830125qvb.21 for ; Mon, 18 Apr 2022 12:48:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=xoFC0RlqU29MoZ59ErURITWrPmQFVCqFinpLIIkANfM=; b=inJyhEbXnrP+Odc43fGcWZKo5Qb3dvlDg9QNvK3vIweqaIw5tCcAbgCOJNHxOzDIZd pYNDOpAV7os3cF8LFkFEm2ib8D9rLR5TsKJ97UR9Vz/4AItc2IPd1STVCmBxv3tPtFpB Wu5zAmzQQVUSu2xDIArVW6cqZ5pdTFebeOdn1O0tPQ1e/qr031XHWpJX07AELYRPRHRu 3IAfI/ahqyweL/0+6/+xQdA8omuJMCAMyo4Bo9YNscM+aAiGfSHP05Rj7vzQgt58mU/e CYF9lFgYlgdYIQM9gsE5t5H0qlRT2PKELzTM7IDH2qqsrG53oViKEGrHREUFnBrnai63 QKKA== X-Gm-Message-State: AOAM530hdx/a8xVYguDFy749+ijirKe/AtZMCvME33umGV1EO/qJMi1E Wx5GsJMY+nGDiKnjhBERfHuPJ6udn7PbsXrm6NX65AdtxoU5jJUbicUGNjs3XIQOsFc8G/u6xAu wRnt4uFwAFOZYnWYh5UxZ0mbK X-Received: by 2002:a37:5502:0:b0:67e:a143:80da with SMTP id j2-20020a375502000000b0067ea14380damr7634837qkb.329.1650311315542; Mon, 18 Apr 2022 12:48:35 -0700 (PDT) X-Received: by 2002:a37:5502:0:b0:67e:a143:80da with SMTP id j2-20020a375502000000b0067ea14380damr7634826qkb.329.1650311315300; Mon, 18 Apr 2022 12:48:35 -0700 (PDT) Received: from dell-per740-01.7a2m.lab.eng.bos.redhat.com (nat-pool-bos-t.redhat.com. [66.187.233.206]) by smtp.gmail.com with ESMTPSA id 3-20020ac85903000000b002ee83037459sm8393773qty.42.2022.04.18.12.48.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 18 Apr 2022 12:48:34 -0700 (PDT) From: Tom Rix To: harry.wentland@amd.com, sunpeng.li@amd.com, Rodrigo.Siqueira@amd.com, alexander.deucher@amd.com, christian.koenig@amd.com, Xinhui.Pan@amd.com, airlied@linux.ie, daniel@ffwll.ch, stylon.wang@amd.com, Jun.Lei@amd.com, wenjing.liu@amd.com Cc: amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, Tom Rix Subject: [PATCH] drm/amd/display: add virtual_setup_stream_attribute decl to header Date: Mon, 18 Apr 2022 15:48:30 -0400 Message-Id: <20220418194830.3266024-1-trix@redhat.com> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, 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 Smatch reports this issue virtual_link_hwss.c:32:6: warning: symbol 'virtual_setup_stream_attribute' was not declared. Should it be static? virtual_setup_stream_attribute is only used in virtual_link_hwss.c, but the other functions in the file are declared in the header file and used elsewhere. For consistency, add the virtual_setup_stream_attribute decl to virtual_link_hwss.h. Signed-off-by: Tom Rix --- drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.h | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.h b/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.h index e6bcb4bb0f3a..fbcbc5afb47d 100644 --- a/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.h +++ b/drivers/gpu/drm/amd/display/dc/virtual/virtual_link_hwss.h @@ -28,6 +28,7 @@ #include "core_types.h" void virtual_setup_stream_encoder(struct pipe_ctx *pipe_ctx); +void virtual_setup_stream_attribute(struct pipe_ctx *pipe_ctx); void virtual_reset_stream_encoder(struct pipe_ctx *pipe_ctx); const struct link_hwss *get_virtual_link_hwss(void); -- 2.27.0