Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp290264lqr; Wed, 5 Jun 2024 06:20:16 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUifQ275gAfCuIlkooXky3ECG12Cse2jzMtv/v5mqG9mKzfc5eanipLIffuOw4jSOTKdewDGCk1rgnnutKJKfD/Dg7ohbSW+e3wAZ4+vw== X-Google-Smtp-Source: AGHT+IGDauK6mmgia8ewu17LU75Uk26v8gYM8PqW2ubtYnZwuZTSIrQBzCM2kZ3zmD/XFGTQwTPV X-Received: by 2002:a05:6a00:b81:b0:6e8:f66f:6b33 with SMTP id d2e1a72fcca58-703e595b1cbmr2834395b3a.4.1717593615920; Wed, 05 Jun 2024 06:20:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717593615; cv=pass; d=google.com; s=arc-20160816; b=eZ5OnR54mFHmdkQ/1w/RndUEQZKdbTpmU++OijKJJLF8f/gOU8DQ8JcxOYynbkQl35 GCJbd2WZKtyrPWF7UWJyB3wFZ3ZyYCoT+qaOZihkeXE8VT47h2hPgx1vcFizL2u/1tDS VzhiarzOvmERVbNzy4EUuIp37YohEHZExix4/EcSTxlwVdT0UbbcuJqJ1dvaIVHvtZGQ c5tvWF07ePwQ4D3vkYJhfZAiv+dRpr+Xf2TrcgXS2CWFrBeA9ikA3a0wWMnz6lzxV3Ky s4OIJC2pGNCN+g2SzAYiSoUlrZ4f9FZONz9FjLiMWb/n+G+1OZ25dOU4RonbQFsjpN2W THJg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=tPuTc08wjjwpO86SOuNZKeHCnjPvY6giUw1ze6bOSPo=; fh=mwl3WBCR6BaQu4ut8Uo7wsOGyTOVt1BVyz/xnDZ9JYs=; b=jWqP+Uq+YU8ybvruFOKCy6Wcyf76Hv+F2fphvEAZ5TpVSELSVekLqk4d9BQmdKQD1P J5yfIWOsgkeR2rSQ7jBJrkvAm9jr4oCzXS2MxAnuohJlNb4NJ9eElGkRzLQvVQsl/Zq4 OVAza4Mf9tn83dZkwDANMXCwyQ2r6bKEvlYHyRrZzFx420p1WDh5DAuViO16NLYYw8lh 5sP1wz8vXsgYTA2hUR7Y9nhCYeEgVeWiB4a4brUVYmZBUdhoFVJRCGTFHjvW/UUaDsy+ YCv36DuPgqSV8FmyiX4CZFHMc3xfvT4dsVWZFy2ZtCQ5+SfTH0pTXk3yPizDPJX3z6vn H6xQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Do3VtqHT; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-202510-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202510-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6c3540f95d4si4205833a12.19.2024.06.05.06.20.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 06:20:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-202510-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=Do3VtqHT; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-202510-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-202510-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 334B7286FE4 for ; Wed, 5 Jun 2024 12:43:28 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 908C3188CA2; Wed, 5 Jun 2024 12:04:38 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="Do3VtqHT" Received: from mail-qt1-f169.google.com (mail-qt1-f169.google.com [209.85.160.169]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2ECDE1C95F3 for ; Wed, 5 Jun 2024 12:04:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.160.169 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717589077; cv=none; b=Nq7IYAuEdKitONIyv+VUOE1EmGWiI7Ym502G7jThcqcxWv8Pn9DuNeh4aoLuxuQ8/V0K49L2zl6IXwV6f6LmT6uJdHeVvUJV4i/Jf0TMMw4nziduro8Xu46TPu8VIqSMk0IMy1PASgSjQgHEc2E8yIOFhLKrtkm/acQJt4vt/TM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717589077; c=relaxed/simple; bh=m84OVoVm5ii/jkR8JBTs1AiS6uReMQ5aalhNMwK9OII=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Content-Type; b=pnwMfBCo7sG7DiMl9NHYG1oL9mQWZswJPV6RwvURq72jlLKo2XLgzIifvY7b8YnTiB1Ft53JY9YwWaJiCt2R8xH0bLs1TxIsE7aApp1lEXbXl1veM27udHKVle8ePbXNsq5pKTT1sduTCHVKCjPXn6nC/REgKpIJrgvLm/G7eO4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=Do3VtqHT; arc=none smtp.client-ip=209.85.160.169 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-qt1-f169.google.com with SMTP id d75a77b69052e-440199acec5so1370521cf.1 for ; Wed, 05 Jun 2024 05:04:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1717589075; x=1718193875; darn=vger.kernel.org; h=content-transfer-encoding:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=tPuTc08wjjwpO86SOuNZKeHCnjPvY6giUw1ze6bOSPo=; b=Do3VtqHTtD+Pe8GtLPa+DbK1U+gKwvA/Wq0PsQLO8kT5bG4G2PVxNgOQtjDoae8+qG upB22BxNdFrj5MdhU4xNhHsLi+fF1OsR6pa0PGt3sVrQ/AWRnKA9bMmyinzFLGjUOdqP HbZJ7Xy1ZTJiXAR50IK2LytoUkydzDy+ihXXg3jvg66ZZG22auQuw2SCgo99CZi01KMO uGYUldNwTIN6CK/5VV7cPElFQP6SAR2lC34O4LjR7FioiDbXEoCusLWyhQHXK4ITmxjU aUAbhn2pcvxSfpv94yroaN86kP+S2bp0lap0mQqbinKFPvwzCGbB1jE/DwHVAriwi/Ji Px+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717589075; x=1718193875; h=content-transfer-encoding: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=tPuTc08wjjwpO86SOuNZKeHCnjPvY6giUw1ze6bOSPo=; b=bBCBSAfl6NlRmuk5D6+jXYbDgrVgcDJaCrNcRaf3geiXRdT5EIk9YnwiAwi/D65kw7 cZRcl3swpB40gIbxH5yTIz9w0es4aXUCNQUy27YiCFsC9wwVNU3DFl4mi3rTJrtlRtYI nUDhxYNwP+EUbDEGxzIem9Ur8SiG617LiO/EzH1J6TNddjvr9fF+Lh1aN/L/JxyPoZZj UKObnj8IZw1lDdGZp04TJQ+zpxrueZt0Z4LfoF/ltb/OuZG3Fg0l1jdG4NDKRonefIH3 kXql3n4QPDb4oBac/6fnuu1+DlsOp1UYnYhbyC4x6cWXVjLqMIDlc8ckmHZdqzF7vneY 9jaQ== X-Forwarded-Encrypted: i=1; AJvYcCUVnP5k7blljxoj6tqSXgKnch9jLjwNxXSbUL6xnYZ6w8mkldYV83TVogJ6YyA7DcfShvgkJzKm2ScAqKczFzPrB9ht0UbVLRJY1+Q2 X-Gm-Message-State: AOJu0YwP/Yc8+qVYVUAuyYMnTShISzALFEtGj6P/NSVc89PWmLsjy8ic 7yoF0AxUTv6EczLqQOVKUj6KL2usloTY6Ixy5XTREyT2iCtJCXF0cwwjG2jB5pdy9o5p8GTfYV4 A2XtZ5qJD8sQdY81YCNe0bmB3AGc= X-Received: by 2002:a05:6214:765:b0:6ad:7a58:4e01 with SMTP id 6a1803df08f44-6b030a489d7mr23866326d6.3.1717589074779; Wed, 05 Jun 2024 05:04:34 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: In-Reply-To: From: Mikhail Gavrilov Date: Wed, 5 Jun 2024 17:04:23 +0500 Message-ID: Subject: Re: 6.10/bisected/regression - commits bc87d666c05 and 6d4279cb99ac cause appearing green flashing bar on top of screen on Radeon 6900XT and 120Hz To: Hamza Mahfooz , Rodrigo.Siqueira@amd.com, "Deucher, Alexander" , amd-gfx list , dri-devel , Linux List Kernel Mailing , Linux regressions mailing list Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sun, May 26, 2024 at 7:06=E2=80=AFPM Mikhail Gavrilov wrote: > > Hi, > Day before yesterday I replaced 7900XTX to 6900XT for got clear in > which kernel first time appeared warning message "DMA-API: amdgpu > 0000:0f:00.0: cacheline tracking EEXIST, overlapping mappings aren't > supported". > The kernel 6.3 and older won't boot on a computer with Radeon 7900XTX. > When I booted the system with 6900XT I saw a green flashing bar on top > of the screen when I typed commands in the gnome terminal which was > maximized on full screen. > Demonstration: https://youtu.be/tTvwQ_5pRkk > For reproduction you need Radeon 6900XT GPU connected to 120Hz OLED TV by= HDMI. > > I bisected the issue and the first commit which I found was 6d4279cb99ac. > commit 6d4279cb99ac4f51d10409501d29969f687ac8dc (HEAD) > Author: Rodrigo Siqueira > Date: Tue Mar 26 10:42:05 2024 -0600 > > drm/amd/display: Drop legacy code > > This commit removes code that are not used by display anymore. > > Acked-by: Hamza Mahfooz > Signed-off-by: Rodrigo Siqueira > Signed-off-by: Alex Deucher > > drivers/gpu/drm/amd/display/dc/inc/hw/stream_encoder.h | 4 ---- > drivers/gpu/drm/amd/display/dc/inc/resource.h | 7 ----= --- > drivers/gpu/drm/amd/display/dc/optc/dcn20/dcn20_optc.c | 10 ----= ------ > drivers/gpu/drm/amd/display/dc/resource/dcn21/dcn21_resource.c | 33 > +-------------------------------- > 4 files changed, 1 insertion(+), 53 deletions(-) > > Every time after bisecting I usually make sure that I found the right > commit and build the kernel with revert of the bad commit. > But this time I again observed an issue after running a kernel builded > without commit 6d4279cb99ac. > And I decided to find a second bad commit. > The second bad commit has been bc87d666c05. > commit bc87d666c05a13e6d4ae1ddce41fc43d2567b9a2 (HEAD) > Author: Rodrigo Siqueira > Date: Tue Mar 26 11:55:19 2024 -0600 > > drm/amd/display: Add fallback configuration for set DRR in DCN10 > > Set OTG/OPTC parameters to 0 if something goes wrong on DCN10. > > Acked-by: Hamza Mahfooz > Signed-off-by: Rodrigo Siqueira > Signed-off-by: Alex Deucher > > drivers/gpu/drm/amd/display/dc/optc/dcn10/dcn10_optc.c | 15 ++++++++++++= --- > 1 file changed, 12 insertions(+), 3 deletions(-) > > After reverting both these commits on top of 54f71b0369c9 the issue is go= ne. > > I also attach the build config. > > My hardware specs: https://linux-hardware.org/?probe=3Df25a873c5e > > Rodrigo or anyone else from the AMD team can you look please. > Did anyone watch? --=20 Best Regards, Mike Gavrilov.