SMU 13.0.0 and SMU 13.0.7 copy the boot external OverDrive table on reset, then upload it immediately. Keep the table in the driver cache until the user writes c.
Signed-off-by: Kevin Wang <[email protected]> --- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c | 2 +- drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c index 16a6b8fd832c..26668cb00e0a 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_0_ppt.c @@ -1897,7 +1897,7 @@ static int smu_v13_0_0_od_edit_dpm_table(struct smu_context *smu, sizeof(OverDriveTableExternal_t)); od_table->OverDriveTable.FeatureCtrlMask = feature_ctrlmask; } - fallthrough; + break; case PP_OD_COMMIT_DPM_TABLE: /* * The member below instructs PMFW the settings focused in diff --git a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c index 5fe409a23772..b0399dd49639 100644 --- a/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c +++ b/drivers/gpu/drm/amd/pm/swsmu/smu13/smu_v13_0_7_ppt.c @@ -1906,7 +1906,7 @@ static int smu_v13_0_7_od_edit_dpm_table(struct smu_context *smu, sizeof(OverDriveTableExternal_t)); od_table->OverDriveTable.FeatureCtrlMask = feature_ctrlmask; } - fallthrough; + break; case PP_OD_COMMIT_DPM_TABLE: /* -- 2.55.0
