blob: fee03a5dd5964353bf0d3698c5059b1219c1025c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
/* SPDX-License-Identifier: MIT */
/*
* Copyright 2026 Advanced Micro Devices, Inc.
*/
#pragma once
#include "dc.h"
#include "inc/dc_core_interface.h"
struct dc2 {
/* First member: TO_DC2 is a typed upcast, not container_of. */
struct dc dc;
enum dc2_selection selection;
};
#define TO_DC2(ptr) ((struct dc2 *)(ptr))
void api_shim_construct(struct dc *dc, const struct dc_init_data *init_params);
|