Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp65488ybi; Thu, 13 Jun 2019 11:43:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqzq+lC0W+NZwi3WgKoTyt+uKuSq1G8Oi9nxgrWsMTcwEYXXpC1zIk8VGHd0Y+BpQLOyC+U3 X-Received: by 2002:a63:b1d:: with SMTP id 29mr31952868pgl.103.1560451383295; Thu, 13 Jun 2019 11:43:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560451383; cv=none; d=google.com; s=arc-20160816; b=NYCzqeqy74fUjvKuVsq9Uqxkn36w1qzt1B0h8omw1NrupZQA/oruWWta6cAXLKvzac mJxozN4m7YrkKZML+BLbfR4vR+MLhwyM9sFpLieYN8Qs5khN8VSbFHu/WtIep8EiRUMm 9VJCSf56llvJYZ1RjQx31F0W8kfA1Zmrxt3Gq5w/iRhm3hsaobsqJC0GYPJhFSum2uXR aC4ecG3+RPayxYyEHmJvhoBXTFAj4M9wrmTWVzqeRvQj8I2xUDFIikOdLzXPFdEyJezl 2hqFccjkFzJUmFZBSvcNjFweQXO73KPDgeN6bFH+E3yb57Gkycmtso33C5N5xdRqM8EI 1AGQ== 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:message-id:subject:cc:to:from:date; bh=az5T18xh7O0r/cSx3RBInnHaIzIChB9DQic8i15DBZg=; b=G34Mk0VzjmakXgEzJHFbaGHkCKLWVBXHOHgq0M4dHCx+K/9N9rsFJ2CoIY6URa2F7U 0IurcA3LxoyT8AVfVDwyQio0SK0+4z3jrvGRgv5uzkmwP2lIY6g/B4cP2y8KJQcC+MO9 5mLIAvDLsuput3XyL2zgyPWn5a+CpGU8VeToCrl3pa1zUKq7XhAZ8PCu2dhc/0VqC5Dk CeroAXdN0HAFZ8QVqQiUeKpvUF++uB1AATsn5SsHi2488Kk1xvGAHtMFfRDxUxtqUvFe KJYkLuKxMBH7Ahs9Gh7H4TeXstyUuj5wyIaLMKfTxQDcHAjhO2d8aL+geaIw8T7JwJs6 fC3A== ARC-Authentication-Results: i=1; mx.google.com; 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 8si350520pgc.464.2019.06.13.11.42.48; Thu, 13 Jun 2019 11:43:03 -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; 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 S1727593AbfFMSm1 (ORCPT + 99 others); Thu, 13 Jun 2019 14:42:27 -0400 Received: from asavdk3.altibox.net ([109.247.116.14]:50856 "EHLO asavdk3.altibox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725851AbfFMSm1 (ORCPT ); Thu, 13 Jun 2019 14:42:27 -0400 Received: from ravnborg.org (unknown [158.248.194.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by asavdk3.altibox.net (Postfix) with ESMTPS id 5943E20024; Thu, 13 Jun 2019 20:42:23 +0200 (CEST) Date: Thu, 13 Jun 2019 20:42:17 +0200 From: Sam Ravnborg To: Alex Deucher Cc: Hariprasad Kelam , LKML , Yongqiang Sun , Charlene Liu , Leo Li , Bhawanpreet Lakha , Gloria Li , amd-gfx list , Nicholas Kazlauskas , David Airlie , Dmytro Laktyushkin , Tony Cheng , Maling list - DRI developers , Alex Deucher , Christian =?iso-8859-1?Q?K=F6nig?= , Anthony Koo Subject: Re: [PATCH] drm/amd/display: fix compilation error Message-ID: <20190613184217.GA2385@ravnborg.org> References: <20190613023208.GA29690@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-CMAE-Score: 0 X-CMAE-Analysis: v=2.3 cv=dqr19Wo4 c=1 sm=1 tr=0 a=UWs3HLbX/2nnQ3s7vZ42gw==:117 a=UWs3HLbX/2nnQ3s7vZ42gw==:17 a=jpOVt7BSZ2e4Z31A5e1TngXxSK0=:19 a=IkcTkHD0fZMA:10 a=pGLkceISAAAA:8 a=4PFS9l_RyDpw6E2KiyoA:9 a=QEXdDO2ut3YA:10 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Alex. 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 Am I right in assuming you took this patch? I expect that new code using udelay was added to the amd tree, and when merged with drm-misc-next it failed, because drm-misc-next no longer had drmP.h included so no implicit include of delay.h The root cause was that my original patchset should have been based on the amd tree, and applied there :-( Sam