File Index
Files and directories
Sign in
FILE

soc_and_ip_translator.h

File preview with syntax highlighting.

linux-6.19.14/drivers/gpu/drm/amd/display/dc/inc/soc_and_ip_translator.h C
 1// SPDX-License-Identifier: MIT
 2//
 3// Copyright 2025 Advanced Micro Devices, Inc.
 4
 5#ifndef __SOC_AND_IP_TRANSLATOR_H__
 6#define __SOC_AND_IP_TRANSLATOR_H__
 7
 8#include "dc.h"
 9#include "dml_top_soc_parameter_types.h"
10
11struct soc_and_ip_translator_funcs {
12	void (*get_soc_bb)(struct dml2_soc_bb *soc_bb, const struct dc *dc, const struct dml2_configuration_options *config);
13	void (*get_ip_caps)(struct dml2_ip_capabilities *dml_ip_caps);
14};
15
16struct soc_and_ip_translator {
17	const struct soc_and_ip_translator_funcs *translator_funcs;
18};
19
20struct soc_and_ip_translator *dc_create_soc_and_ip_translator(enum dce_version dc_version);
21void dc_destroy_soc_and_ip_translator(struct soc_and_ip_translator **soc_and_ip_translator);
22
23
24#endif // __SOC_AND_IP_TRANSLATOR_H__
~/ Read-only file preview.