drm/amd/pm: remove one unsupported smu function for vangogh
authorXiaojian Du <Xiaojian.Du@amd.com>
Wed, 9 Dec 2020 02:27:32 +0000 (10:27 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 9 Dec 2020 04:06:07 +0000 (23:06 -0500)
This patch is to remove one unsupported smu function, this function
will set the smu feature mask to disable all smu features in exception.
Because vangogh doesn't support to set the smu feature mask
by driver software, so this function is invalid for vangogh.

Signed-off-by: Xiaojian Du <Xiaojian.Du@amd.com>
Reviewed-by: Evan Quan <evan.quan@amd.com>
Acked-by: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/pm/swsmu/smu11/vangogh_ppt.c

index ddaa6a705fa6baf82659ec010825d83c79d81935..a81e5c8232116cae3f212fdd865a996eb110ba0d 100644 (file)
@@ -743,7 +743,6 @@ static const struct pptable_funcs vangogh_ppt_funcs = {
        .get_pp_feature_mask = smu_cmn_get_pp_feature_mask,
        .set_watermarks_table = vangogh_set_watermarks_table,
        .set_driver_table_location = smu_v11_0_set_driver_table_location,
-       .disable_all_features_with_exception = smu_cmn_disable_all_features_with_exception,
        .interrupt_work = smu_v11_0_interrupt_work,
        .get_gpu_metrics = vangogh_get_gpu_metrics,
        .od_edit_dpm_table = vangogh_od_edit_dpm_table,