]> git.hungrycats.org Git - linux/commitdiff
drm/amd/display: Add utm_qos_model pointer to clk_bw_params
authorWenjing Liu <wenjing.liu@amd.com>
Thu, 28 May 2026 17:10:27 +0000 (13:10 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jun 2026 20:14:31 +0000 (16:14 -0400)
[Why]
Add support for passing QoS model data from clock manager
to bandwidth calculation consumers.

[How]
- Add forward declaration and const pointer for utm_qos_model
  in clk_bw_params

Reviewed-by: Dillon Varone <dillon.varone@amd.com>
Signed-off-by: Wenjing Liu <wenjing.liu@amd.com>
Signed-off-by: Chenyu Chen <chen-yu.chen@amd.com>
Tested-by: Daniel Wheeler <daniel.wheeler@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/inc/hw/clk_mgr.h

index 9b5bdcddfa7ae263bb13a07a6876ddc0df827c39..69c4a49a40fc2a658743869c1eb11080f7c25d7b 100644 (file)
@@ -30,6 +30,7 @@
 #include "dc.h"
 #include "core_types.h"
 #include "dm_pp_smu.h"
+struct utm_qos_model;
 
 /* Constants */
 #define DDR4_DRAM_WIDTH   64
@@ -311,6 +312,7 @@ struct clk_bw_params {
        struct wm_table wm_table;
        struct dummy_pstate_entry dummy_pstate_table[4];
        struct clk_limit_table_entry dc_mode_limit;
+       const struct utm_qos_model *utm_qos_model;
 };
 /* Public interfaces */