1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26 #ifndef __DC_HWSS_DCN20_H__
27 #define __DC_HWSS_DCN20_H__
28
29 struct dc;
30
31 void dcn20_hw_sequencer_construct(struct dc *dc);
32
33 enum dc_status dcn20_enable_stream_timing(
34 struct pipe_ctx *pipe_ctx,
35 struct dc_state *context,
36 struct dc *dc);
37
38 void dcn20_blank_pixel_data(
39 struct dc *dc,
40 struct pipe_ctx *pipe_ctx,
41 bool blank);
42
43 void dcn20_program_output_csc(struct dc *dc,
44 struct pipe_ctx *pipe_ctx,
45 enum dc_color_space colorspace,
46 uint16_t *matrix,
47 int opp_id);
48
49 void dcn20_prepare_bandwidth(
50 struct dc *dc,
51 struct dc_state *context);
52
53 void dcn20_optimize_bandwidth(
54 struct dc *dc,
55 struct dc_state *context);
56
57 bool dcn20_update_bandwidth(
58 struct dc *dc,
59 struct dc_state *context);
60
61 void dcn20_disable_writeback(
62 struct dc *dc,
63 unsigned int dwb_pipe_inst);
64
65 bool dcn20_hwss_wait_for_blank_complete(
66 struct output_pixel_processor *opp);
67
68 bool dcn20_set_output_transfer_func(struct pipe_ctx *pipe_ctx,
69 const struct dc_stream_state *stream);
70
71 bool dcn20_set_input_transfer_func(struct pipe_ctx *pipe_ctx,
72 const struct dc_plane_state *plane_state);
73
74 bool dcn20_dmdata_status_done(struct pipe_ctx *pipe_ctx);
75
76 void dcn20_set_dmdata_attributes(struct pipe_ctx *pipe_ctx);
77
78 void dcn20_disable_stream(struct pipe_ctx *pipe_ctx);
79
80 void dcn20_program_tripleBuffer(
81 const struct dc *dc,
82 struct pipe_ctx *pipe_ctx,
83 bool enableTripleBuffer);
84
85 void dcn20_setup_vupdate_interrupt(struct pipe_ctx *pipe_ctx);
86
87 void dcn20_pipe_control_lock_global(
88 struct dc *dc,
89 struct pipe_ctx *pipe,
90 bool lock);
91 void dcn20_setup_gsl_group_as_lock(const struct dc *dc,
92 struct pipe_ctx *pipe_ctx,
93 bool enable);
94 void dcn20_dccg_init(struct dce_hwseq *hws);
95 void dcn20_init_blank(
96 struct dc *dc,
97 struct timing_generator *tg);
98 void dcn20_display_init(struct dc *dc);
99 #endif