]> git.hungrycats.org Git - linux/commitdiff
drm/amd/display: Remove get_utm_qos_model from soc_and_ip_translator
authorWenjing Liu <wenjing.liu@amd.com>
Thu, 28 May 2026 20:43:26 +0000 (16:43 -0400)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 17 Jun 2026 20:14:34 +0000 (16:14 -0400)
[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 <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/soc_and_ip_translator.h

index 6a97a3e28bd2ce2acc52ab406f87bd970390229f..5dcb9f8f4dafe27abbebd07b475d81c04452ef7b 100644 (file)
@@ -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 {