From: Wenjing Liu <[email protected]>

[Why]
The QoS model is now populated directly in clock manager
from firmware data. The translator function pointer is no
longer needed.

[How]
- Remove get_utm_qos_model function pointer from
  soc_and_ip_translator_funcs
- Remove associated forward declarations from
  soc_and_ip_translator.h

Reviewed-by: Dillon Varone <[email protected]>
Signed-off-by: Wenjing Liu <[email protected]>
Signed-off-by: Chenyu Chen <[email protected]>
---
 .../drm/amd/display/dc/inc/soc_and_ip_translator.h | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/drivers/gpu/drm/amd/display/dc/inc/soc_and_ip_translator.h 
b/drivers/gpu/drm/amd/display/dc/inc/soc_and_ip_translator.h
index 6a97a3e28bd2..5dcb9f8f4daf 100644
--- a/drivers/gpu/drm/amd/display/dc/inc/soc_and_ip_translator.h
+++ b/drivers/gpu/drm/amd/display/dc/inc/soc_and_ip_translator.h
@@ -8,26 +8,12 @@
 #include "dc.h"
 #include "dml_top_soc_parameter_types.h"
 
-/* Forward declarations — callers that dereference these structs must include
- * the full UTM model headers themselves. */
-struct utm_qos_model;
-struct utm_qos_model_dchub_v2;
-
 struct soc_and_ip_translator_funcs {
        void (*get_soc_bb)(
                        struct dml2_soc_bb *soc_bb,
                        const struct dc *dc,
                        const struct dml2_configuration_options *config);
        void (*get_ip_caps)(struct dml2_ip_capabilities *dml_ip_caps);
-       /**
-        * get_utm_qos_model - Return the static UTM QoS model for this DCN
-        *     generation. Caller provides storage for @qos_model and @dchub.
-        * @qos_model: output — populated with SoC bounding box and SOP table
-        * @dchub: output — populated with DCHUB client extension data
-        */
-       void (*get_utm_qos_model)(
-                       struct utm_qos_model *qos_model,
-                       struct utm_qos_model_dchub_v2 *dchub);
 };
 
 struct soc_and_ip_translator {
-- 
2.43.0

Reply via email to