0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 #ifndef __DC_HWSS_DCE110_H__
0027 #define __DC_HWSS_DCE110_H__
0028
0029 #include "core_types.h"
0030 #include "hw_sequencer_private.h"
0031
0032 struct dc;
0033 struct dc_state;
0034 struct dm_pp_display_configuration;
0035
0036 void dce110_hw_sequencer_construct(struct dc *dc);
0037
0038 enum dc_status dce110_apply_ctx_to_hw(
0039 struct dc *dc,
0040 struct dc_state *context);
0041
0042
0043 void dce110_enable_stream(struct pipe_ctx *pipe_ctx);
0044
0045 void dce110_disable_stream(struct pipe_ctx *pipe_ctx);
0046
0047 void dce110_unblank_stream(struct pipe_ctx *pipe_ctx,
0048 struct dc_link_settings *link_settings);
0049
0050 void dce110_blank_stream(struct pipe_ctx *pipe_ctx);
0051
0052 void dce110_enable_audio_stream(struct pipe_ctx *pipe_ctx);
0053 void dce110_disable_audio_stream(struct pipe_ctx *pipe_ctx);
0054
0055 void dce110_update_info_frame(struct pipe_ctx *pipe_ctx);
0056
0057 void dce110_set_avmute(struct pipe_ctx *pipe_ctx, bool enable);
0058 void dce110_enable_accelerated_mode(struct dc *dc, struct dc_state *context);
0059
0060 void dce110_power_down(struct dc *dc);
0061
0062 void dce110_set_safe_displaymarks(
0063 struct resource_context *res_ctx,
0064 const struct resource_pool *pool);
0065
0066 void dce110_prepare_bandwidth(
0067 struct dc *dc,
0068 struct dc_state *context);
0069
0070 void dce110_optimize_bandwidth(
0071 struct dc *dc,
0072 struct dc_state *context);
0073
0074 void dp_receiver_power_ctrl(struct dc_link *link, bool on);
0075
0076 void dce110_edp_power_control(
0077 struct dc_link *link,
0078 bool power_up);
0079
0080 void dce110_edp_backlight_control(
0081 struct dc_link *link,
0082 bool enable);
0083
0084 void dce110_edp_wait_for_hpd_ready(
0085 struct dc_link *link,
0086 bool power_up);
0087
0088 bool dce110_set_backlight_level(struct pipe_ctx *pipe_ctx,
0089 uint32_t backlight_pwm_u16_16,
0090 uint32_t frame_ramp);
0091 void dce110_set_abm_immediate_disable(struct pipe_ctx *pipe_ctx);
0092 void dce110_set_pipe(struct pipe_ctx *pipe_ctx);
0093
0094 #endif
0095