]> www.infradead.org Git - users/jedix/linux-maple.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)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 5 Mar 2025 15:39:05 +0000 (10:39 -0500)
commita025f424af0407b7561bd5e6217295dde3abbc2e
tree8c26812bc9eebba8cf4b68d479a84d991178fc09
parentb74f46f3ce1e5f6336645f1e9ff47c56d5dfdef1
drm/amd/display: Fix p-state type when p-state is unsupported

[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>
drivers/gpu/drm/amd/display/dc/core/dc_hw_sequencer.c