Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7100766ybi; Thu, 13 Jun 2019 09:33:26 -0700 (PDT) X-Google-Smtp-Source: APXvYqz/g8QBRYS6BXs4raPwtxlZTje+UqMB9OiDqcWN74a+/wfNb9CgdP4UokyS9rM03XuGPt9z X-Received: by 2002:a17:902:b495:: with SMTP id y21mr87569540plr.243.1560443606819; Thu, 13 Jun 2019 09:33:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560443606; cv=none; d=google.com; s=arc-20160816; b=lyKARx5Z+vQTdG6Qulsfr55S+61Tz19Nc9ciiCY88oclZpoeBwSF9xDGtqgFkLfQ58 O3LKZPJ5LLMuubVhtOX4y31984u5H/UQg43AwtC3ruKPT3aHkK7pie9mb47DHuxHK1ls 7rzftQW+NiR7MAOtGY2XkoGOFezsN+5r1HL98bczE/6K41PrG+UKcDhQmfOYSN/1Ja4B SMyeBbPaMI09WTa0H22VwC/0OGLOltA0lEjhzXrcpUgHjyWCPcBncLEO/zTR8VDq5n5f i2rdr7gwwki0Tgn0hjBsZyitakoFC/d2GgHcDec0xEvA11JfGRKQ+3Y8F+JMZKxm52FA Xwmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:mail-followup-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Bn9xqnDM/Ok90ZnjEVBJg4kKO4htMBt6EOE/1PNGbnY=; b=FZVSznVApEC1p0X0OsXAeAPeJYWtv2tP6LM4kcBGCSfQzpAIbq7b4ows+BKAWxHY50 zXwtaRGpDVUnZ8ursqQUrKdWj+h7ez0+294vefNrlt3cr8v1gPyVY059ZEA7/wXUtbiK jZ+WhXttPaP5FAv2P8gvAciJeYO2UgQi5/jtYTAsmJ1/akvY/QBZ1BbS/C24W17tclXs TVlwEKFTmUdMsOYMuYy/jL8G+gz5dphxqiqXk7XxZkTlI4F6ZGPTbkiQmy8TdxjOm9RC dZEcjMLr9LyOKM3Q/M/QxY7Dms5rc4tu7wSARmejwbLb7wBd1zb20j1iKTfzo53Q57m3 8OWg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=Tx4JYWhF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y10si80517pjr.21.2019.06.13.09.33.11; Thu, 13 Jun 2019 09:33:26 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@ffwll.ch header.s=google header.b=Tx4JYWhF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392503AbfFMQbd (ORCPT + 99 others); Thu, 13 Jun 2019 12:31:33 -0400 Received: from mail-ed1-f65.google.com ([209.85.208.65]:43772 "EHLO mail-ed1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730869AbfFMIXw (ORCPT ); Thu, 13 Jun 2019 04:23:52 -0400 Received: by mail-ed1-f65.google.com with SMTP id w33so29929692edb.10 for ; Thu, 13 Jun 2019 01:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=sender:date:from:to:cc:subject:message-id:mail-followup-to :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=Bn9xqnDM/Ok90ZnjEVBJg4kKO4htMBt6EOE/1PNGbnY=; b=Tx4JYWhFEQ4paC9UQ1Ati/km78v81wLDRhSY/EalqBBnEClwSXCW9SqfMkR5Vrt97P asT6jG34nVFATlS4QY9GC03yFsuX84G1WiY/34dLIHU4OzW53IBMnx5nM3J8Q9aRFyxv ibza93j6ghZQ06OAwkUKXmZmbeAEPcVcyZX8Q= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=Bn9xqnDM/Ok90ZnjEVBJg4kKO4htMBt6EOE/1PNGbnY=; b=afdc4XOHoBDgBOmKSJR7+KmjEzkgCIkT5Fk5VSpcLipITbkUK5N6tVEFgyauaTTPUZ K8OGLNuomc0Zv6tC9sRJpLp7dOZcsmln3Evfga+f9OHw9bqaNXe9+EJOnkDDlNzDESG7 h4nmnuBsDQLUbrzRkUgJxBjbfnDVk3rtxqF7dISTv5b3X0JEut1RHkYj+iD+ftxYNcMk xSN1IOOXK98wTN+ysyPGqfTv9jTyw0cN9MAoZtI043mc1jMDvAEhB6kNuaI+Wmyhp0Tq nwT95dZxmU609A5Vi1Djo/WlX2vntWEwYdVetGdPjoRc/ue9kiEHHwnGyr5IdW3fntT+ AA6g== X-Gm-Message-State: APjAAAVqVDTFtqAAILU2KmUvsO6cgPZlblLqpZIxoQMSKx1z2kkK/Jxt m9Wn0oYph52mKTB487i4BPBtlA== X-Received: by 2002:a50:d1d8:: with SMTP id i24mr87310538edg.57.1560414230421; Thu, 13 Jun 2019 01:23:50 -0700 (PDT) Received: from phenom.ffwll.local ([2a02:168:569e:0:3106:d637:d723:e855]) by smtp.gmail.com with ESMTPSA id a3sm669461edr.48.2019.06.13.01.23.48 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Thu, 13 Jun 2019 01:23:49 -0700 (PDT) Date: Thu, 13 Jun 2019 10:23:46 +0200 From: Daniel Vetter To: Hariprasad Kelam Cc: Alex Deucher , Harry Wentland , Leo Li , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , "David (ChunMing) Zhou" , David Airlie , Daniel Vetter , Dmytro Laktyushkin , Bhawanpreet Lakha , Tony Cheng , Anthony Koo , Charlene Liu , Nicholas Kazlauskas , Yongqiang Sun , Gloria Li , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] drm/amd/display: fix compilation error Message-ID: <20190613082346.GH23020@phenom.ffwll.local> Mail-Followup-To: Hariprasad Kelam , Alex Deucher , Harry Wentland , Leo Li , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , "David (ChunMing) Zhou" , David Airlie , Dmytro Laktyushkin , Bhawanpreet Lakha , Tony Cheng , Anthony Koo , Charlene Liu , Nicholas Kazlauskas , Yongqiang Sun , Gloria Li , amd-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org References: <20190613023208.GA29690@hari-Inspiron-1545> <20190613024854.GA25104@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20190613024854.GA25104@hari-Inspiron-1545> X-Operating-System: Linux phenom 4.19.0-5-amd64 User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 13, 2019 at 08:18:54AM +0530, Hariprasad Kelam wrote: > On Wed, Jun 12, 2019 at 10:35:26PM -0400, Alex Deucher wrote: > > On Wed, Jun 12, 2019 at 10:34 PM Hariprasad Kelam > > wrote: > > > > > > this patch fixes below compilation error > > > > > > 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] > > > udelay(underflow_check_delay_us); > > > > > > Signed-off-by: Hariprasad Kelam > > > > What branch is this patch based on? > > > > Alex > > Hi Alex, > > It is on linux-next drm-misc-next has Sam's header cleanup. I guess we pull linux/delay.h in implicitly somewhere, but not for all configs. -Daniel > > Thanks, > Hariprasad k > > > --- > > > 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 d2352949..1ac9a4f 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 > > > @@ -23,6 +23,7 @@ > > > * > > > */ > > > > > > +#include > > > #include "dm_services.h" > > > #include "core_types.h" > > > #include "resource.h" > > > -- > > > 2.7.4 > > > > > > _______________________________________________ > > > amd-gfx mailing list > > > amd-gfx@lists.freedesktop.org > > > https://lists.freedesktop.org/mailman/listinfo/amd-gfx -- Daniel Vetter Software Engineer, Intel Corporation http://blog.ffwll.ch