diff options
| author | Sung Lee <[email protected]> | 2024-12-11 21:27:42 +0000 |
|---|---|---|
| committer | Alex Deucher <[email protected]> | 2025-01-10 16:59:27 +0000 |
| commit | 59fb2d0697de0fa9e48b98414420f5a59ca5583c (patch) | |
| tree | ad3dd8ad7a5a1abc895a119e1d4ed2d5d1df3893 /drivers/gpu/drm/amd/display/dc/inc/hw | |
| parent | drm/amd/display: Limit Scaling Ratio on DCN3.01 (diff) | |
| download | kernel-59fb2d0697de0fa9e48b98414420f5a59ca5583c.tar.gz kernel-59fb2d0697de0fa9e48b98414420f5a59ca5583c.zip | |
drm/amd/display: Log Hard Min Clocks and Phantom Pipe Status
[WHY]
On entering/exiting idle power, certain parameters would be
very useful to know for power profiling purposes.
[HOW]
This commit adds certain hard min clocks and pipe types
to log output on idle optimization enter/exit.
Reviewed-by: Alvin Lee <[email protected]>
Signed-off-by: Sung Lee <[email protected]>
Signed-off-by: Tom Chung <[email protected]>
Tested-by: Daniel Wheeler <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
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 2d06067ff36d..c14d64687a3d 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 @@ -306,6 +306,9 @@ struct clk_mgr_funcs { */ void (*set_hard_min_memclk)(struct clk_mgr *clk_mgr, bool current_mode); + int (*get_hard_min_memclk)(struct clk_mgr *clk_mgr); + int (*get_hard_min_fclk)(struct clk_mgr *clk_mgr); + /* Send message to PMFW to set hard max memclk frequency to highest DPM */ void (*set_hard_max_memclk)(struct clk_mgr *clk_mgr); |
