Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/gpu/drm/amd/display/dc/core/
H A 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 …]
H A 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()
1056 if (dc->hwss.interdependent_update_lock) in apply_ctx_interdependent_lock()
1057 dc->hwss.interdependent_update_lock(dc, context, lock); in apply_ctx_interdependent_lock()
1067 dc->hwss.pipe_control_lock(dc, pipe_ctx, lock); in apply_ctx_interdependent_lock()
1163 if (dc->hwss.blank_phantom) in disable_dangling_plane()
1164 dc->hwss.blank_phantom(dc, tg, main_pipe_width, main_pipe_height); in disable_dangling_plane()
[all …]
H A 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()
H A 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 …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce80/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_edp_panel_control.c366 link->dc->hwss.edp_power_control(link, true); in edp_panel_backlight_power_on()
368 link->dc->hwss.edp_wait_for_hpd_ready(link, true); in edp_panel_backlight_power_on()
369 if (link->dc->hwss.edp_backlight_control) in edp_panel_backlight_power_on()
370 link->dc->hwss.edp_backlight_control(link, true); in edp_panel_backlight_power_on()
378 link->dc->hwss.edp_power_control(link, true); in edp_set_panel_power()
379 link->dc->hwss.edp_wait_for_hpd_ready(link, true); in edp_set_panel_power()
382 if (link->dc->hwss.edp_backlight_control) in edp_set_panel_power()
383 link->dc->hwss.edp_backlight_control(link, true); in edp_set_panel_power()
392 if (link->dc->hwss.edp_backlight_control) in edp_set_panel_power()
393 link->dc->hwss.edp_backlight_control(link, false); in edp_set_panel_power()
[all …]
H A Dlink_dp_phy.c65 link->dc->hwss.enable_dp_link_output(link, link_res, signal, in dp_enable_link_phy()
80 dc->hwss.disable_link_output(link, link_res, signal); in dp_disable_link_phy()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/accessories/
H A 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()
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce60/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn30/
H A Ddcn30_hwseq.c413 dc->hwss.disable_writeback(dc, wb_info.dwb_pipe_inst); in dcn30_program_all_writeback_pipes_in_tree()
421 dc->hwss.update_writeback(dc, &wb_info, context); in dcn30_program_all_writeback_pipes_in_tree()
424 dc->hwss.enable_writeback(dc, &wb_info, context); in dcn30_program_all_writeback_pipes_in_tree()
428 dc->hwss.disable_writeback(dc, wb_info.dwb_pipe_inst); in dcn30_program_all_writeback_pipes_in_tree()
548 dc->hwss.edp_backlight_control && in dcn30_init_hw()
549 dc->hwss.power_down && in dcn30_init_hw()
550 dc->hwss.edp_power_control) { in dcn30_init_hw()
551 dc->hwss.edp_backlight_control(edp_link, false); in dcn30_init_hw()
552 dc->hwss.power_down(dc); in dcn30_init_hw()
553 dc->hwss.edp_power_control(edp_link, false); in dcn30_init_hw()
[all …]
H A Ddcn30_init.c151 dc->hwss = dcn30_funcs; in dcn30_hw_sequencer_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dce100/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn20/
H A 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()
1074 dc->hwss.set_abm_immediate_disable(pipe_ctx); in dcn20_blank_pixel_data()
1087 dc->hwss.set_disp_pattern_generator(dc, in dcn20_blank_pixel_data()
1100 dc->hwss.set_disp_pattern_generator(dc, in dcn20_blank_pixel_data()
1112 dc->hwss.set_pipe(pipe_ctx); in dcn20_blank_pixel_data()
1596 dc->hwss.set_cursor_position(pipe_ctx); in dcn20_update_dchubp_dpp()
1597 dc->hwss.set_cursor_attribute(pipe_ctx); in dcn20_update_dchubp_dpp()
1599 if (dc->hwss.set_cursor_sdr_white_level) in dcn20_update_dchubp_dpp()
1600 dc->hwss.set_cursor_sdr_white_level(pipe_ctx); in dcn20_update_dchubp_dpp()
[all …]
H A Ddcn20_init.c145 dc->hwss = dcn20_funcs; in dcn20_hw_sequencer_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/
H A 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()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn32/
H A Ddcn32_hwseq.c860 if (dc->hwss.enable_accelerated_mode && dc->debug.disable_boot_optimizations) in dcn32_init_hw()
861 dc->hwss.enable_accelerated_mode(dc, dc->current_state); in dcn32_init_hw()
897 dc->hwss.edp_backlight_control && in dcn32_init_hw()
898 dc->hwss.power_down && in dcn32_init_hw()
899 dc->hwss.edp_power_control) { in dcn32_init_hw()
900 dc->hwss.edp_backlight_control(edp_link, false); in dcn32_init_hw()
901 dc->hwss.power_down(dc); in dcn32_init_hw()
902 dc->hwss.edp_power_control(edp_link, false); in dcn32_init_hw()
911 dc->hwss.power_down) { in dcn32_init_hw()
912 dc->hwss.power_down(dc); in dcn32_init_hw()
[all …]
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn10/
H A Ddcn10_hw_sequencer.c119 dc->hwss.pipe_control_lock(dc, pipe_ctx, true); in dcn10_lock_all_pipes()
121 dc->hwss.pipe_control_lock(dc, pipe_ctx, false); in dcn10_lock_all_pipes()
865 dc->hwss.wait_for_mpcc_disconnect(dc, dc->res_pool, old_pipe_ctx); in false_optc_underflow_wa()
1026 dc->hwss.disable_audio_stream(pipe_ctx); in dcn10_reset_back_end_for_pipe()
1049 dc->hwss.set_abm_immediate_disable(pipe_ctx); in dcn10_reset_back_end_for_pipe()
1265 dc->hwss.wait_for_mpcc_disconnect(dc, dc->res_pool, pipe_ctx); in dcn10_plane_atomic_disable()
1422 dc->hwss.disable_plane(dc, pipe_ctx); in dcn10_init_pipes()
1634 dc->hwss.power_down && in dcn10_power_down_on_boot()
1635 dc->hwss.edp_power_control) { in dcn10_power_down_on_boot()
1637 dc->hwss.power_down(dc); in dcn10_power_down_on_boot()
[all …]
H A Ddcn10_init.c126 dc->hwss = dcn10_funcs; in dcn10_hw_sequencer_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/link/
H A Dlink_dpms.c721 dc->hwss.set_avmute(pipe_ctx, enable); in set_avmute()
1941 link->dc->hwss.edp_power_control(link, false); in disable_link_dp()
1962 link->dc->hwss.disable_link_output(link, link_res, signal); in disable_link()
2031 dc->hwss.enable_tmds_link_output( in enable_link_hdmi()
2092 link->dc->hwss.edp_power_control(link, true); in enable_link_dp()
2093 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()
2317 dc->hwss.disable_audio_stream(pipe_ctx); in link_set_dpms_off()
2320 dc->hwss.blank_stream(pipe_ctx); in link_set_dpms_off()
2367 dc->hwss.disable_stream(pipe_ctx); in link_set_dpms_off()
[all …]
H A DMakefile48 AMD_DAL_LINK_HWSS = $(addprefix $(AMDDALPATH)/dc/link/hwss/, \
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn201/
H A Ddcn201_init.c134 dc->hwss = dcn201_funcs; in dcn201_hw_sequencer_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn301/
H A Ddcn301_init.c152 dc->hwss = dcn301_funcs; in dcn301_hw_sequencer_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn21/
H A Ddcn21_init.c151 dc->hwss = dcn21_funcs; in dcn21_hw_sequencer_construct()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dcn31/
H A Ddcn31_init.c154 dc->hwss = dcn31_funcs; in dcn31_hw_sequencer_construct()

12