mirror of
https://github.com/torvalds/linux.git
synced 2026-09-24 06:24:02 +02:00
drm/amd/display: Remove get_utm_qos_model from soc_and_ip_translator
[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>
This commit is contained in:
parent
d00531ce78
commit
234acf1e0a
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user