xref: /linux/drivers/gpu/drm/amd/display/dc/dc_fused_io.h (revision b08494a8f7416e5f09907318c5460ad6f6e2a548)
1 /* SPDX-License-Identifier: MIT */
2 /*
3  * Copyright 2025 Advanced Micro Devices, Inc.
4  */
5 
6 #ifndef __DC_FUSED_IO_H__
7 #define __DC_FUSED_IO_H__
8 
9 #include "dc.h"
10 #include "mod_hdcp.h"
11 
12 bool dm_atomic_write_poll_read_i2c(
13 		struct dc_link *link,
14 		const struct mod_hdcp_atomic_op_i2c *write,
15 		const struct mod_hdcp_atomic_op_i2c *poll,
16 		struct mod_hdcp_atomic_op_i2c *read,
17 		uint32_t poll_timeout_us,
18 		uint8_t poll_mask_msb
19 );
20 
21 bool dm_atomic_write_poll_read_aux(
22 		struct dc_link *link,
23 		const struct mod_hdcp_atomic_op_aux *write,
24 		const struct mod_hdcp_atomic_op_aux *poll,
25 		struct mod_hdcp_atomic_op_aux *read,
26 		uint32_t poll_timeout_us,
27 		uint8_t poll_mask_msb
28 );
29 
30 #endif  // __DC_FUSED_IO_H__
31 
32