]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Enable dcn42 pstate pmo
authorDmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Mon, 4 May 2026 15:10:51 +0000 (11:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 3 Jun 2026 17:31:25 +0000 (13:31 -0400)
[Why & How]
Set a flag to enable pstate pmo, we want to always allow pstate
support on dcn42

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Dmytro Laktyushkin <dmytro.laktyushkin@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/resource/dcn42/dcn42_resource.c

index 1fc457cec2938aace0fff55a8cb41673fb9cf66e..efe025ca4ed3ece9f7a47eaa15263b0ef61a7de6 100644 (file)
@@ -2290,6 +2290,8 @@ static bool dcn42_resource_construct(
        dc->dml2_options.gpuvm_enable = true;
        dc->dml2_options.hostvm_enable = true;
 
+       dc->dml2_options.pmo.force_mandatory_uclk_pstate_support = true;
+
        /* SPL */
        dc->caps.scl_caps.sharpener_support = true;