From patchwork Mon Jun 17 12:38:55 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 10999133 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 6AB141395 for ; Mon, 17 Jun 2019 12:44:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5C1B4288E8 for ; Mon, 17 Jun 2019 12:44:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 5062D28683; Mon, 17 Jun 2019 12:44:37 +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 02185286B8 for ; Mon, 17 Jun 2019 12:44:36 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 96D4C89173; Mon, 17 Jun 2019 12:44:34 +0000 (UTC) X-Original-To: dri-devel@lists.freedesktop.org Delivered-To: dri-devel@lists.freedesktop.org X-Greylist: delayed 308 seconds by postgrey-1.36 at gabe; Mon, 17 Jun 2019 12:44:33 UTC Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) by gabe.freedesktop.org (Postfix) with ESMTPS id 5043089173; Mon, 17 Jun 2019 12:44:33 +0000 (UTC) Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1MkpOZ-1iL19m1NHz-00mJjL; Mon, 17 Jun 2019 14:39:17 +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: include missing linux/delay.h Date: Mon, 17 Jun 2019 14:38:55 +0200 Message-Id: <20190617123915.926526-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:r3X+Mcq4GDZ3qYDRz2Ihhnt91TQ2U5GxOpABsFsYrkC/K9q9h5n iCNKaLTm4verJxBR2gbf1xeYHX3t8DdWTTAtUV2POtlSaUwtwRKQpa/71TAsiTm5UPIGKjd J+/kRqcTWmqyST8H4wUAR9xdOfp8NF8rU2uoLqYwzwxpz1WNbRaP7oI+RNniNHlcacXAddZ P3NzvMWZ/HEnTZr5TlA8Q== X-UI-Out-Filterresults: notjunk:1;V03:K0:aCybWkgEqPQ=:i11s37kAfNwE6L7M7mRbJh Q1HJ6Ksz6qlQpwAbEZ1z6npc0GxYuacpyqGKxLf8VQHF6qWSsApmrnnIjoVWnG1y4E/PwJ+Hv iGK3My2CqWRJTwUSWqVnX951iuCpaBybDM9u4Zij4ksd7VsqBxw5ALZ4CG90M2eTKJzV8dGi1 14cFZGue7vkeq3/cLNNUKARp3r04wjV8IM5CPG0KGLuFT6ImE03nbTzRg3pYn2TpjiUEVuX6k TuXLBOiuDPZYafb9sDC26mk1PbaZwwTnkppgws7RaPg5rc62MZEBD+tDBnX8aJmdZgu/2ZSV6 D54F5K7DQCsg6zJvEriA7eZ7Xcv37AwLwwodepzk4s8sBWVU37phiDu8lx30VxZM0sLTCIkBQ /G0nbjM7vSM38jUNmu9VF0aQtU3bqtLsM3fCoHIjfMGljje1WT9SSFsr8AeQyiGaHzikWv0Bp +njTpf5kGgIofxdHDFWZKeP/w9IVA7suHczxldUvyo5hkUzran1Rmu589OHhEXRzBumxwRT9U y21/POODmQqdajwmv9uC//WQVBTHrDGiS6FTEgPaKfaFmfb2ROWGF9BFUvxFcxedzxspzL/V3 jmKmlOU7FyHc6CtdIW41S0NXSePGbUGmhD4eg1ah3mzEE5xgck4gnkiVlb6hS/uK860oLOsyh w5LVYtN+KuT1fJ2k5U9ztXjPFRac3VNoCuS7Z6kPfqoIzaKySOkEqt5HhIm2ILwbr78Lbd1TY SFMFaSiZg3/3zcka7MOsIOYDs98iolI4p9EUAg== 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: Thomas Lim , Eric Yang , Arnd Bergmann , Charlene Liu , Bhawanpreet Lakha , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, Dmytro Laktyushkin , dri-devel@lists.freedesktop.org, Tony Cheng , Anthony Koo Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" X-Virus-Scanned: ClamAV using ClamSMTP Some randconfig builds fail to compile the dcn10 code because of a missing declaration: drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c: In function 'dcn10_apply_ctx_for_surface': drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:2378:3: error: implicit declaration of function 'udelay' [-Werror=implicit-function-declaration] Include the appropriate kernel header. Fixes: 9ed43ef84d9d ("drm/amd/display: Add Underflow Asserts to dc") Signed-off-by: Arnd Bergmann --- drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c index 1ac9a4f03990..d87ddc7de9c6 100644 --- a/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c +++ b/drivers/gpu/drm/amd/display/dc/dcn10/dcn10_hw_sequencer.c @@ -22,6 +22,7 @@ * Authors: AMD * */ +#include #include #include "dm_services.h"