From patchwork Mon Jul 8 13:53:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11035155 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0394D14E5 for ; Mon, 8 Jul 2019 13:53:40 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E544E20602 for ; Mon, 8 Jul 2019 13:53:39 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id D776428329; Mon, 8 Jul 2019 13:53:39 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 90C8020602 for ; Mon, 8 Jul 2019 13:53:39 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id BB30E89CB8; Mon, 8 Jul 2019 13:53:38 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) by gabe.freedesktop.org (Postfix) with ESMTPS id AD81D89D56; Mon, 8 Jul 2019 13:53:36 +0000 (UTC) Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1MUTxo-1htFVa4BHs-00QViS; Mon, 08 Jul 2019 15:53:31 +0200 From: Arnd Bergmann To: Harry Wentland , Leo Li , Alex Deucher , =?utf-8?q?Christian_K=C3=B6nig?= , "David (ChunMing) Zhou" , David Airlie , Daniel Vetter Subject: [PATCH] drm/amd/display: dcn20: include linux/delay.h Date: Mon, 8 Jul 2019 15:53:18 +0200 Message-Id: <20190708135329.694852-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:3AQbgHoIbkOa32VoDk5bLzC+5QlQ4gP5p6DVn/CsMDmYXi/m3vL 3BU/ivzqXjNLdw6xN1FFBUQ+tuVhp1PKBGcs7RmcqllpBPfmKkAvq6E4wGu54wTkaoM/dVH dlHE8H/kl1J+q3cngDKcctqTKQVCcr/8GT+crkUtFmxFRKK25L7Yw5J/I4mKE7HpHXlTWMH LUFe1p4fz8TwIpDYFPPNA== X-UI-Out-Filterresults: notjunk:1;V03:K0:P81gE92WStQ=:bH84Tou9LSbpmtFO553fOz A6Dgyr8tJZi6gj5u5tpt6WsU8m6Kx+STtblR6JYxgDbz3zHGangCly7WJ7Nxu+EWPt6Ho9als m9dL2tSwqpFpiPmeQbZ9+gMfOGnX6eNsgqqERayPBvI7GUmnf2gPrgXW7MguC3PHR/VpmNYUp MXEPbPB1B2HaZnjR5iIjKFzPnTAYl3KeANI3jfxMf1PpT4mNvLhPHS46qGSrUynA7/HoHBUO+ IKpqEAVla65evxD9bAp+UkYWOHTFfzUdaC6MKYLbDPTGhXd5/t+l/wlWmBZOj6RxWkymgo+S+ gMyktF0RDqB9WhF9IDSqSZHpRxXu1GNHtqghwAP9iuKLFhdeC3Md4DcbCDKWq3zg8Rt2nuUHI GcMvOJdh6zcX4gpwI+FvA3qL2HxsPsrEkhS76K/xV7R+GLlCSPSvYMvSXko8tOOParDcfpF4D FRhofMcLBx7SaGSmkYIv2mqHehRhioD4BwbxIbXgArV5c7FVZdTwnxX+LJDz7kqxx0Mo2l3TI cJ4mGVXKoP0D4NDgjpAdKsgNNFyy9bbs2KsGhpsWwbL1FCUv6iNZkNCBC8kCmeRaq4EoKMUEG kWfhC3IlOvRtTS7LCw6p3j4GOxk/lYPCjOqiZhbJPnrqCLxZzqDNqZoEUUQpGbuBkxUUFuks/ nBK1zS+4/NBZL+KkLATpuci0ibacgIHbiyu+DsIQb8XCHnF1e7WxwwpoIrdQ5cf/9u206wdk9 KhS8BeTojgu5lfDZNMYvu5xWcVTN7mDYE3DfBQ== X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Joshua Aberback , Arnd Bergmann , Bhawanpreet Lakha , Wenjing Liu , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Dmytro Laktyushkin , dri-devel@lists.freedesktop.org, Tony Cheng Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Without this header, we get a compiler error in some configurations: .../dc/dcn20/dcn20_hwseq.c: In function 'dcn20_hwss_wait_for_blank_complete': .../dc/dcn20/dcn20_hwseq.c:1493:3: error: implicit declaration of function 'udelay' [-Werror=implicit-function-declaration] Note: the use of udelay itself may be problematic, as can occupy the CPU for 200ms in a busy-loop here. Fixes: 7ed4e6352c16 ("drm/amd/display: Add DCN2 HW Sequencer and Resource") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c index 4b0d8b9f61da..6925d25d2457 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c +++ b/drivers/gpu/drm/amd/display/dc/dcn20/dcn20_hwseq.c @@ -22,6 +22,7 @@ * Authors: AMD * */ +#include #include "dm_services.h" #include "dm_helpers.h"