From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from wp530.webpack.hosteurope.de (wp530.webpack.hosteurope.de [80.237.130.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E64CE13C3CA; Mon, 29 Jul 2024 08:35:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.237.130.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722242135; cv=none; b=AUcp7HevkyMcezZfWx4/X5ihJ0OSPchEtcZgmqUNVB14Je+t/+UsZidGO0vqsW4RLT3/Ig9TqjW78/aJBa4OU0s3il4ZC/rXYs08Q/L4P+ELXfrjus00g856nZhdHGMp/Ry8SvwZkrWiTFwk49d8s5xBZxsOchoXqXUqIuJbHj4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1722242135; c=relaxed/simple; bh=oc6YQLjiSBFE+djFMS5QGcWDNmvJNJb8tfti403Gmrg=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=sQd+k4jt/i+9kAF6UHPw8ZTGcvtYKdkUhgu8FayB5CxihbM/F9wQW8rbkwqeyvaY8XMURoftK6ruIKy+yMbzGKSrzGIczsa8wpLnYFJywQ/5LU4d5wgVqvUBN2p6yxZV8t5vSXQbNJjYJvzfRS+UpLUTuQq2MG731yCgw0Fb0+g= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info; spf=pass smtp.mailfrom=leemhuis.info; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b=ynZGUnMm; arc=none smtp.client-ip=80.237.130.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=leemhuis.info Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=leemhuis.info header.i=@leemhuis.info header.b="ynZGUnMm" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=leemhuis.info; s=he214686; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:From:Sender:Reply-To:Subject:Date:Message-ID:To:Cc:MIME-Version: Content-Type:Content-Transfer-Encoding:Content-ID:Content-Description: In-Reply-To:References; bh=hCYlTQ17YHOGNp0OKHgpYTRh6FCoAUsIqBGDapwrN1A=; t=1722242133; x=1722674133; b=ynZGUnMmn2XywyEmWYkmOsewkFYAQX4Az6lOlPw+zWsoNFU fMRPLCcZESVtgqDyKvtYx4gjFcXlPRwE/lWS7eY0sZ0WDjMpFPczyYETHDJWdOPeIQWcp398su/oq A5MPseKkUR/HlxMznEThfPKVfohC/wFcyRWrKDvAleyBIpwK/g/JltfWCJM12C2vGC5KBzP4hy2Nv f/vWGHTYbqyMNIV3R+rzERanEe6IxMnzX1C7t70x/b/Ug2ViZ9PgxegD3aCJAADw2v/wBce6eg8sY ZXmr4SOyYBahkwTjq/pkruK3RkN94zFz/BRPLygTEhqIPpo+Q0KfSXzhqkh62c2A==; Received: from [2a02:8108:8980:2478:8cde:aa2c:f324:937e]; authenticated by wp530.webpack.hosteurope.de running ExIM with esmtpsa (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) id 1sYLqs-0004yw-5c; Mon, 29 Jul 2024 10:35:30 +0200 Message-ID: Date: Mon, 29 Jul 2024 10:35:28 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [REGRESSION] No image on 4k display port displays connected through usb-c dock in kernel 6.10 To: Greg KH , "Lin, Wayne" Cc: "stable@vger.kernel.org" , LKML , ML dri-devel , "amd-gfx@lists.freedesktop.org" , "Wu, Hersen" , "Deucher, Alexander" , "kevin@holm.dev" , Linux regressions mailing list , "stable@vger.kernel.org" References: <9ca719e4-2790-4804-b2cb-4812899adfe8@leemhuis.info> From: "Linux regression tracking (Thorsten Leemhuis)" Content-Language: en-US, de-DE Reply-To: Linux regressions mailing list In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-bounce-key: webpack.hosteurope.de;regressions@leemhuis.info;1722242133;0bf6608e; X-HE-SMSGID: 1sYLqs-0004yw-5c [+Greg +stable] On 29.07.24 10:16, Lin, Wayne wrote: > > Thanks for the report. > > Patch fa57924c76d995 ("drm/amd/display: Refactor function dm_dp_mst_is_port_support_mode()") > is kind of correcting problems causing by commit: > 4df96ba6676034 ("drm/amd/display: Add timing pixel encoding for mst mode validation") > > Sorry if it misses fixes tag and would suggest to backport to fix it. Thanks! Greg, seem it would be wise to pick up fa57924c76d995 for 6.10.y as well, despite a lack of Fixes or stable tags. Ciao, Thorsten >> -----Original Message----- >> From: kevin@holm.dev >> Sent: Sunday, July 28, 2024 12:43 AM >> To: Linux regressions mailing list ; Deucher, >> Alexander ; Wu, Hersen >> ; Lin, Wayne >> Cc: regressions@lists.linux.dev; stable@vger.kernel.org; LKML > kernel@vger.kernel.org>; ML dri-devel ; >> amd-gfx@lists.freedesktop.org >> Subject: Re: [REGRESSION] No image on 4k display port displays connected >> through usb-c dock in kernel 6.10 >> >>> [adding a few people and lists to the recipients] >>> >>> Hi! Thx for your rpeort. >>> >>> On 27.07.24 18:07, kevin@holm.dev wrote: >>> >>>> >>>> Connecting two 4k displays with display port through a lenovo usb-c >>>> >>>> dock (type 40AS) to a Lenovo P14s Gen 2 (type 21A0) results in no >>>> >>>> image on the connected displays. >>>> >>>> >>>> >>>> The CPU in the Lenovo P14s is a 'AMD Ryzen 7 PRO 5850U with Radeon >>>> >>>> Graphics' and it has no discrete GPU. >>>> >>>> >>>> >>>> I first noticed the issue with kernel version '6.10.0-arch1-2' >>>> >>>> provided by arch linux. With the previous kernel version >>>> >>>> '6.9.10.arch1-1' both connected displays worked normally. I reported >>>> >>>> the issue in the arch forums at >>>> >>>> https://bbs.archlinux.org/viewtopic.php?id=297999 and was guided to >>>> >>>> do a bisection to find the commit that caused the problem. Through >>>> >>>> testing I identified that the issue is not present in the latest >>>> >>>> kernel directly compiled from the trovalds/linux git repository. >>>> >>>> >>>> >>>> With git bisect I identified >> 4df96ba66760345471a85ef7bb29e1cd4e956057 >>>> >>> >>> That's 4df96ba6676034 ("drm/amd/display: Add timing pixel encoding for >>> >>> mst mode validation") [v6.10-rc1] from Hersen Wu. >>> >>> Did you try if reverting that commit is possible and might fix the problem? >> >> Reverting is not easily possible: >> >> $ git checkout v6.10 >> [...] >> HEAD is now at 0c3836482481 Linux 6.10 >> >> $ git revert 4df96ba66760345471a85ef7bb29e1cd4e956057 >> Auto-merging >> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c >> CONFLICT (content): Merge conflict in >> drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_mst_types.c >> error: could not revert 4df96ba66760... drm/amd/display: Add timing pixel >> encoding for mst mode validation >> >> I do not know enough to try and solve the conflict myself without breaking >> more things. >> >>> >>>> >>>> as the first bad commit and >> fa57924c76d995e87ca3533ec60d1d5e55769a27 >>>> >>> >>> That's fa57924c76d995 ("drm/amd/display: Refactor function >>> >>> dm_dp_mst_is_port_support_mode()") [v6.10-post] from Wayne Lin. >>> >>>> >>>> as the first commit that fixed the problem again. >>>> >>> >>> Hmm, the latter commit does not have a fixes tag and might or might not >>> >>> be to invasive to backport to 6.10. Let's see what the AMD developers say. >>> >>>> >>>> The initial commit only still shows an image on one of the connected >>>> >>>> 4k screens. I have not investigated further to find out at what point >>>> >>>> both displays stopped showing an image. >>>> >>> >>> Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) >>> >>> -- >>> >>> Everything you wanna know about Linux kernel regression tracking: >>> >>> https://linux-regtracking.leemhuis.info/about/#tldr >>> >>> If I did something stupid, please tell me, as explained on that page. >>>