Home
last modified time | relevance | path

Searched refs:hwss (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v6.6/drivers/gpu/drm/amd/display/dc/core/
Ddc_stream.c272 dc->hwss.cursor_lock(dc, pipe_to_program, true); in program_cursor_attributes()
274 dc->hwss.cursor_lock(dc, pipe_to_program->next_odm_pipe, true); in program_cursor_attributes()
277 dc->hwss.set_cursor_attribute(pipe_ctx); in program_cursor_attributes()
280 if (dc->hwss.set_cursor_sdr_white_level) in program_cursor_attributes()
281 dc->hwss.set_cursor_sdr_white_level(pipe_ctx); in program_cursor_attributes()
285 dc->hwss.cursor_lock(dc, pipe_to_program, false); in program_cursor_attributes()
287 dc->hwss.cursor_lock(dc, pipe_to_program->next_odm_pipe, false); in program_cursor_attributes()
303 return (dc->hwss.optimize_timing_for_fsft && in dc_optimize_timing_for_fsft()
304 dc->hwss.optimize_timing_for_fsft(dc, &pStream->timing, max_input_rate_in_khz)); in dc_optimize_timing_for_fsft()
421 dc->hwss.cursor_lock(dc, pipe_to_program, true); in program_cursor_position()
[all …]
Ddc.c420 dc->hwss.set_drr(&pipe, in dc_stream_adjust_vmin_vmax()
486 dc->hwss.get_position(&pipe, 1, &position); in dc_stream_get_crtc_position()
745 dc->hwss.program_gamut_remap(pipes); in dc_stream_set_gamut_remap()
764 dc->hwss.program_output_csc(dc, in dc_stream_program_csc_matrix()
797 dc->hwss.set_static_screen_control(pipes_affected, num_pipes_affected, params); in dc_stream_set_static_screen_params()
1055 if (dc->hwss.interdependent_update_lock) in apply_ctx_interdependent_lock()
1056 dc->hwss.interdependent_update_lock(dc, context, lock); in apply_ctx_interdependent_lock()
1066 dc->hwss.pipe_control_lock(dc, pipe_ctx, lock); in apply_ctx_interdependent_lock()
1219 if (dc->hwss.apply_ctx_for_surface) { in disable_dangling_plane()
1221 dc->hwss.apply_ctx_for_surface(dc, old_stream, 0, dangling_context); in disable_dangling_plane()
[all …]
Ddc_vm_helper.c42 if (dc->hwss.init_sys_ctx) { in dc_setup_system_context()
43 num_vmids = dc->hwss.init_sys_ctx(dc->hwseq, dc, pa_config); in dc_setup_system_context()
58 dc->hwss.init_vm_ctx(dc->hwseq, dc, va_config, vmid); in dc_setup_vm_context()
Ddc_hw_sequencer.c488 if (dc->hwss.subvp_pipe_control_lock_fast) { in hwss_build_fast_sequence()
495 if (dc->hwss.pipe_control_lock) { in hwss_build_fast_sequence()
515 …if (dc->hwss.set_flip_control_gsl && current_mpc_pipe->plane_state && current_mpc_pipe->plane_stat… in hwss_build_fast_sequence()
521 …if (dc->hwss.program_triplebuffer && dc->debug.enable_tri_buf && current_mpc_pipe->plane_state->up… in hwss_build_fast_sequence()
528 if (dc->hwss.update_plane_addr && current_mpc_pipe->plane_state->update_flags.bits.addr_update) { in hwss_build_fast_sequence()
543 …if (dc->hwss.program_gamut_remap && current_mpc_pipe->plane_state->update_flags.bits.gamut_remap_c… in hwss_build_fast_sequence()
594 if (dc->hwss.pipe_control_lock) { in hwss_build_fast_sequence()
601 if (dc->hwss.subvp_pipe_control_lock_fast) { in hwss_build_fast_sequence()
641 dc->hwss.subvp_pipe_control_lock_fast(params); in hwss_execute_sequence()
644 dc->hwss.pipe_control_lock(params->pipe_control_lock_params.dc, in hwss_execute_sequence()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce80/
Ddce80_hw_sequencer.c50 dc->hwss.pipe_control_lock = dce_pipe_control_lock; in dce80_hw_sequencer_construct()
51 dc->hwss.prepare_bandwidth = dce100_prepare_bandwidth; in dce80_hw_sequencer_construct()
52 dc->hwss.optimize_bandwidth = dce100_optimize_bandwidth; in dce80_hw_sequencer_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/accessories/
Dlink_fpga.c54 dc->hwss.enable_stream(pipe_ctx); in dp_fpga_hpo_enable_link_and_stream()
92 dc->hwss.unblank_stream(pipe_ctx, &stream->link->cur_link_settings); in dp_fpga_hpo_enable_link_and_stream()
93 dc->hwss.enable_audio_stream(pipe_ctx); in dp_fpga_hpo_enable_link_and_stream()
Dlink_dp_cts.c489 } else if (link->dc->hwss.set_disp_pattern_generator) { in set_crtc_test_pattern()
515 link->dc->hwss.set_disp_pattern_generator(link->dc, in set_crtc_test_pattern()
529 link->dc->hwss.set_disp_pattern_generator(link->dc, in set_crtc_test_pattern()
551 } else if (link->dc->hwss.set_disp_pattern_generator) { in set_crtc_test_pattern()
558 link->dc->hwss.set_disp_pattern_generator(link->dc, in set_crtc_test_pattern()
572 link->dc->hwss.set_disp_pattern_generator(link->dc, in set_crtc_test_pattern()
698 link->dc->hwss.unblank_stream( in dp_set_test_pattern()
735 link->dc->hwss.blank_stream(pipe_ctx); in dp_set_test_pattern()
912 link->dc->hwss.update_info_frame(pipe_ctx); in dp_set_test_pattern()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce60/
Ddce60_hw_sequencer.c411 dc->hwss.update_plane_addr(dc, pipe_ctx); in dce60_apply_ctx_for_surface()
426 dc->hwss.apply_ctx_for_surface = dce60_apply_ctx_for_surface; in dce60_hw_sequencer_construct()
427 dc->hwss.cursor_lock = dce60_pipe_control_lock; in dce60_hw_sequencer_construct()
428 dc->hwss.pipe_control_lock = dce60_pipe_control_lock; in dce60_hw_sequencer_construct()
429 dc->hwss.prepare_bandwidth = dce100_prepare_bandwidth; in dce60_hw_sequencer_construct()
430 dc->hwss.optimize_bandwidth = dce100_optimize_bandwidth; in dce60_hw_sequencer_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c409 dc->hwss.disable_writeback(dc, wb_info.dwb_pipe_inst); in dcn30_program_all_writeback_pipes_in_tree()
417 dc->hwss.update_writeback(dc, &wb_info, context); in dcn30_program_all_writeback_pipes_in_tree()
420 dc->hwss.enable_writeback(dc, &wb_info, context); in dcn30_program_all_writeback_pipes_in_tree()
424 dc->hwss.disable_writeback(dc, wb_info.dwb_pipe_inst); in dcn30_program_all_writeback_pipes_in_tree()
544 dc->hwss.edp_backlight_control && in dcn30_init_hw()
545 dc->hwss.power_down && in dcn30_init_hw()
546 dc->hwss.edp_power_control) { in dcn30_init_hw()
547 dc->hwss.edp_backlight_control(edp_link, false); in dcn30_init_hw()
548 dc->hwss.power_down(dc); in dcn30_init_hw()
549 dc->hwss.edp_power_control(edp_link, false); in dcn30_init_hw()
[all …]
Ddcn30_init.c151 dc->hwss = dcn30_funcs; in dcn30_hw_sequencer_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce100/
Ddce100_hw_sequencer.c139 dc->hwss.prepare_bandwidth = dce100_prepare_bandwidth; in dce100_hw_sequencer_construct()
140 dc->hwss.optimize_bandwidth = dce100_optimize_bandwidth; in dce100_hw_sequencer_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/clk_mgr/
Dclk_mgr.c108 if (dc->hwss.exit_optimized_pwr_state) in clk_mgr_exit_optimized_pwr_state()
109 dc->hwss.exit_optimized_pwr_state(dc, dc->current_state); in clk_mgr_exit_optimized_pwr_state()
146 if (dc->hwss.optimize_pwr_state) in clk_mgr_optimize_pwr_state()
147 dc->hwss.optimize_pwr_state(dc, dc->current_state); in clk_mgr_optimize_pwr_state()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn20/
Ddcn20_hwseq.c589 dc->hwss.wait_for_mpcc_disconnect(dc, dc->res_pool, pipe_ctx); in dcn20_plane_atomic_disable()
600 dc->hwss.set_flip_control_gsl(pipe_ctx, false); in dcn20_plane_atomic_disable()
1073 dc->hwss.set_abm_immediate_disable(pipe_ctx); in dcn20_blank_pixel_data()
1086 dc->hwss.set_disp_pattern_generator(dc, in dcn20_blank_pixel_data()
1099 dc->hwss.set_disp_pattern_generator(dc, in dcn20_blank_pixel_data()
1111 dc->hwss.set_pipe(pipe_ctx); in dcn20_blank_pixel_data()
1595 dc->hwss.set_cursor_position(pipe_ctx); in dcn20_update_dchubp_dpp()
1596 dc->hwss.set_cursor_attribute(pipe_ctx); in dcn20_update_dchubp_dpp()
1598 if (dc->hwss.set_cursor_sdr_white_level) in dcn20_update_dchubp_dpp()
1599 dc->hwss.set_cursor_sdr_white_level(pipe_ctx); in dcn20_update_dchubp_dpp()
[all …]
Ddcn20_init.c145 dc->hwss = dcn20_funcs; in dcn20_hw_sequencer_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn32/
Ddcn32_hwseq.c856 if (dc->hwss.enable_accelerated_mode && dc->debug.disable_boot_optimizations) in dcn32_init_hw()
857 dc->hwss.enable_accelerated_mode(dc, dc->current_state); in dcn32_init_hw()
893 dc->hwss.edp_backlight_control && in dcn32_init_hw()
894 dc->hwss.power_down && in dcn32_init_hw()
895 dc->hwss.edp_power_control) { in dcn32_init_hw()
896 dc->hwss.edp_backlight_control(edp_link, false); in dcn32_init_hw()
897 dc->hwss.power_down(dc); in dcn32_init_hw()
898 dc->hwss.edp_power_control(edp_link, false); in dcn32_init_hw()
907 dc->hwss.power_down) { in dcn32_init_hw()
908 dc->hwss.power_down(dc); in dcn32_init_hw()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn10/
Ddcn10_hw_sequencer.c118 dc->hwss.pipe_control_lock(dc, pipe_ctx, true); in dcn10_lock_all_pipes()
120 dc->hwss.pipe_control_lock(dc, pipe_ctx, false); in dcn10_lock_all_pipes()
864 dc->hwss.wait_for_mpcc_disconnect(dc, dc->res_pool, old_pipe_ctx); in false_optc_underflow_wa()
1025 dc->hwss.disable_audio_stream(pipe_ctx); in dcn10_reset_back_end_for_pipe()
1048 dc->hwss.set_abm_immediate_disable(pipe_ctx); in dcn10_reset_back_end_for_pipe()
1263 dc->hwss.wait_for_mpcc_disconnect(dc, dc->res_pool, pipe_ctx); in dcn10_plane_atomic_disable()
1420 dc->hwss.disable_plane(dc, pipe_ctx); in dcn10_init_pipes()
1632 dc->hwss.power_down && in dcn10_power_down_on_boot()
1633 dc->hwss.edp_power_control) { in dcn10_power_down_on_boot()
1635 dc->hwss.power_down(dc); in dcn10_power_down_on_boot()
[all …]
Ddcn10_init.c126 dc->hwss = dcn10_funcs; in dcn10_hw_sequencer_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
Dlink_dp_phy.c65 link->dc->hwss.enable_dp_link_output(link, link_res, signal, in dp_enable_link_phy()
79 dc->hwss.disable_link_output(link, link_res, signal); in dp_disable_link_phy()
Dlink_edp_panel_control.c358 link->dc->hwss.edp_power_control(link, true); in edp_panel_backlight_power_on()
360 link->dc->hwss.edp_wait_for_hpd_ready(link, true); in edp_panel_backlight_power_on()
361 if (link->dc->hwss.edp_backlight_control) in edp_panel_backlight_power_on()
362 link->dc->hwss.edp_backlight_control(link, true); in edp_panel_backlight_power_on()
367 if (link->connector_signal == SIGNAL_TYPE_EDP && link->dc->hwss.edp_wait_for_T12) { in edp_wait_for_t12()
368 link->dc->hwss.edp_wait_for_T12(link); in edp_wait_for_t12()
499 dc->hwss.set_backlight_level( in edp_set_backlight_level()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/link/
Dlink_dpms.c721 dc->hwss.set_avmute(pipe_ctx, enable); in set_avmute()
1934 link->dc->hwss.edp_power_control(link, false); in disable_link_dp()
1955 link->dc->hwss.disable_link_output(link, link_res, signal); in disable_link()
2024 dc->hwss.enable_tmds_link_output( in enable_link_hdmi()
2091 link->dc->hwss.edp_power_control(link, true); in enable_link_dp()
2092 link->dc->hwss.edp_wait_for_hpd_ready(link, true); in enable_link_dp()
2171 dc->hwss.enable_lvds_link_output( in enable_link_lvds()
2291 dc->hwss.disable_audio_stream(pipe_ctx); in link_set_dpms_off()
2294 dc->hwss.blank_stream(pipe_ctx); in link_set_dpms_off()
2338 dc->hwss.disable_stream(pipe_ctx); in link_set_dpms_off()
[all …]
DMakefile48 AMD_DAL_LINK_HWSS = $(addprefix $(AMDDALPATH)/dc/link/hwss/, \
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn201/
Ddcn201_init.c134 dc->hwss = dcn201_funcs; in dcn201_hw_sequencer_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn21/
Ddcn21_init.c151 dc->hwss = dcn21_funcs; in dcn21_hw_sequencer_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dcn301/
Ddcn301_init.c152 dc->hwss = dcn301_funcs; in dcn301_hw_sequencer_construct()
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dce120/
Ddce120_hw_sequencer.c266 dc->hwss.update_dchub = dce120_update_dchub; in dce120_hw_sequencer_construct()

12