Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1619565ybv; Fri, 21 Feb 2020 00:24:58 -0800 (PST) X-Google-Smtp-Source: APXvYqyPDmgRbX97MXWApgbwHtn9wstf3D0goqvtMUqWFQaSnIa0xqpij1h68NLBi06aR/66OmM8 X-Received: by 2002:aca:120e:: with SMTP id 14mr951544ois.135.1582273498820; Fri, 21 Feb 2020 00:24:58 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582273498; cv=none; d=google.com; s=arc-20160816; b=FN7+gmgmmIfyNVO+D5HpLRO7gWjY1mkmoe+o29ll8EZsxjiG088zJX9/hAb/XsCQag cxYigVyj7hCz0qqRB+yYZ06wYIU7F/FiXmnphGmugD+jYRATwgI3LfQZIQOMgrule9u6 hMhREZg1VhMZ6J5JnzSSqVfU/w72wYFsbjOeSzXV0MI9cKtW/uZglIxIR2bCMUOTlTVD qbaLUg9FACYyFF9bq1raH7UHtWepO2rpVC2pch/+w/vNFO4VT3fP/izRUQVwlfsEKDu5 1PajQGgRDcRfKgzWFCI3x/iuFpuo04xTvlEfGLEZWv67oy7z6mWFHq1MjmsTs3yWwPu4 Kmaw== 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:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=6mcza7gZeaRQgq9h3gWxgbfN5rH3sg9Kc/bG04IJzOo=; b=v/DHb0hsBe/LmUXHl6ViKwhc1Vcu2iyobszkIjjh6woSMPE6I9yDDBWjUGkp5utqCG H/khAqvL1EFbEC08cG7dbGHD31miKhPWIwWPClG0hTMwMnqBDxbCquhWjurZHE+67IG3 wc+ulh94AyOFfBz049r30z2389u1SQuKk3SAnIYnTWgntkHiCUxgwag+uTDBOL3yETTy pbiTOv1aB2g78l8eEjkjIJJ8IL6vjGpOAVNOe7ybzgstAywQ49Qnb5N+KRWGK/l8H64x /1T0P2RFxtWS/VUuxnvFpJjCEiufHIUNTaUr0rpnRRQxkgPt0fafvVcnW8JKPGX31Jyr 8pwg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=K6mDsBZ2; 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 z1si1141874otq.21.2020.02.21.00.24.47; Fri, 21 Feb 2020 00:24:58 -0800 (PST) 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=@kernel.org header.s=default header.b=K6mDsBZ2; 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 S2388587AbgBUIYC (ORCPT + 99 others); Fri, 21 Feb 2020 03:24:02 -0500 Received: from mail.kernel.org ([198.145.29.99]:36262 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388578AbgBUIYA (ORCPT ); Fri, 21 Feb 2020 03:24:00 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 92C3A206ED; Fri, 21 Feb 2020 08:23:59 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1582273440; bh=yzoiKmt3nAhRVtfsDr9a8b1lx8fMEShoEFhjBaCQzqo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=K6mDsBZ2L4ITRiXisAD0xwkJZ8rAc1BXKySDIcueCp+xONOktAB1YosNk2fm1MszZ vKAxEhTzSFUn3NOkW2M51fBQpGmHft+Wm7aW5kWInd++iaEQa+eLQBHzGz/CMw+toI ym/kPEeO2eCMSfcOZy4nBb1L4mot/ozcdsn72oo8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jun Lei , Anthony Koo , Harry Wentland , Rodrigo Siqueira , Alex Deucher , Sasha Levin Subject: [PATCH 4.19 135/191] drm/amd/display: fixup DML dependencies Date: Fri, 21 Feb 2020 08:41:48 +0100 Message-Id: <20200221072306.955796760@linuxfoundation.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200221072250.732482588@linuxfoundation.org> References: <20200221072250.732482588@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jun Lei [ Upstream commit 34ad0230062c39cdcba564d16d122c0fb467a7d6 ] [why] Need to fix DML portability issues to enable SW unit testing around DML [how] Move calcs into dc include folder since multiple components reference it Remove relative paths to external dependencies Signed-off-by: Jun Lei Reviewed-by: Anthony Koo Acked-by: Harry Wentland Acked-by: Rodrigo Siqueira Signed-off-by: Alex Deucher Signed-off-by: Sasha Levin --- drivers/gpu/drm/amd/display/dc/dml/dml_common_defs.c | 2 +- drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h | 2 +- drivers/gpu/drm/amd/display/dc/{calcs => inc}/dcn_calc_math.h | 0 3 files changed, 2 insertions(+), 2 deletions(-) rename drivers/gpu/drm/amd/display/dc/{calcs => inc}/dcn_calc_math.h (100%) diff --git a/drivers/gpu/drm/amd/display/dc/dml/dml_common_defs.c b/drivers/gpu/drm/amd/display/dc/dml/dml_common_defs.c index b953b02a15121..723af0b2dda04 100644 --- a/drivers/gpu/drm/amd/display/dc/dml/dml_common_defs.c +++ b/drivers/gpu/drm/amd/display/dc/dml/dml_common_defs.c @@ -24,7 +24,7 @@ */ #include "dml_common_defs.h" -#include "../calcs/dcn_calc_math.h" +#include "dcn_calc_math.h" #include "dml_inline_defs.h" diff --git a/drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h b/drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h index e8ce08567cd8e..e4f595a3038c4 100644 --- a/drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h +++ b/drivers/gpu/drm/amd/display/dc/dml/dml_inline_defs.h @@ -27,7 +27,7 @@ #define __DML_INLINE_DEFS_H__ #include "dml_common_defs.h" -#include "../calcs/dcn_calc_math.h" +#include "dcn_calc_math.h" #include "dml_logger.h" static inline double dml_min(double a, double b) diff --git a/drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_math.h b/drivers/gpu/drm/amd/display/dc/inc/dcn_calc_math.h similarity index 100% rename from drivers/gpu/drm/amd/display/dc/calcs/dcn_calc_math.h rename to drivers/gpu/drm/amd/display/dc/inc/dcn_calc_math.h -- 2.20.1