]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd: fix dcn 2.01 check
authorAndy Nguyen <theofficialflow1996@gmail.com>
Sun, 15 Mar 2026 16:51:47 +0000 (17:51 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 25 Mar 2026 10:08:57 +0000 (11:08 +0100)
commit131e4cafa76626ec2670e145f23da888a56ddf97
tree1ed94f6fcdf3e7909de14a3e32f66e2d0f5a1a41
parent7f7d2c4a2333ed56e44104e9af9227b815097fbc
drm/amd: fix dcn 2.01 check

[ Upstream commit 39f44f54afa58661ecae9c27e15f5dbce2372892 ]

The ASICREV_IS_BEIGE_GOBY_P check always took precedence, because it includes all chip revisions upto NV_UNKNOWN.

Fixes: 54b822b3eac3 ("drm/amd/display: Use dce_version instead of chip_id")
Signed-off-by: Andy Nguyen <theofficialflow1996@gmail.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
(cherry picked from commit 9c7be0efa6f0daa949a5f3e3fdf9ea090b0713cb)
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/clk_mgr/clk_mgr.c