Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp75149ybi; Thu, 13 Jun 2019 11:54:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqyHha4aVebHIgkR6uIbcG/rJelZ4WV9ayWCcwat20TSAE7de06xf9P3ZcznwL3aylZulXRT X-Received: by 2002:a62:fccd:: with SMTP id e196mr21973586pfh.53.1560452071301; Thu, 13 Jun 2019 11:54:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1560452071; cv=none; d=google.com; s=arc-20160816; b=oZme5cciUKABQzEvU4i1dN6okPUCNBAdgo4IJDUTixnOh7sHDvgLCPLtEDleC/8WDD FkXZg9KGNNi8mQE7ifnwTHI8NgHbp6PXjABQMc1f/OHJoooa0NSpE/7iZCwRPm8v0sb5 GkH/C3c3+XsN+/QvgcbppT7sU125ryajwB1eSYSDl16VNzDznZAnjl0HgEuetxmGnNcB 6bnRgBEoS18PUBIipPJhEpWYamluzUr4qm8lutplxmKHgbSyQcdapWEFyh6CFTR8AI/Z rYIad+U+Dp1wCnliCp/NcLdmR+/rvcp8/pmglnKdrtjlOoiLDouSnXZfslJaXHY+3lKW BnJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=wF2lkDhjSFApoIX2SzKaCuD9I+vf8Vpj5caLDxf35+o=; b=VmAZqombcceaeLtt/q78mptdF5SgwG61+R6PHtiV3l4tfC7OXioPkCfetuDwfIyqY2 xt56JbwBP2Rlkq8jWA7kdHCA5IEJldKqrJsutS49fAqdW5cec3SeR+b0JqE0PRjaGfYD eOW72VQPIP2bPp8E8WiZyyAFTWOwSrg13vuKWSvwiijm3MiNgLHDSxp7qrEdNgQlfwth /0NkUxrYlBVAxo2xm+890FLLDPOHDuNUqk24VC88OkpgStIxDOnvU3cjj80evsP+ygPC uG5pZBaW4iYGhh+Se4lYaQ1gKQpNESrVsihb13tWj1OwaZl07nWODTZY/r3A5OPsK8J8 utiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=AKeuB0I5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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.54.16; Thu, 13 Jun 2019 11:54:31 -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=pass header.i=@gmail.com header.s=20161025 header.b=AKeuB0I5; 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; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728686AbfFMSwt (ORCPT + 99 others); Thu, 13 Jun 2019 14:52:49 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:42790 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbfFMSws (ORCPT ); Thu, 13 Jun 2019 14:52:48 -0400 Received: by mail-wr1-f65.google.com with SMTP id x17so6605122wrl.9 for ; Thu, 13 Jun 2019 11:52:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=wF2lkDhjSFApoIX2SzKaCuD9I+vf8Vpj5caLDxf35+o=; b=AKeuB0I58ke460ynxyqX4+mFv2g4TegQbeImOxNCfMfyFsDied0f2UkwWeSUzabyxL XN4/m+xKjVR2ysnHrDJhul5Ezm6ZNBX0sNHXzUcrn8/Om/ayxXPeQKR6C8DzXSUwBOIi BxW28g4p2jpnLM6+DphXrs6V1LAi4d00MesmFGsBroqcJ/yT9HIfIfu9f4WwtVvhsW9p PaSpOCjpMWgWYBtZIR0nSJ8fRPP9cvokb2vDJqm/kHSpejndIsa+O/i9TvnawipNO9q+ X51wWbjK5F22t0ic653gOiEOxyVVJAqbV69W0+6xOvnelXd8GxCioB9EAnuHVYp4zLjX d7Mg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=wF2lkDhjSFApoIX2SzKaCuD9I+vf8Vpj5caLDxf35+o=; b=Rj4Qjm5iBSZE6nXvLrxlyANlnOXzev+W+OEJs69nkv2HKK6JdwgMGZTVVZyf8tQrrC ByjsztziWL48o+Qwed79hcd7FMD1ONDCm9PZEYs7kJ1I++Yqh9ZgAN+R7o7hosiuHCZX a5O3zc3ikzks1D44LjC5UC4H+2pnzzQaHDrswka8SxIpHATbbAaOfz5K8Rorrf2mjMZR KP8mmubj/G4nK21pxvS3WZGusivCgz6Mtbe4Pn3dk4B/AFNBXQL0LIlG8KQoyJPiWCN0 8IjLYNG/3lvroeZMI4ZI7kRAC2nkoPHW9Sz6lXMSIauVT1fntUgvG/SDnp1K9lDxehQt wfiA== X-Gm-Message-State: APjAAAUVr4YrDtXXqW31U2DydquPEW9L507vplf85OChEYAkKO18sB3S rvidmcd7sm+ToSyabUqXOBdxGr2yKJde0+Itk+I= X-Received: by 2002:adf:f68f:: with SMTP id v15mr10763850wrp.4.1560451966892; Thu, 13 Jun 2019 11:52:46 -0700 (PDT) MIME-Version: 1.0 References: <20190613023208.GA29690@hari-Inspiron-1545> <20190613184217.GA2385@ravnborg.org> In-Reply-To: <20190613184217.GA2385@ravnborg.org> From: Alex Deucher Date: Thu, 13 Jun 2019 14:52:34 -0400 Message-ID: Subject: Re: [PATCH] drm/amd/display: fix compilation error To: Sam Ravnborg 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 , =?UTF-8?Q?Christian_K=C3=B6nig?= , Anthony Koo Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 2:42 PM Sam Ravnborg wrote: > > 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 =E2=80=98dcn10_apply_ctx_for_surface=E2=80=99: > > > drivers/gpu/drm/amd/amdgpu/../display/dc/dcn10/dcn10_hw_sequencer.c:2= 378:3: > > > error: implicit declaration of function =E2=80=98udelay=E2=80=99 > > > [-Werror=3Dimplicit-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 :-( No worries. I've picked it up. Alex