/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dce/ |
D | dmub_psr.h | 39 struct psr_context *psr_context, uint8_t panel_inst); 41 uint8_t panel_inst); 43 uint8_t panel_inst); 45 uint8_t panel_inst); 46 void (*psr_force_static)(struct dmub_psr *dmub, uint8_t panel_inst); 48 uint8_t panel_inst); 51 void (*psr_set_power_opt)(struct dmub_psr *dmub, unsigned int power_opt, uint8_t panel_inst);
|
D | dmub_psr.c | 100 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 109 status = dmub_srv_send_gpint_command(srv, DMUB_GPINT__GET_PSR_STATE, panel_inst, 30); in dmub_psr_get_state() 137 …ool dmub_psr_set_version(struct dmub_psr *dmub, struct dc_stream_state *stream, uint8_t panel_inst) in dmub_psr_set_version() argument 165 cmd.psr_set_version.psr_set_version_data.panel_inst = panel_inst; in dmub_psr_set_version() 178 static void dmub_psr_enable(struct dmub_psr *dmub, bool enable, bool wait, uint8_t panel_inst) in dmub_psr_enable() argument 189 cmd.psr_enable.data.panel_inst = panel_inst; in dmub_psr_enable() 208 dmub_psr_get_state(dmub, &state, panel_inst); in dmub_psr_enable() 230 static void dmub_psr_set_level(struct dmub_psr *dmub, uint16_t psr_level, uint8_t panel_inst) in dmub_psr_set_level() argument 236 dmub_psr_get_state(dmub, &state, panel_inst); in dmub_psr_set_level() 247 cmd.psr_set_level.psr_set_level_data.panel_inst = panel_inst; in dmub_psr_set_level() [all …]
|
D | dce_abm.c | 58 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()
|
D | dmub_abm.c | 206 static bool dmub_abm_set_pause(struct abm *abm, bool pause, unsigned int panel_inst, unsigned int s… in dmub_abm_set_pause() argument 210 uint8_t panel_mask = 0x01 << panel_inst; in dmub_abm_set_pause()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/inc/hw/ |
D | abm.h | 39 bool (*set_abm_immediate_disable)(struct abm *abm, unsigned int panel_inst); 40 bool (*set_pipe)(struct abm *abm, unsigned int controller_id, unsigned int panel_inst); 49 unsigned int panel_inst); 57 bool (*set_abm_pause)(struct abm *abm, bool pause, unsigned int panel_inst, unsigned int otg_inst);
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/clk_mgr/ |
D | clk_mgr.c | 104 unsigned int panel_inst; in clk_mgr_exit_optimized_pwr_state() local 111 for (panel_inst = 0; panel_inst < edp_num; panel_inst++) { in clk_mgr_exit_optimized_pwr_state() 114 edp_link = edp_links[panel_inst]; in clk_mgr_exit_optimized_pwr_state() 129 unsigned int panel_inst; in clk_mgr_optimize_pwr_state() local 133 for (panel_inst = 0; panel_inst < edp_num; panel_inst++) { in clk_mgr_optimize_pwr_state() 134 edp_link = edp_links[panel_inst]; in clk_mgr_optimize_pwr_state()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/inc/ |
D | dmub_cmd.h | 255 uint16_t panel_inst; member 1859 uint8_t panel_inst; member 1905 uint8_t panel_inst; member 1932 uint8_t panel_inst; member 1976 uint8_t panel_inst; member 2007 uint8_t panel_inst; member 2082 uint8_t panel_inst; member 2220 uint8_t panel_inst; member 2267 uint8_t panel_inst; member 2305 uint8_t panel_inst; member [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_hwseq.c | 140 …ic bool dmub_abm_set_pipe(struct abm *abm, uint32_t otg_inst, uint32_t option, uint32_t panel_inst) in dmub_abm_set_pipe() argument 151 cmd.abm_set_pipe.abm_set_pipe_data.panel_inst = panel_inst; in dmub_abm_set_pipe()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/ |
D | dc_dmub_srv.c | 397 unsigned int panel_inst = 0; in dc_dmub_srv_get_visual_confirm_color_cmd() local 399 dc_get_edp_link_panel_inst(dc, pipe_ctx->stream->link, &panel_inst); in dc_dmub_srv_get_visual_confirm_color_cmd() 408 cmd.visual_confirm_color.visual_confirm_color_data.visual_confirm_color.panel_inst = panel_inst; in dc_dmub_srv_get_visual_confirm_color_cmd() 905 unsigned int panel_inst = 0; in dc_build_cursor_update_payload0() local 908 pipe_ctx->stream->link, &panel_inst)) in dc_build_cursor_update_payload0() 923 payload->panel_inst = panel_inst; in dc_build_cursor_update_payload0()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_link.c | 3141 unsigned int panel_inst; in dc_link_set_psr_allow_active() local 3146 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst)) in dc_link_set_psr_allow_active() 3159 psr->funcs->psr_set_power_opt(psr, link->psr_settings.psr_power_opt, panel_inst); in dc_link_set_psr_allow_active() 3164 psr->funcs->psr_force_static(psr, panel_inst); in dc_link_set_psr_allow_active() 3174 psr->funcs->psr_enable(psr, link->psr_settings.psr_allow_active, wait, panel_inst); in dc_link_set_psr_allow_active() 3190 unsigned int panel_inst; in dc_link_get_psr_state() local 3192 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst)) in dc_link_get_psr_state() 3196 psr->funcs->psr_get_state(psr, state, panel_inst); in dc_link_get_psr_state() 3246 unsigned int panel_inst; in dc_link_setup_psr() local 3263 if (!dc_get_edp_link_panel_inst(dc, link, &panel_inst)) in dc_link_setup_psr() [all …]
|
D | dc.c | 3159 unsigned int panel_inst = 0; in dc_dmub_update_dirty_rect() local 3164 if (!dc_get_edp_link_panel_inst(dc, stream->link, &panel_inst)) in dc_dmub_update_dirty_rect() 3195 update_dirty_rect->panel_inst = panel_inst; in dc_dmub_update_dirty_rect()
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/bios/ |
D | command_table2.c | 1013 cmd.lvtma_control.data.panel_inst = in enable_lvtma_control_dmcub()
|