OSDN Git Service

drm/amd/pm: enable the "fetch" function of pp_dpm_vclk/dclk for vangogh
authorXiaojian Du <Xiaojian.Du@amd.com>
Thu, 24 Dec 2020 08:11:33 +0000 (16:11 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Tue, 5 Jan 2021 16:30:06 +0000 (11:30 -0500)
commitf02c733649547efe0d623b9b18d9af18ccfc73a1
treee16188557dd34ec2a6dbc9f6e6a8e3c115a96ef3
parent9577b0ec2be8410b94e9928f25b740b55de2c13d
drm/amd/pm: enable the "fetch" function of pp_dpm_vclk/dclk for vangogh

This patch is to enable the "fetch" function of pp_dpm_vclk and
pp_dpm_dclk.
It allows to fetch the current frequency of vcn and dcn and their
DPM levels for vangogh.

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