Home
last modified time | relevance | path

Searched refs:panel_inst (Results 1 – 15 of 15) sorted by relevance

/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/
Ddmub_abm.c38 static unsigned int abm_feature_support(struct abm *abm, unsigned int panel_inst) in abm_feature_support() argument
49 if (panel_inst == i) in abm_feature_support()
109 static bool dmub_abm_set_pause_ex(struct abm *abm, bool pause, unsigned int panel_inst, unsigned in… in dmub_abm_set_pause_ex() argument
114 feature_support = abm_feature_support(abm, panel_inst); in dmub_abm_set_pause_ex()
117 ret = dmub_abm_set_pause(abm, pause, panel_inst, stream_inst); in dmub_abm_set_pause_ex()
133 unsigned int panel_inst, in dmub_abm_save_restore_ex() argument
140 feature_support = abm_feature_support(abm, panel_inst); in dmub_abm_save_restore_ex()
143 ret = dmub_abm_save_restore(dc, panel_inst, pData); in dmub_abm_save_restore_ex()
151 uint32_t panel_inst, in dmub_abm_set_pipe_ex() argument
157 feature_support = abm_feature_support(abm, panel_inst); in dmub_abm_set_pipe_ex()
[all …]
Ddmub_psr.h40 struct psr_context *psr_context, uint8_t panel_inst);
42 uint8_t panel_inst);
44 uint8_t panel_inst);
46 uint8_t panel_inst);
47 void (*psr_force_static)(struct dmub_psr *dmub, uint8_t panel_inst);
49 uint8_t panel_inst);
52 void (*psr_set_power_opt)(struct dmub_psr *dmub, unsigned int power_opt, uint8_t panel_inst);
Ddmub_psr.c105 static void dmub_psr_get_state(struct dmub_psr *dmub, enum dc_psr_state *state, uint8_t panel_inst) in dmub_psr_get_state() argument
114 status = dmub_srv_send_gpint_command(srv, DMUB_GPINT__GET_PSR_STATE, panel_inst, 30); in dmub_psr_get_state()
142 …ool dmub_psr_set_version(struct dmub_psr *dmub, struct dc_stream_state *stream, uint8_t panel_inst) in dmub_psr_set_version() argument
170 cmd.psr_set_version.psr_set_version_data.panel_inst = panel_inst; in dmub_psr_set_version()
181 static void dmub_psr_enable(struct dmub_psr *dmub, bool enable, bool wait, uint8_t panel_inst) in dmub_psr_enable() argument
192 cmd.psr_enable.data.panel_inst = panel_inst; in dmub_psr_enable()
209 dmub_psr_get_state(dmub, &state, panel_inst); in dmub_psr_enable()
232 static void dmub_psr_set_level(struct dmub_psr *dmub, uint16_t psr_level, uint8_t panel_inst) in dmub_psr_set_level() argument
238 dmub_psr_get_state(dmub, &state, panel_inst); in dmub_psr_set_level()
249 cmd.psr_set_level.psr_set_level_data.panel_inst = panel_inst; in dmub_psr_set_level()
[all …]
Ddmub_replay.c39 … void dmub_replay_get_state(struct dmub_replay *dmub, enum replay_state *state, uint8_t panel_inst) in dmub_replay_get_state() argument
48 status = dmub_srv_send_gpint_command(srv, DMUB_GPINT__GET_REPLAY_STATE, panel_inst, 30); in dmub_replay_get_state()
68 static void dmub_replay_enable(struct dmub_replay *dmub, bool enable, bool wait, uint8_t panel_inst) in dmub_replay_enable() argument
77 cmd.replay_enable.data.panel_inst = panel_inst; in dmub_replay_enable()
95 dmub_replay_get_state(dmub, &state, panel_inst); in dmub_replay_enable()
118 …oid dmub_replay_set_power_opt(struct dmub_replay *dmub, unsigned int power_opt, uint8_t panel_inst) in dmub_replay_set_power_opt() argument
128 cmd.replay_set_power_opt.replay_set_power_opt_data.panel_inst = panel_inst; in dmub_replay_set_power_opt()
139 uint8_t panel_inst) in dmub_replay_copy_settings() argument
187 copy_settings_data->panel_inst = panel_inst; in dmub_replay_copy_settings()
223 uint8_t panel_inst) in dmub_replay_set_coasting_vtotal() argument
[all …]
Ddmub_replay.h41 uint8_t panel_inst);
43 uint8_t panel_inst);
45 struct replay_context *replay_context, uint8_t panel_inst);
47 uint8_t panel_inst);
49 uint8_t panel_inst);
51 uint8_t panel_inst, uint32_t *residency, const bool is_start, const bool is_alpm);
Ddmub_abm_lcd.h42 bool dmub_abm_set_pause(struct abm *abm, bool pause, unsigned int panel_inst, unsigned int stream_i…
45 unsigned int panel_inst,
47 bool dmub_abm_set_pipe(struct abm *abm, uint32_t otg_inst, uint32_t option, uint32_t panel_inst, ui…
51 unsigned int panel_inst);
Ddmub_abm_lcd.c193 bool dmub_abm_set_pause(struct abm *abm, bool pause, unsigned int panel_inst, unsigned int stream_i… in dmub_abm_set_pause() argument
197 uint8_t panel_mask = 0x01 << panel_inst; in dmub_abm_set_pause()
225 unsigned int panel_inst, in dmub_abm_save_restore() argument
229 uint8_t panel_mask = 0x01 << panel_inst; in dmub_abm_save_restore()
260 uint32_t panel_inst, in dmub_abm_set_pipe() argument
273 cmd.abm_set_pipe.abm_set_pipe_data.panel_inst = panel_inst; in dmub_abm_set_pipe()
285 unsigned int panel_inst) in dmub_abm_set_backlight_level() argument
296 cmd.abm_set_backlight.abm_set_backlight_data.panel_mask = (0x01 << panel_inst); in dmub_abm_set_backlight_level()
Ddce_abm.c58 static bool dce_abm_set_pipe(struct abm *abm, uint32_t controller_id, uint32_t panel_inst) in dce_abm_set_pipe() argument
220 static bool dce_abm_immediate_disable(struct abm *abm, uint32_t panel_inst) in dce_abm_immediate_disable() argument
225 dce_abm_set_pipe(abm, MCP_DISABLE_ABM_IMMEDIATELY, panel_inst); in dce_abm_immediate_disable()
235 unsigned int panel_inst) in dce_abm_set_backlight_level_pwm() argument
246 panel_inst); in dce_abm_set_backlight_level_pwm()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/inc/hw/
Dabm.h41 bool (*set_abm_immediate_disable)(struct abm *abm, unsigned int panel_inst);
42 bool (*set_pipe)(struct abm *abm, unsigned int controller_id, unsigned int panel_inst);
51 unsigned int panel_inst);
59 bool (*set_abm_pause)(struct abm *abm, bool pause, unsigned int panel_inst, unsigned int otg_inst);
62 unsigned int panel_inst,
67 unsigned int panel_inst,
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_edp_panel_control.c549 unsigned int panel_inst; in edp_set_psr_allow_active() local
554 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst)) in edp_set_psr_allow_active()
567 psr->funcs->psr_set_power_opt(psr, link->psr_settings.psr_power_opt, panel_inst); in edp_set_psr_allow_active()
572 psr->funcs->psr_force_static(psr, panel_inst); in edp_set_psr_allow_active()
582 psr->funcs->psr_enable(psr, link->psr_settings.psr_allow_active, wait, panel_inst); in edp_set_psr_allow_active()
597 unsigned int panel_inst; in edp_get_psr_state() local
599 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst)) in edp_get_psr_state()
603 psr->funcs->psr_get_state(psr, state, panel_inst); in edp_get_psr_state()
655 unsigned int panel_inst; in edp_setup_psr() local
672 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst)) in edp_setup_psr()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c105 unsigned int panel_inst; in clk_mgr_exit_optimized_pwr_state() local
112 for (panel_inst = 0; panel_inst < edp_num; panel_inst++) { in clk_mgr_exit_optimized_pwr_state()
115 edp_link = edp_links[panel_inst]; in clk_mgr_exit_optimized_pwr_state()
131 unsigned int panel_inst; in clk_mgr_optimize_pwr_state() local
135 for (panel_inst = 0; panel_inst < edp_num; panel_inst++) { in clk_mgr_optimize_pwr_state()
136 edp_link = edp_links[panel_inst]; in clk_mgr_optimize_pwr_state()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_hwseq.c141 uint32_t option, uint32_t panel_inst, uint32_t pwrseq_inst) in dmub_abm_set_pipe() argument
153 cmd.abm_set_pipe.abm_set_pipe_data.panel_inst = panel_inst; in dmub_abm_set_pipe()
163 uint32_t frame_ramp, uint32_t panel_inst) in dmub_abm_set_backlight() argument
173 cmd.abm_set_backlight.abm_set_backlight_data.panel_mask = (0x01 << panel_inst); in dmub_abm_set_backlight()
/linux-6.6.21/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h467 uint16_t panel_inst; member
2267 uint8_t panel_inst; member
2325 uint8_t panel_inst; member
2352 uint8_t panel_inst; member
2396 uint8_t panel_inst; member
2427 uint8_t panel_inst; member
2502 uint8_t panel_inst; member
2640 uint8_t panel_inst; member
2687 uint8_t panel_inst; member
2725 uint8_t panel_inst; member
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/
Ddc_dmub_srv.c408 unsigned int panel_inst = 0; in dc_dmub_srv_get_visual_confirm_color_cmd() local
410 dc_get_edp_link_panel_inst(dc, pipe_ctx->stream->link, &panel_inst); in dc_dmub_srv_get_visual_confirm_color_cmd()
419 cmd.visual_confirm_color.visual_confirm_color_data.visual_confirm_color.panel_inst = panel_inst; in dc_dmub_srv_get_visual_confirm_color_cmd()
913 unsigned int panel_inst = 0; in dc_build_cursor_update_payload0() local
916 pipe_ctx->stream->link, &panel_inst)) in dc_build_cursor_update_payload0()
931 payload->panel_inst = panel_inst; in dc_build_cursor_update_payload0()
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/
Ddc.c3273 unsigned int panel_inst = 0; in dc_dmub_update_dirty_rect() local
3278 if (!dc_get_edp_link_panel_inst(dc, stream->link, &panel_inst)) in dc_dmub_update_dirty_rect()
3309 update_dirty_rect->panel_inst = panel_inst; in dc_dmub_update_dirty_rect()
3328 unsigned int panel_inst = 0; in build_dmub_update_dirty_rect() local
3333 if (!dc_get_edp_link_panel_inst(dc, stream->link, &panel_inst)) in build_dmub_update_dirty_rect()
3363 update_dirty_rect->panel_inst = panel_inst; in build_dmub_update_dirty_rect()