diff options
author | Rodrigo Siqueira <Rodrigo.Siqueira@amd.com> | 2022-06-14 09:51:08 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2022-06-21 18:17:24 -0400 |
commit | 3e838f7ccf64b0e33a2f6d1c66158cc5ab04c86f (patch) | |
tree | f5bde8a8893f5052dde4ef2d63cf3863a08c4984 /drivers/gpu/drm/amd/display/dc/inc/hw | |
parent | 32e8ab05ed81c995b92f12b590c12ef951ca1129 (diff) | |
download | linux-stable-3e838f7ccf64b0e33a2f6d1c66158cc5ab04c86f.tar.gz linux-stable-3e838f7ccf64b0e33a2f6d1c66158cc5ab04c86f.tar.bz2 linux-stable-3e838f7ccf64b0e33a2f6d1c66158cc5ab04c86f.zip |
drm/amd/display: Get VCO frequency from registers
Add support to get VCO frequency from registers.
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Reviewed-by: Aurabindo Jayamohanan Pillai <Aurabindo.Pillai@amd.com>
Signed-off-by: Rodrigo Siqueira <Rodrigo.Siqueira@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/display/dc/inc/hw')
-rw-r--r-- | drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h b/drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h index 4dd461e6c14b..9ae9439c8f7b 100644 --- a/drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h +++ b/drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h @@ -245,6 +245,9 @@ struct clk_mgr_funcs { void (*init_clocks)(struct clk_mgr *clk_mgr); + void (*dump_clk_registers)(struct clk_state_registers_and_bypass *regs_and_bypass, + struct clk_mgr *clk_mgr_base, struct clk_log_info *log_info); + void (*enable_pme_wa) (struct clk_mgr *clk_mgr); void (*get_clock)(struct clk_mgr *clk_mgr, struct dc_state *context, |