]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/amd/display: Fix p-state type when p-state is unsupported
authorDillon Varone <Dillon.Varone@amd.com>
Wed, 12 Feb 2025 22:06:42 +0000 (17:06 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 29 May 2025 09:12:57 +0000 (11:12 +0200)
commit49f0054e18102774db7f5bd0cf847b5219f6c3fd
tree2e130f0bca565709448881f3658f2095db7f9599
parent34f7f71026a2af7b4c19b59e65e37c0d10ac7b32
drm/amd/display: Fix p-state type when p-state is unsupported

[ Upstream commit a025f424af0407b7561bd5e6217295dde3abbc2e ]

[WHY&HOW]
P-state type would remain on previously used when unsupported which
causes confusion in logging and visual confirm, so set back to zero
when unsupported.

Reviewed-by: Aric Cyr <aric.cyr@amd.com>
Signed-off-by: Dillon Varone <Dillon.Varone@amd.com>
Signed-off-by: Wayne Lin <wayne.lin@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c