Received: by 2002:a05:6a10:f3d0:0:0:0:0 with SMTP id a16csp3662497pxv; Mon, 28 Jun 2021 09:40:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWtjKjHAdcRGRITGSiXAZyiiYmhKOHLQ97fql5baFAjto99uxa44hBDCloSPuR7rDSW2e2 X-Received: by 2002:a02:908a:: with SMTP id x10mr451665jaf.30.1624898432820; Mon, 28 Jun 2021 09:40:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1624898432; cv=none; d=google.com; s=arc-20160816; b=c5njOGKP8mmLPGnWEJTieOsmVbD/yjozpPM58e5V8YfGGVRgwuBn9wjhN1B33DpTKP zEznVDUsllF2gLyuAai2mvlyfaa5pa83xJ38nSqXsoVxXLM6+iQJXZ9x4KLVeO6YgMwC YTW8m+7Zu3vH+KSx1ElP8f40y0nD8brnb7hudJ0rif7mmdlIpEQu7pwJdrGGtS41/sLp rdncOgQyi3gd092aQbtRPwpf3DAex+3sOpj6M4BO1uQC3y2j/QVtrKILuo5u3XgPDTfd r9FFilfdQM1H1A80QNvpgWb7bKTHXDJXzf2k7mFOLJYqFGwhj7/5+P/5kyx1YSqzYwcI D02g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=dzETNv4uyDhuYHJGELa+ExcxyxQjGe2pv/stbKqgYMw=; b=JUqYPAmiGSyFuwItE26EkB+NUlXboL67h7ZmKouTAWLfEap9vaSCeHi4kbsa8Z3SSX zD/5SFK2hWr7H9r9+fyaUyZLHpHcCUDqPgurLeCuC2OPi53sAFK2X59iIShxffjgKIEt UePz1QnfF8hHB1qUlzUPjTGQobjN4HR/xbUE29N2iSYZTZ0orEdjpBgiWI/K3mHh/Z1V qbmwjWdvN6eGNAMYw+UkDAbV0SsuFpnZlecJakCvEQa+SZVmR8dbmjhIsr24iR0y/MiR PJxMWmn1yxQIL8Iw4LJifrRyJqcAx9pSyXRbKzHIT6qdWDH8YhQ95tPWw4e83lS3zq7y LLAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rBenLrIu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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. [23.128.96.18]) by mx.google.com with ESMTP id n28si9742201jap.124.2021.06.28.09.40.16; Mon, 28 Jun 2021 09:40:32 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=rBenLrIu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231768AbhF1Qlb (ORCPT + 99 others); Mon, 28 Jun 2021 12:41:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231719AbhF1Qlb (ORCPT ); Mon, 28 Jun 2021 12:41:31 -0400 Received: from mail-ot1-x329.google.com (mail-ot1-x329.google.com [IPv6:2607:f8b0:4864:20::329]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 92CC5C061574 for ; Mon, 28 Jun 2021 09:39:04 -0700 (PDT) Received: by mail-ot1-x329.google.com with SMTP id h24-20020a9d64180000b029036edcf8f9a6so19410040otl.3 for ; Mon, 28 Jun 2021 09:39:04 -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; bh=dzETNv4uyDhuYHJGELa+ExcxyxQjGe2pv/stbKqgYMw=; b=rBenLrIuJvtaIysQfKhnjr14lj+L8avGymkeyl2Kyk5vGXN2R2ZoQZPHPQ7ExWAk3Y yL+pi2ALV/47YsUPRCkvmBi3C0gFZJdvv2BMtGxj/7UGql6F4EcIv+nKxIseax3bagZf T74nScYy0afGUWmzWwZSV7ag4jRiYsg0VdYVMAwEhd3YrS+v/RQsVkFSb7or7n5vd6PW bFpt+Nq+mZvF/9cSpnkyXoFsxY3ygqAIRXG7Pxmg86DG1XGwOPZA28HHtlrpKmJKz6o5 +w7oUK0hqy4Wtx72SJnMmruTs8zEKNl3uM80qaAlO7NE2fciTXdroF+fhEXtU7pNukXJ 0hng== 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; bh=dzETNv4uyDhuYHJGELa+ExcxyxQjGe2pv/stbKqgYMw=; b=XTc+LRujRZwjZlydMEY+LBROF8Ne3rmtMMhOUAfP73NFry70RcmU1hlPnW9i0qqxeV zvwgX9YGiim8ZBw4IlrbPspBlf+lgGAjT07pqo+Ykv+QM6zvKItB1DHZ7BJfPF1tvlBZ 7YkSxliuBdlkk3xk3IeETcteSz3njHAjtWxr+KchzPBrE62X6RpErW9N1DtS10BN5fXq SbC/DN2COfWtiZPFUTBrDP01pH4hJV3/2xQhtyQJhe9XbSKubGBoM92QucoGXl0rx+Pj VHZQmC/i9PBaptQRfsCCMzzo7YJsqdk9NUGkCEpKM/uoaUmWaCaRqFq+MDcauHQMGjze 8sXQ== X-Gm-Message-State: AOAM532WMCr+CXBdg9QCHZMN3v9xykhBYpYiPfxAt9pJn0cINphm41eg yVPqlPXbz80DuTj0EY+6XxXG7OaCDAASh31bH2A= X-Received: by 2002:a05:6830:4119:: with SMTP id w25mr432485ott.132.1624898343968; Mon, 28 Jun 2021 09:39:03 -0700 (PDT) MIME-Version: 1.0 References: <20210623103039.9881-1-msuchanek@suse.de> <6ae69103-b01f-4f16-7cd2-845ea991ae95@amd.com> In-Reply-To: <6ae69103-b01f-4f16-7cd2-845ea991ae95@amd.com> From: Alex Deucher Date: Mon, 28 Jun 2021 12:38:53 -0400 Message-ID: Subject: Re: [PATCH] drm/amdgpu/dc: Really fix DCN3.1 Makefile for PPC64 To: Harry Wentland Cc: Michal Suchanek , Nicholas Kazlauskas , Alex Deucher , Arnd Bergmann , Leo Li , Will Deacon , "Pan, Xinhui" , LKML , amd-gfx list , David Airlie , Huang Rui , Maling list - DRI developers , Daniel Vetter , Bhawanpreet Lakha , =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Applied. Thanks! Alex On Fri, Jun 25, 2021 at 4:14 PM Harry Wentland wrote: > > On 2021-06-23 6:30 a.m., Michal Suchanek wrote: > > Also copy over the part that makes old gcc handling cross-platform. > > > > Fixes: df7a1658f257 ("drm/amdgpu/dc: fix DCN3.1 Makefile for PPC64") > > Fixes: 926d6972efb6 ("drm/amd/display: Add DCN3.1 blocks to the DC Makefile") > > Signed-off-by: Michal Suchanek > > Reviewed-by: Harry Wentland > > Harry > > > --- > > The fact that the old gcc handling triggers on gcc 10 and 11 is another > > story I don't want to delve into. > > --- > > drivers/gpu/drm/amd/display/dc/dcn31/Makefile | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/drivers/gpu/drm/amd/display/dc/dcn31/Makefile b/drivers/gpu/drm/amd/display/dc/dcn31/Makefile > > index 5dcdc5a858fe..4bab97acb155 100644 > > --- a/drivers/gpu/drm/amd/display/dc/dcn31/Makefile > > +++ b/drivers/gpu/drm/amd/display/dc/dcn31/Makefile > > @@ -28,6 +28,7 @@ endif > > CFLAGS_$(AMDDALPATH)/dc/dcn31/dcn31_resource.o += -mhard-float > > endif > > > > +ifdef CONFIG_X86 > > ifdef IS_OLD_GCC > > # Stack alignment mismatch, proceed with caution. > > # GCC < 7.1 cannot compile code using `double` and -mpreferred-stack-boundary=3 > > @@ -36,6 +37,7 @@ CFLAGS_$(AMDDALPATH)/dc/dcn31/dcn31_resource.o += -mpreferred-stack-boundary=4 > > else > > CFLAGS_$(AMDDALPATH)/dc/dcn31/dcn31_resource.o += -msse2 > > endif > > +endif > > > > AMD_DAL_DCN31 = $(addprefix $(AMDDALPATH)/dc/dcn31/,$(DCN31)) > > > > > > _______________________________________________ > amd-gfx mailing list > amd-gfx@lists.freedesktop.org > https://lists.freedesktop.org/mailman/listinfo/amd-gfx