| .. | .. |
|---|
| 27 | 27 | #define __DC_HWSS_DCE110_H__ |
|---|
| 28 | 28 | |
|---|
| 29 | 29 | #include "core_types.h" |
|---|
| 30 | +#include "hw_sequencer_private.h" |
|---|
| 30 | 31 | |
|---|
| 31 | | -#define GAMMA_HW_POINTS_NUM 256 |
|---|
| 32 | 32 | struct dc; |
|---|
| 33 | 33 | struct dc_state; |
|---|
| 34 | 34 | struct dm_pp_display_configuration; |
|---|
| .. | .. |
|---|
| 40 | 40 | struct dc_state *context); |
|---|
| 41 | 41 | |
|---|
| 42 | 42 | |
|---|
| 43 | | - |
|---|
| 44 | 43 | void dce110_enable_stream(struct pipe_ctx *pipe_ctx); |
|---|
| 45 | 44 | |
|---|
| 46 | | -void dce110_disable_stream(struct pipe_ctx *pipe_ctx, int option); |
|---|
| 45 | +void dce110_disable_stream(struct pipe_ctx *pipe_ctx); |
|---|
| 47 | 46 | |
|---|
| 48 | 47 | void dce110_unblank_stream(struct pipe_ctx *pipe_ctx, |
|---|
| 49 | 48 | struct dc_link_settings *link_settings); |
|---|
| .. | .. |
|---|
| 51 | 50 | void dce110_blank_stream(struct pipe_ctx *pipe_ctx); |
|---|
| 52 | 51 | |
|---|
| 53 | 52 | void dce110_enable_audio_stream(struct pipe_ctx *pipe_ctx); |
|---|
| 54 | | -void dce110_disable_audio_stream(struct pipe_ctx *pipe_ctx, int option); |
|---|
| 53 | +void dce110_disable_audio_stream(struct pipe_ctx *pipe_ctx); |
|---|
| 55 | 54 | |
|---|
| 56 | 55 | void dce110_update_info_frame(struct pipe_ctx *pipe_ctx); |
|---|
| 57 | 56 | |
|---|
| .. | .. |
|---|
| 64 | 63 | struct resource_context *res_ctx, |
|---|
| 65 | 64 | const struct resource_pool *pool); |
|---|
| 66 | 65 | |
|---|
| 67 | | -void dce110_fill_display_configs( |
|---|
| 68 | | - const struct dc_state *context, |
|---|
| 69 | | - struct dm_pp_display_configuration *pp_display_cfg); |
|---|
| 66 | +void dce110_prepare_bandwidth( |
|---|
| 67 | + struct dc *dc, |
|---|
| 68 | + struct dc_state *context); |
|---|
| 70 | 69 | |
|---|
| 71 | | -uint32_t dce110_get_min_vblank_time_us(const struct dc_state *context); |
|---|
| 70 | +void dce110_optimize_bandwidth( |
|---|
| 71 | + struct dc *dc, |
|---|
| 72 | + struct dc_state *context); |
|---|
| 72 | 73 | |
|---|
| 73 | 74 | void dp_receiver_power_ctrl(struct dc_link *link, bool on); |
|---|
| 74 | 75 | |
|---|
| 75 | | -void hwss_edp_power_control( |
|---|
| 76 | +void dce110_edp_power_control( |
|---|
| 76 | 77 | struct dc_link *link, |
|---|
| 77 | 78 | bool power_up); |
|---|
| 78 | 79 | |
|---|
| 79 | | -void hwss_edp_backlight_control( |
|---|
| 80 | +void dce110_edp_backlight_control( |
|---|
| 80 | 81 | struct dc_link *link, |
|---|
| 81 | 82 | bool enable); |
|---|
| 82 | 83 | |
|---|
| 83 | | -void hwss_edp_wait_for_hpd_ready( |
|---|
| 84 | +void dce110_edp_wait_for_hpd_ready( |
|---|
| 84 | 85 | struct dc_link *link, |
|---|
| 85 | 86 | bool power_up); |
|---|
| 86 | 87 | |
|---|
| 88 | +bool dce110_set_backlight_level(struct pipe_ctx *pipe_ctx, |
|---|
| 89 | + uint32_t backlight_pwm_u16_16, |
|---|
| 90 | + uint32_t frame_ramp); |
|---|
| 91 | +void dce110_set_abm_immediate_disable(struct pipe_ctx *pipe_ctx); |
|---|
| 92 | +void dce110_set_pipe(struct pipe_ctx *pipe_ctx); |
|---|
| 93 | + |
|---|
| 87 | 94 | #endif /* __DC_HWSS_DCE110_H__ */ |
|---|
| 88 | 95 | |
|---|