Received: by 2002:a05:7412:8521:b0:e2:908c:2ebd with SMTP id t33csp119488rdf; Thu, 2 Nov 2023 15:54:20 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE0zxCP+tbxMzZqXQ5THzkc6EIYM6y84To59SQE0rkqXvSPceVKiHziWRqayN6DI8Rlc6Df X-Received: by 2002:a50:9ecb:0:b0:53f:ef3b:adbb with SMTP id a69-20020a509ecb000000b0053fef3badbbmr16287550edf.2.1698965659969; Thu, 02 Nov 2023 15:54:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698965659; cv=none; d=google.com; s=arc-20160816; b=muzVwtbqoEhqeSyqlWYla4/IPu64C9VoFIiTC33oEnKs9SDSU9YpQTdKnGaMWgMUQN G4eAfF0PWu5dYLzTL/Yn721DMVcsCzZJGSjOhvCvGhzkf+DdEs0HxwaW/PLvWwWWX5tf bDq8ffuBumZaY91yrh7TXTMMZ1CqSrwNJCqFQB9yzh9vtRKmv1/vEWqRaLzTXyGzn/VI ueoWg84FKcxHwfEp6Yb7keATTp0kb0mL+XNS3mGZxjfhiDZ6DOUir1NuXDqqQwHX/Yr9 KmeNYDCvvNgvE2gt/FPwX1fX3i50Heba/PTp8YUgmNJ7TRpI0ffYb84J/exLuDWshHSp hQJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ywkZ1ZWfNmiVp7a6UPS372ot5uoGxaI4T7nCnN1k30I=; fh=/2iZDxBAEvNplEvyU8/kuh8KWVbtMK4veOHp9ickoTM=; b=HYwIH3mdgRLMSFZqlTfDb8g9LwX1mtNCfn0f0Nu3Y7FA/BZoLkSQR9yf8SkKsIAPYV Hksr1t73XWKxd4PugVyfsGKlSVDw1dkiLbZdreNVsFsfhfnYTBTatgJWfItMmF+GQPQU Y7EhD4k9ysm0rgtonhugHwtuwruNF1inmvw8j8xA+krVgnP7gNi1YpAdrFVcb7vQr4sA CBPDvBe+KGWgRE8+b5f+nH7Ttu195FCxChZubEVtv5ns8NUY9lchjy1XAPhl6lbHS0CW dkBTGVAppiKDXtXrmfGCPpQbPxq07nj/+2ezZeek//IkDbrRxitfZkf6pNEDv0ozWZ6Z 65gw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MnLxoWM8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id j15-20020a05640211cf00b005343013ee72si244851edw.132.2023.11.02.15.54.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 15:54:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=MnLxoWM8; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 464D58190687; Thu, 2 Nov 2023 15:54:14 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1377536AbjKBWxc (ORCPT + 99 others); Thu, 2 Nov 2023 18:53:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53822 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234813AbjKBWxa (ORCPT ); Thu, 2 Nov 2023 18:53:30 -0400 Received: from mail-oa1-x2e.google.com (mail-oa1-x2e.google.com [IPv6:2001:4860:4864:20::2e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2148919E for ; Thu, 2 Nov 2023 15:53:24 -0700 (PDT) Received: by mail-oa1-x2e.google.com with SMTP id 586e51a60fabf-1efad296d42so845018fac.2 for ; Thu, 02 Nov 2023 15:53:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698965601; x=1699570401; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ywkZ1ZWfNmiVp7a6UPS372ot5uoGxaI4T7nCnN1k30I=; b=MnLxoWM8ob4Zx//8ViOEUf6RWbekkZlruX1TnINSxjK28prfVdMkvIe/25mfjeuSy+ kug2IZlggaoKMMohTeWqgLO3WmZKNAHlDtfFY+CX0Keysw7jsrke7Q388sCnPoEvMZBY KkZp+KRIcUmdK1HTSHnxEVAQQKmPUcS4PO5YCuNXxXtHdfragGzQgfmPeh4+ETXV8Zv8 iYNHTqA4bh/gC7tzmsgf1akohi6G5oXMNkle81ZxcOHt47J/ygfQey0RCLqoLHmA6mbk BvZzvslpwtDPnwPuLtroLB3Tx4S1Cus6KpZ/fkaHAGyMgDobDMFYEpzeYf3J5rq+SFiy FUEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698965601; x=1699570401; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ywkZ1ZWfNmiVp7a6UPS372ot5uoGxaI4T7nCnN1k30I=; b=NGNPiZ+afDgTEMbPNTp0avUYm/SS7uERhvA2DJdarouiE6CKX28D9bNwNYJ2RST+9K xBDb+xGwtwg6Jim89z7HBL5NYB4461lKkmbKAhjxO8MI+ZacAD8o7+l+o3hFCgC3glQZ pZiJDAIPxHmDcZRkK9Eb3gZC034RhFw9e6fowoPC72UCpzz3lQ2h8Z5RfFDtUddaquUD Qo8/0Y0Mn6zCVhCeaDCAC+/ZlwfK1+wmZUwwlSY0rTtts/y06lperyIk0HEdbCzpxbX1 z0XshbMsGznQAMoCObEVWQb/jII5TV3TRG/F3iBErXmTdeW/6yoFNA3MSnhHnallwQNn ndJA== X-Gm-Message-State: AOJu0YyqVxAvMzAc6aG6LuFd7R5J54Uqhn8+wm168X1hrq8GUp1y1oDD xDOCfs1ZKr03e70kXDcvvG5hFq+MTycQciDZWiayXRjuR5E= X-Received: by 2002:a05:6870:2007:b0:1dc:c65e:ded2 with SMTP id o7-20020a056870200700b001dcc65eded2mr24706945oab.12.1698965601603; Thu, 02 Nov 2023 15:53:21 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Alex Deucher Date: Thu, 2 Nov 2023 18:53:10 -0400 Message-ID: Subject: Re: mainline build failure due to 7966f319c66d ("drm/amd/display: Introduce DML2") To: Sudip Mukherjee Cc: Rodrigo Siqueira , Roman Li , Qingqing Zhuo , Alex Deucher , regressions@lists.linux.dev, Leo Li , "Pan, Xinhui" , linux-kernel@vger.kernel.org, amd-gfx@lists.freedesktop.org, "linux-kernel@vger.kernel.orgLinus Torvalds" , dri-devel@lists.freedesktop.org, =?UTF-8?Q?Christian_K=C3=B6nig?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Thu, 02 Nov 2023 15:54:14 -0700 (PDT) On Thu, Nov 2, 2023 at 1:07=E2=80=AFPM Sudip Mukherjee wrote: > > On Thu, 2 Nov 2023 at 16:52, Alex Deucher wrote: > > > > On Thu, Nov 2, 2023 at 5:32=E2=80=AFAM Sudip Mukherjee (Codethink) > > wrote: > > > > > > Hi All, > > > > > > The latest mainline kernel branch fails to build x86_64 allmodconfig > > > with the error: > > > > > > drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c: In= function 'dml_prefetch_check': > > > drivers/gpu/drm/amd/amdgpu/../display/dc/dml2/display_mode_core.c:670= 7:1: error: the frame size of 2056 bytes is larger than 2048 bytes [-Werror= =3Dframe-larger-than=3D] > > > 6707 | } > > > | ^ > > > > > > git bisect pointed to 7966f319c66d ("drm/amd/display: Introduce DML2"= ) > > > > > > I will be happy to test any patch or provide any extra log if needed. > > > > This was reported earlier and fixed by: > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/comm= it/?id=3D089dbf6a06f1dcaeed4f8b86d619e8d28b235207 > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/comm= it/?id=3Db141fa036c901303ca5659cc22e9c08f8b097892 > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/comm= it/?id=3D5b2c54e0d0ea09f7a3b500510731878326e1117e > > but I guess maybe different compiler versions are still hitting this. > > Yes, I should have mentioned. gcc-11 and gcc-12 failed to build. but > gcc-13 was ok. Should be fixed with Nathan's patch: https://patchwork.freedesktop.org/patch/565675/ Alex