]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
drm/amd/display: Revert "Add a config flag for limited_pll_vco"
authorOvidiu Bunea <ovidiu.bunea@amd.com>
Thu, 17 Jul 2025 14:41:41 +0000 (10:41 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 28 Jul 2025 20:40:08 +0000 (16:40 -0400)
This reverts commit 82139760dcf7829ae2ca3f70442be9b53a0aff40.

[why & how]
DMUB header changes should be submitted to firmware branch first and
allowed to propagate to driver. Currently, this change breaks linux
builds so need to revert it until it's ready.

Reviewed-by: Nicholas Kazlauskas <nicholas.kazlauskas@amd.com>
Signed-off-by: Ovidiu Bunea <ovidiu.bunea@amd.com>
Signed-off-by: Ivan Lipski <ivan.lipski@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dmub/dmub_srv.h
drivers/gpu/drm/amd/display/dmub/inc/dmub_cmd.h
drivers/gpu/drm/amd/display/dmub/src/dmub_dcn31.c

index 87b761ac3135da4ce8255db67fc57e13c32b4d0e..0bafb6710761841d99c3d176366a33e4fca8a29e 100644 (file)
@@ -316,7 +316,6 @@ struct dmub_srv_hw_params {
        bool disable_sldo_opt;
        bool enable_non_transparent_setconfig;
        bool lower_hbr3_phy_ssc;
-       bool override_hbr3_pll_vco;
 };
 
 /**
index e2e5f71c03f2b24a21cfa2620c1b6c17a81f552c..a89bf08ffd3799dcdd801357709c6e37a1d1c3d1 100644 (file)
@@ -843,8 +843,7 @@ union dmub_fw_boot_options {
                uint32_t ips_sequential_ono: 1; /**< 1 to enable sequential ONO IPS sequence */
                uint32_t disable_sldo_opt: 1; /**< 1 to disable SLDO optimizations */
                uint32_t lower_hbr3_phy_ssc: 1; /**< 1 to lower hbr3 phy ssc to 0.125 percent */
-               uint32_t override_hbr3_pll_vco: 1; /**< 1 to override the hbr3 pll vco to 0 */
-               uint32_t reserved : 5; /**< reserved */
+               uint32_t reserved : 6; /**< reserved */
        } bits; /**< boot bits */
        uint32_t all; /**< 32-bit access to bits */
 };
index 4777c7203b2c2deb913197efa914e77918da4aa4..3f38db752b84462c8319b90e581aa6b6be8f5606 100644 (file)
@@ -377,7 +377,6 @@ void dmub_dcn31_enable_dmub_boot_options(struct dmub_srv *dmub, const struct dmu
        boot_options.bits.dpia_hpd_int_enable_supported = params->dpia_hpd_int_enable_supported;
        boot_options.bits.power_optimization = params->power_optimization;
        boot_options.bits.lower_hbr3_phy_ssc = params->lower_hbr3_phy_ssc;
-       boot_options.bits.override_hbr3_pll_vco = params->override_hbr3_pll_vco;
 
        boot_options.bits.sel_mux_phy_c_d_phy_f_g = (dmub->asic == DMUB_ASIC_DCN31B) ? 1 : 0;