hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h
....@@ -27,8 +27,8 @@
2727 #define __DC_HWSS_DCE110_H__
2828
2929 #include "core_types.h"
30
+#include "hw_sequencer_private.h"
3031
31
-#define GAMMA_HW_POINTS_NUM 256
3232 struct dc;
3333 struct dc_state;
3434 struct dm_pp_display_configuration;
....@@ -40,10 +40,9 @@
4040 struct dc_state *context);
4141
4242
43
-
4443 void dce110_enable_stream(struct pipe_ctx *pipe_ctx);
4544
46
-void dce110_disable_stream(struct pipe_ctx *pipe_ctx, int option);
45
+void dce110_disable_stream(struct pipe_ctx *pipe_ctx);
4746
4847 void dce110_unblank_stream(struct pipe_ctx *pipe_ctx,
4948 struct dc_link_settings *link_settings);
....@@ -51,7 +50,7 @@
5150 void dce110_blank_stream(struct pipe_ctx *pipe_ctx);
5251
5352 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);
5554
5655 void dce110_update_info_frame(struct pipe_ctx *pipe_ctx);
5756
....@@ -64,25 +63,33 @@
6463 struct resource_context *res_ctx,
6564 const struct resource_pool *pool);
6665
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);
7069
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);
7273
7374 void dp_receiver_power_ctrl(struct dc_link *link, bool on);
7475
75
-void hwss_edp_power_control(
76
+void dce110_edp_power_control(
7677 struct dc_link *link,
7778 bool power_up);
7879
79
-void hwss_edp_backlight_control(
80
+void dce110_edp_backlight_control(
8081 struct dc_link *link,
8182 bool enable);
8283
83
-void hwss_edp_wait_for_hpd_ready(
84
+void dce110_edp_wait_for_hpd_ready(
8485 struct dc_link *link,
8586 bool power_up);
8687
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
+
8794 #endif /* __DC_HWSS_DCE110_H__ */
8895