2 * Copyright 2012-14 Advanced Micro Devices, Inc.
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the "Software"),
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
11 * The above copyright notice and this permission notice shall be included in
12 * all copies or substantial portions of the Software.
14 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
17 * THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
18 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
19 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
20 * OTHER DEALINGS IN THE SOFTWARE.
26 #ifndef DC_INTERFACE_H_
27 #define DC_INTERFACE_H_
30 #include "grph_object_defs.h"
31 #include "logger_types.h"
32 #include "gpio_types.h"
33 #include "link_service_types.h"
35 #define MAX_SURFACES 3
37 #define MAX_SINKS_PER_LINK 4
39 /*******************************************************************************
40 * Display Core Interfaces
41 ******************************************************************************/
47 uint32_t max_slave_planes
;
48 uint32_t max_surfaces
;
49 uint32_t max_downscale_ratio
;
50 uint32_t i2c_speed_in_khz
;
52 unsigned int max_cursor_size
;
56 struct dc_dcc_surface_param
{
57 enum surface_pixel_format format
;
58 struct dc_size surface_size
;
59 enum swizzle_mode_values swizzle_mode
;
60 enum dc_scan_direction scan
;
63 struct dc_dcc_setting
{
64 unsigned int max_compressed_blk_size
;
65 unsigned int max_uncompressed_blk_size
;
66 bool independent_64b_blks
;
69 struct dc_surface_dcc_cap
{
71 bool const_color_support
;
75 struct dc_dcc_setting rgb
;
79 struct dc_dcc_setting luma
;
80 struct dc_dcc_setting chroma
;
85 /* Forward declaration*/
88 struct validate_context
;
94 struct dc_stream_funcs
{
95 bool (*adjust_vmin_vmax
)(struct dc
*dc
,
96 const struct dc_stream
**stream
,
101 void (*stream_update_scaling
)(const struct dc
*dc
,
102 const struct dc_stream
*dc_stream
,
103 const struct rect
*src
,
104 const struct rect
*dst
);
105 bool (*set_gamut_remap
)(struct dc
*dc
,
106 const struct dc_stream
**stream
, int num_streams
);
107 bool (*set_psr_enable
)(struct dc
*dc
, bool enable
);
108 bool (*setup_psr
)(struct dc
*dc
, const struct dc_stream
*stream
);
111 struct link_training_settings
;
113 struct dc_link_funcs
{
114 void (*set_drive_settings
)(struct dc
*dc
,
115 struct link_training_settings
*lt_settings
,
116 const struct dc_link
*link
);
117 void (*perform_link_training
)(struct dc
*dc
,
118 struct dc_link_settings
*link_setting
,
119 bool skip_video_pattern
);
120 void (*set_preferred_link_settings
)(struct dc
*dc
,
121 struct dc_link_settings
*link_setting
,
122 const struct dc_link
*link
);
123 void (*enable_hpd
)(const struct dc_link
*link
);
124 void (*disable_hpd
)(const struct dc_link
*link
);
125 void (*set_test_pattern
)(
126 const struct dc_link
*link
,
127 enum dp_test_pattern test_pattern
,
128 const struct link_training_settings
*p_link_settings
,
129 const unsigned char *p_custom_pattern
,
130 unsigned int cust_pattern_size
);
133 /* Structure to hold configuration flags set by dm at dc creation. */
136 bool disable_disp_pll_sharing
;
140 bool surface_visual_confirm
;
144 bool validation_trace
;
145 bool disable_stutter
;
147 bool disable_dfs_bypass
;
148 bool disable_pplib_clock_request
;
149 bool disable_clock_gate
;
151 bool force_abm_enable
;
156 struct dc_cap_funcs cap_funcs
;
157 struct dc_stream_funcs stream_funcs
;
158 struct dc_link_funcs link_funcs
;
159 struct dc_config config
;
160 struct dc_debug debug
;
163 enum frame_buffer_mode
{
164 FRAME_BUFFER_MODE_LOCAL_ONLY
= 0,
165 FRAME_BUFFER_MODE_ZFB_ONLY
,
166 FRAME_BUFFER_MODE_MIXED_ZFB_AND_LOCAL
,
169 struct dchub_init_data
{
170 bool dchub_initialzied
;
171 bool dchub_info_valid
;
172 int64_t zfb_phys_addr_base
;
173 int64_t zfb_mc_base_addr
;
174 uint64_t zfb_size_in_byte
;
175 enum frame_buffer_mode fb_mode
;
178 struct dc_init_data
{
179 struct hw_asic_id asic_id
;
180 void *driver
; /* ctx */
181 struct cgs_device
*cgs_device
;
183 int num_virtual_links
;
185 * If 'vbios_override' not NULL, it will be called instead
186 * of the real VBIOS. Intended use is Diagnostics on FPGA.
188 struct dc_bios
*vbios_override
;
189 enum dce_environment dce_environment
;
191 struct dc_config flags
;
194 struct dc
*dc_create(const struct dc_init_data
*init_params
);
196 void dc_destroy(struct dc
**dc
);
198 bool dc_init_dchub(struct dc
*dc
, struct dchub_init_data
*dh_data
);
200 /*******************************************************************************
202 ******************************************************************************/
205 TRANSFER_FUNC_POINTS
= 1025
208 struct dc_hdr_static_metadata
{
212 /* display chromaticities and white point in units of 0.00001 */
213 unsigned int chromaticity_green_x
;
214 unsigned int chromaticity_green_y
;
215 unsigned int chromaticity_blue_x
;
216 unsigned int chromaticity_blue_y
;
217 unsigned int chromaticity_red_x
;
218 unsigned int chromaticity_red_y
;
219 unsigned int chromaticity_white_point_x
;
220 unsigned int chromaticity_white_point_y
;
222 uint32_t min_luminance
;
223 uint32_t max_luminance
;
224 uint32_t maximum_content_light_level
;
225 uint32_t maximum_frame_average_light_level
;
228 enum dc_transfer_func_type
{
230 TF_TYPE_DISTRIBUTED_POINTS
,
234 struct dc_transfer_func_distributed_points
{
235 struct fixed31_32 red
[TRANSFER_FUNC_POINTS
];
236 struct fixed31_32 green
[TRANSFER_FUNC_POINTS
];
237 struct fixed31_32 blue
[TRANSFER_FUNC_POINTS
];
239 uint16_t end_exponent
;
240 uint16_t x_point_at_y1_red
;
241 uint16_t x_point_at_y1_green
;
242 uint16_t x_point_at_y1_blue
;
245 enum dc_transfer_func_predefined
{
246 TRANSFER_FUNCTION_SRGB
,
247 TRANSFER_FUNCTION_BT709
,
248 TRANSFER_FUNCTION_PQ
,
249 TRANSFER_FUNCTION_LINEAR
,
252 struct dc_transfer_func
{
253 enum dc_transfer_func_type type
;
254 enum dc_transfer_func_predefined tf
;
255 struct dc_transfer_func_distributed_points tf_pts
;
261 struct dc_plane_address address
;
263 struct scaling_taps scaling_quality
;
264 struct rect src_rect
;
265 struct rect dst_rect
;
266 struct rect clip_rect
;
268 union plane_size plane_size
;
269 union dc_tiling_info tiling_info
;
270 struct dc_plane_dcc_param dcc
;
271 enum dc_color_space color_space
;
273 enum surface_pixel_format format
;
274 enum dc_rotation_angle rotation
;
275 bool horizontal_mirror
;
276 enum plane_stereo_format stereo_format
;
278 struct dc_hdr_static_metadata hdr_static_ctx
;
280 const struct dc_gamma
*gamma_correction
;
281 const struct dc_transfer_func
*in_transfer_func
;
284 struct dc_plane_info
{
285 union plane_size plane_size
;
286 union dc_tiling_info tiling_info
;
287 struct dc_plane_dcc_param dcc
;
288 enum surface_pixel_format format
;
289 enum dc_rotation_angle rotation
;
290 bool horizontal_mirror
;
291 enum plane_stereo_format stereo_format
;
292 enum dc_color_space color_space
; /*todo: wrong place, fits in scaling info*/
296 struct dc_scaling_info
{
297 struct rect src_rect
;
298 struct rect dst_rect
;
299 struct rect clip_rect
;
300 struct scaling_taps scaling_quality
;
303 struct dc_surface_update
{
304 const struct dc_surface
*surface
;
306 /* isr safe update parameters. null means no updates */
307 struct dc_flip_addrs
*flip_addr
;
308 struct dc_plane_info
*plane_info
;
309 struct dc_scaling_info
*scaling_info
;
310 /* following updates require alloc/sleep/spin that is not isr safe,
311 * null means no updates
313 /* gamma TO BE REMOVED */
314 struct dc_gamma
*gamma
;
315 struct dc_hdr_static_metadata
*hdr_static_metadata
;
316 struct dc_transfer_func
*in_transfer_func
;
317 struct dc_transfer_func
*out_transfer_func
;
322 * This structure is filled in by dc_surface_get_status and contains
323 * the last requested address and the currently active address so the called
324 * can determine if there are any outstanding flips
326 struct dc_surface_status
{
327 struct dc_plane_address requested_address
;
328 struct dc_plane_address current_address
;
329 bool is_flip_pending
;
333 * Create a new surface with default parameters;
335 struct dc_surface
*dc_create_surface(const struct dc
*dc
);
336 const struct dc_surface_status
*dc_surface_get_status(
337 const struct dc_surface
*dc_surface
);
339 void dc_surface_retain(const struct dc_surface
*dc_surface
);
340 void dc_surface_release(const struct dc_surface
*dc_surface
);
342 void dc_gamma_retain(const struct dc_gamma
*dc_gamma
);
343 void dc_gamma_release(const struct dc_gamma
**dc_gamma
);
344 struct dc_gamma
*dc_create_gamma(void);
346 void dc_transfer_func_retain(const struct dc_transfer_func
*dc_tf
);
347 void dc_transfer_func_release(const struct dc_transfer_func
*dc_tf
);
348 struct dc_transfer_func
*dc_create_transfer_func(void);
351 * This structure holds a surface address. There could be multiple addresses
352 * in cases such as Stereo 3D, Planar YUV, etc. Other per-flip attributes such
353 * as frame durations and DCC format can also be set.
355 struct dc_flip_addrs
{
356 struct dc_plane_address address
;
358 /* TODO: add flip duration for FreeSync */
362 * Optimized flip address update function.
365 * Surface addresses and flip attributes are programmed.
366 * Surface flip occur at next configured time (h_sync or v_sync flip)
368 void dc_flip_surface_addrs(struct dc
*dc
,
369 const struct dc_surface
*const surfaces
[],
370 struct dc_flip_addrs flip_addrs
[],
374 * Set up surface attributes and associate to a stream
375 * The surfaces parameter is an absolute set of all surface active for the stream.
376 * If no surfaces are provided, the stream will be blanked; no memory read.
377 * Any flip related attribute changes must be done through this interface.
380 * Surfaces attributes are programmed and configured to be composed into stream.
381 * This does not trigger a flip. No surface address is programmed.
384 bool dc_commit_surfaces_to_stream(
386 const struct dc_surface
**dc_surfaces
,
387 uint8_t surface_count
,
388 const struct dc_stream
*stream
);
390 bool dc_pre_update_surfaces_to_stream(
392 const struct dc_surface
*const *new_surfaces
,
393 uint8_t new_surface_count
,
394 const struct dc_stream
*stream
);
396 bool dc_post_update_surfaces_to_stream(
399 void dc_update_surfaces_for_stream(struct dc
*dc
, struct dc_surface_update
*updates
,
400 int surface_count
, const struct dc_stream
*stream
);
402 enum surface_update_type
{
403 UPDATE_TYPE_FAST
, /* super fast, safe to execute in isr */
404 UPDATE_TYPE_MED
, /* a lot of programming needed. may need to alloc */
405 UPDATE_TYPE_FULL
, /* may need to shuffle resources */
408 /*******************************************************************************
410 ******************************************************************************/
412 const struct dc_sink
*sink
;
413 struct dc_crtc_timing timing
;
415 enum dc_color_space output_color_space
;
417 struct rect src
; /* composition area */
418 struct rect dst
; /* stream addressable area */
420 struct audio_info audio_info
;
422 bool ignore_msa_timing_param
;
424 struct freesync_context freesync_ctx
;
426 const struct dc_transfer_func
*out_transfer_func
;
427 struct colorspace_transform gamut_remap_matrix
;
428 struct csc_transform csc_color_matrix
;
430 /* TODO: dithering */
431 /* TODO: custom INFO packets */
432 /* TODO: ABM info (DMCU) */
437 struct dc_stream_update
{
447 * Setup stream attributes if no stream updates are provided
448 * there will be no impact on the stream parameters
450 * Set up surface attributes and associate to a stream
451 * The surfaces parameter is an absolute set of all surface active for the stream.
452 * If no surfaces are provided, the stream will be blanked; no memory read.
453 * Any flip related attribute changes must be done through this interface.
456 * Surfaces attributes are programmed and configured to be composed into stream.
457 * This does not trigger a flip. No surface address is programmed.
461 void dc_update_surfaces_and_stream(struct dc
*dc
,
462 struct dc_surface_update
*surface_updates
, int surface_count
,
463 const struct dc_stream
*dc_stream
,
464 struct dc_stream_update
*stream_update
);
467 * Log the current stream state.
470 const struct dc_stream
*stream
,
471 struct dal_logger
*dc_logger
,
472 enum dc_log_type log_type
);
474 uint8_t dc_get_current_stream_count(const struct dc
*dc
);
475 struct dc_stream
*dc_get_stream_at_index(const struct dc
*dc
, uint8_t i
);
478 * Return the current frame counter.
480 uint32_t dc_stream_get_vblank_counter(const struct dc_stream
*stream
);
482 /* TODO: Return parsed values rather than direct register read
483 * This has a dependency on the caller (amdgpu_get_crtc_scanoutpos)
484 * being refactored properly to be dce-specific
486 uint32_t dc_stream_get_scanoutpos(
487 const struct dc_stream
*stream
, uint32_t *vbl
, uint32_t *position
);
490 * Structure to store surface/stream associations for validation
492 struct dc_validation_set
{
493 const struct dc_stream
*stream
;
494 const struct dc_surface
*surfaces
[MAX_SURFACES
];
495 uint8_t surface_count
;
499 * This function takes a set of resources and checks that they are cofunctional.
502 * No hardware is programmed for call. Only validation is done.
504 bool dc_validate_resources(
506 const struct dc_validation_set set
[],
510 * This function takes a stream and checks if it is guaranteed to be supported.
511 * Guaranteed means that MAX_COFUNC similar streams are supported.
514 * No hardware is programmed for call. Only validation is done.
517 bool dc_validate_guaranteed(
519 const struct dc_stream
*stream
);
522 * Set up streams and links associated to drive sinks
523 * The streams parameter is an absolute set of all active streams.
526 * Phy, Encoder, Timing Generator are programmed and enabled.
527 * New streams are enabled with blank stream; no memory read.
529 bool dc_commit_streams(
531 const struct dc_stream
*streams
[],
532 uint8_t stream_count
);
535 * Create a new default stream for the requested sink
537 struct dc_stream
*dc_create_stream_for_sink(const struct dc_sink
*dc_sink
);
539 void dc_stream_retain(const struct dc_stream
*dc_stream
);
540 void dc_stream_release(const struct dc_stream
*dc_stream
);
542 struct dc_stream_status
{
543 int primary_otg_inst
;
545 const struct dc_surface
*surfaces
[MAX_SURFACE_NUM
];
548 * link this stream passes through
550 const struct dc_link
*link
;
553 const struct dc_stream_status
*dc_stream_get_status(
554 const struct dc_stream
*dc_stream
);
556 enum surface_update_type
dc_check_update_surfaces_for_stream(
558 struct dc_surface_update
*updates
,
560 struct dc_stream_update
*stream_update
,
561 const struct dc_stream_status
*stream_status
);
563 /*******************************************************************************
565 ******************************************************************************/
568 * A link contains one or more sinks and their connected status.
569 * The currently active signal type (HDMI, DP-SST, DP-MST) is also reported.
572 const struct dc_sink
*remote_sinks
[MAX_SINKS_PER_LINK
];
573 unsigned int sink_count
;
574 const struct dc_sink
*local_sink
;
575 unsigned int link_index
;
576 enum dc_connection_type type
;
577 enum signal_type connector_signal
;
578 enum dc_irq_source irq_source_hpd
;
579 enum dc_irq_source irq_source_hpd_rx
;/* aka DP Short Pulse */
580 /* caps is the same as reported_link_cap. link_traing use
581 * reported_link_cap. Will clean up. TODO
583 struct dc_link_settings reported_link_cap
;
584 struct dc_link_settings verified_link_cap
;
585 struct dc_link_settings max_link_setting
;
586 struct dc_link_settings cur_link_settings
;
587 struct dc_lane_settings cur_lane_setting
;
590 uint8_t link_enc_hw_inst
;
592 struct psr_caps psr_caps
;
593 bool test_pattern_enabled
;
594 union compliance_test_state compliance_test_state
;
601 union dpcd_rev dpcd_rev
;
602 union max_lane_count max_ln_count
;
603 union max_down_spread max_down_spread
;
605 /* dongle type (DP converter, CV smart dongle) */
606 enum display_dongle_type dongle_type
;
607 /* Dongle's downstream count. */
608 union sink_count sink_count
;
609 /* If dongle_type == DISPLAY_DONGLE_DP_HDMI_CONVERTER,
610 indicates 'Frame Sequential-to-lllFrame Pack' conversion capability.*/
611 bool is_dp_hdmi_s3d_converter
;
613 bool allow_invalid_MSA_timing_param
;
615 uint32_t sink_dev_id
;
616 uint32_t branch_dev_id
;
617 int8_t branch_dev_name
[6];
618 int8_t branch_hw_revision
;
621 struct dc_link_status
{
622 struct dpcd_caps
*dpcd_caps
;
625 const struct dc_link_status
*dc_link_get_status(const struct dc_link
*dc_link
);
628 * Return an enumerated dc_link. dc_link order is constant and determined at
629 * boot time. They cannot be created or destroyed.
630 * Use dc_get_caps() to get number of links.
632 const struct dc_link
*dc_get_link_at_index(const struct dc
*dc
, uint32_t link_index
);
634 /* Return id of physical connector represented by a dc_link at link_index.*/
635 const struct graphics_object_id
dc_get_link_id_at_index(
636 struct dc
*dc
, uint32_t link_index
);
638 /* Set backlight level of an embedded panel (eDP, LVDS). */
639 bool dc_link_set_backlight_level(const struct dc_link
*dc_link
, uint32_t level
,
640 uint32_t frame_ramp
, const struct dc_stream
*stream
);
642 bool dc_link_set_psr_enable(const struct dc_link
*dc_link
, bool enable
);
644 bool dc_link_setup_psr(const struct dc_link
*dc_link
,
645 const struct dc_stream
*stream
);
647 /* Request DC to detect if there is a Panel connected.
648 * boot - If this call is during initial boot.
649 * Return false for any type of detection failure or MST detection
650 * true otherwise. True meaning further action is required (status update
651 * and OS notification).
653 bool dc_link_detect(const struct dc_link
*dc_link
, bool boot
);
655 /* Notify DC about DP RX Interrupt (aka Short Pulse Interrupt).
657 * true - Downstream port status changed. DM should call DC to do the
659 * false - no change in Downstream port status. No further action required
661 bool dc_link_handle_hpd_rx_irq(const struct dc_link
*dc_link
);
663 struct dc_sink_init_data
;
665 struct dc_sink
*dc_link_add_remote_sink(
666 const struct dc_link
*dc_link
,
669 struct dc_sink_init_data
*init_data
);
671 void dc_link_remove_remote_sink(
672 const struct dc_link
*link
,
673 const struct dc_sink
*sink
);
675 /* Used by diagnostics for virtual link at the moment */
676 void dc_link_set_sink(const struct dc_link
*link
, struct dc_sink
*sink
);
678 void dc_link_dp_set_drive_settings(
679 struct dc_link
*link
,
680 struct link_training_settings
*lt_settings
);
682 bool dc_link_dp_perform_link_training(
683 struct dc_link
*link
,
684 const struct dc_link_settings
*link_setting
,
685 bool skip_video_pattern
);
687 void dc_link_dp_enable_hpd(const struct dc_link
*link
);
689 void dc_link_dp_disable_hpd(const struct dc_link
*link
);
691 bool dc_link_dp_set_test_pattern(
692 const struct dc_link
*link
,
693 enum dp_test_pattern test_pattern
,
694 const struct link_training_settings
*p_link_settings
,
695 const unsigned char *p_custom_pattern
,
696 unsigned int cust_pattern_size
);
698 /*******************************************************************************
699 * Sink Interfaces - A sink corresponds to a display output device
700 ******************************************************************************/
702 struct dc_container_id
{
703 // 128bit GUID in binary form
704 unsigned char guid
[16];
705 // 8 byte port ID -> ELD.PortID
706 unsigned int portId
[2];
707 // 128bit GUID in binary formufacturer name -> ELD.ManufacturerName
708 unsigned short manufacturerName
;
709 // 2 byte product code -> ELD.ProductCode
710 unsigned short productCode
;
714 * The sink structure contains EDID and other display device properties
717 enum signal_type sink_signal
;
718 struct dc_edid dc_edid
; /* raw edid */
719 struct dc_edid_caps edid_caps
; /* parse display caps */
720 struct dc_container_id
*dc_container_id
;
721 uint32_t dongle_max_pix_clk
;
722 bool converter_disable_audio
;
726 void dc_sink_retain(const struct dc_sink
*sink
);
727 void dc_sink_release(const struct dc_sink
*sink
);
729 const struct audio
**dc_get_audios(struct dc
*dc
);
731 struct dc_sink_init_data
{
732 enum signal_type sink_signal
;
733 const struct dc_link
*link
;
734 uint32_t dongle_max_pix_clk
;
735 bool converter_disable_audio
;
738 struct dc_sink
*dc_sink_create(const struct dc_sink_init_data
*init_params
);
739 bool dc_sink_get_container_id(struct dc_sink
*dc_sink
, struct dc_container_id
*container_id
);
740 bool dc_sink_set_container_id(struct dc_sink
*dc_sink
, const struct dc_container_id
*container_id
);
742 /*******************************************************************************
743 * Cursor interfaces - To manages the cursor within a stream
744 ******************************************************************************/
745 /* TODO: Deprecated once we switch to dc_set_cursor_position */
746 bool dc_stream_set_cursor_attributes(
747 const struct dc_stream
*stream
,
748 const struct dc_cursor_attributes
*attributes
);
750 bool dc_stream_set_cursor_position(
751 const struct dc_stream
*stream
,
752 struct dc_cursor_position
*position
);
754 /* Newer interfaces */
756 struct dc_plane_address address
;
757 struct dc_cursor_attributes attributes
;
760 /*******************************************************************************
761 * Interrupt interfaces
762 ******************************************************************************/
763 enum dc_irq_source
dc_interrupt_to_irq_source(
767 void dc_interrupt_set(const struct dc
*dc
, enum dc_irq_source src
, bool enable
);
768 void dc_interrupt_ack(struct dc
*dc
, enum dc_irq_source src
);
769 enum dc_irq_source
dc_get_hpd_irq_source_at_index(
770 struct dc
*dc
, uint32_t link_index
);
772 /*******************************************************************************
774 ******************************************************************************/
776 void dc_set_power_state(
778 enum dc_acpi_cm_power_state power_state
);
779 void dc_resume(const struct dc
*dc
);
781 /*******************************************************************************
783 ******************************************************************************/
785 const struct ddc_service
*dc_get_ddc_at_index(
786 struct dc
*dc
, uint32_t link_index
);
789 * DPCD access interfaces
792 bool dc_read_aux_dpcd(
799 bool dc_write_aux_dpcd(
806 bool dc_read_aux_i2c(
809 enum i2c_mot_mode mot
,
814 bool dc_write_aux_i2c(
817 enum i2c_mot_mode mot
,
822 bool dc_query_ddc_data(
834 struct i2c_command
*cmd
);
837 #endif /* DC_INTERFACE_H_ */