/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn201/ |
D | dcn201_hwseq.c | 85 static bool gpu_addr_to_uma(struct dce_hwseq *hwseq, in gpu_addr_to_uma() argument 90 if (hwseq->fb_base.quad_part <= addr->quad_part && in gpu_addr_to_uma() 91 addr->quad_part < hwseq->fb_top.quad_part) { in gpu_addr_to_uma() 92 addr->quad_part -= hwseq->fb_base.quad_part; in gpu_addr_to_uma() 93 addr->quad_part += hwseq->fb_offset.quad_part; in gpu_addr_to_uma() 95 } else if (hwseq->fb_offset.quad_part <= addr->quad_part && in gpu_addr_to_uma() 96 addr->quad_part <= hwseq->uma_top.quad_part) { in gpu_addr_to_uma() 104 static void plane_address_in_gpu_space_to_uma(struct dce_hwseq *hwseq, in plane_address_in_gpu_space_to_uma() argument 109 gpu_addr_to_uma(hwseq, &addr->grph.addr); in plane_address_in_gpu_space_to_uma() 110 gpu_addr_to_uma(hwseq, &addr->grph.meta_addr); in plane_address_in_gpu_space_to_uma() [all …]
|
D | dcn201_init.c | 135 dc->hwseq->funcs = dcn201_private_funcs; in dcn201_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn303/ |
D | dcn303_init.c | 18 dc->hwseq->funcs.dpp_pg_control = dcn303_dpp_pg_control; in dcn303_hw_sequencer_construct() 19 dc->hwseq->funcs.hubp_pg_control = dcn303_hubp_pg_control; in dcn303_hw_sequencer_construct() 20 dc->hwseq->funcs.dsc_pg_control = dcn303_dsc_pg_control; in dcn303_hw_sequencer_construct() 21 dc->hwseq->funcs.enable_power_gating_plane = dcn303_enable_power_gating_plane; in dcn303_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn302/ |
D | dcn302_init.c | 38 dc->hwseq->funcs.dpp_pg_control = dcn302_dpp_pg_control; in dcn302_hw_sequencer_construct() 39 dc->hwseq->funcs.hubp_pg_control = dcn302_hubp_pg_control; in dcn302_hw_sequencer_construct() 40 dc->hwseq->funcs.dsc_pg_control = dcn302_dsc_pg_control; in dcn302_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/core/ |
D | dc_vm_helper.c | 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()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn20/ |
D | dcn20_hwseq.c | 290 struct dce_hwseq *hws = dc->hwseq; in dcn20_init_blank() 585 struct dce_hwseq *hws = dc->hwseq; in dcn20_plane_atomic_disable() 676 struct dce_hwseq *hws = dc->hwseq; in dcn20_enable_stream_timing() 741 if (dc->hwseq->funcs.PLAT_58856_wa && (!dc_is_dp_signal(stream->signal))) in dcn20_enable_stream_timing() 742 dc->hwseq->funcs.PLAT_58856_wa(context, pipe_ctx); in dcn20_enable_stream_timing() 943 struct dce_hwseq *hws = dc->hwseq; in dcn20_set_input_transfer_func() 1149 dcn20_power_on_plane_resources(dc->hwseq, pipe_ctx); in dcn20_enable_plane() 1499 struct dce_hwseq *hws = dc->hwseq; in dcn20_update_dchubp_dpp() 1690 struct dce_hwseq *hws = dc->hwseq; in dcn20_program_pipe() 1793 struct dce_hwseq *hws = dc->hwseq; in dcn20_program_front_end_for_ctx() [all …]
|
D | dcn20_init.c | 146 dc->hwseq->funcs = dcn20_private_funcs; in dcn20_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn10/ |
D | dcn10_hw_sequencer.c | 129 struct dce_hwseq *hws = dc->hwseq; in log_mpc_crc() 758 struct dce_hwseq *hws = dc->hwseq; in undo_DEGVIDCN10_253_wa() 778 struct dce_hwseq *hws = dc->hwseq; in apply_DEGVIDCN10_253_wa() 808 struct dce_hwseq *hws = dc->hwseq; in dcn10_bios_golden_init() 854 if (!dc->hwseq->wa.false_optc_underflow) in false_optc_underflow_wa() 1183 struct dce_hwseq *hws = dc->hwseq; in dcn10_plane_atomic_disconnect() 1230 struct dce_hwseq *hws = dc->hwseq; in dcn10_plane_atomic_power_down() 1260 struct dce_hwseq *hws = dc->hwseq; in dcn10_plane_atomic_disable() 1293 struct dce_hwseq *hws = dc->hwseq; in dcn10_disable_plane() 1310 struct dce_hwseq *hws = dc->hwseq; in dcn10_init_pipes() [all …]
|
D | dcn10_init.c | 127 dc->hwseq->funcs = dcn10_private_funcs; in dcn10_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce80/ |
D | dce80_hw_sequencer.c | 49 dc->hwseq->funcs.enable_display_power_gating = dce100_enable_display_power_gating; in dce80_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn31/ |
D | dcn31_hwseq.c | 70 struct dce_hwseq *hws = dc->hwseq; in enable_memory_low_power() 111 struct dce_hwseq *hws = dc->hwseq; in dcn31_init_hw() 123 hws->funcs.disable_vga(dc->hwseq); in dcn31_init_hw() 180 hws->funcs.enable_power_gating_plane(dc->hwseq, true); in dcn31_init_hw() 570 struct dce_hwseq *hws = dc->hwseq; in dcn31_reset_hw_ctx_wrap()
|
D | dcn31_init.c | 155 dc->hwseq->funcs = dcn31_private_funcs; in dcn31_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce60/ |
D | dce60_hw_sequencer.c | 278 struct dce_hwseq *hws = dc->hwseq; in dce60_program_front_end_for_pipe() 286 dce_enable_fe_clock(dc->hwseq, mi->inst, true); in dce60_program_front_end_for_pipe() 425 dc->hwseq->funcs.enable_display_power_gating = dce100_enable_display_power_gating; in dce60_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 1196 if (pipe_ctx->stream->ctx->dc->hwseq->funcs.setup_hpo_hw_control) in dce110_disable_stream() 1197 pipe_ctx->stream->ctx->dc->hwseq->funcs.setup_hpo_hw_control( in dce110_disable_stream() 1198 pipe_ctx->stream->ctx->dc->hwseq, false); in dce110_disable_stream() 1208 struct dce_hwseq *hws = link->dc->hwseq; in dce110_unblank_stream() 1226 struct dce_hwseq *hws = link->dc->hwseq; in dce110_blank_stream() 1485 struct dce_hwseq *hws = dc->hwseq; in apply_single_controller_ctx_to_hw() 1739 struct dce_hwseq *hws = dc->hwseq; in dce110_enable_accelerated_mode() 2239 struct dce_hwseq *hws = dc->hwseq; in dce110_apply_ctx_to_hw() 2270 dce_crtc_switch_to_clk_src(dc->hwseq, in dce110_apply_ctx_to_hw() 2393 dce_set_blender_mode(dc->hwseq, pipe_ctx->stream_res.tg->inst, blender_mode); in program_surface_visibility() [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce100/ |
D | dce100_hw_sequencer.c | 138 dc->hwseq->funcs.enable_display_power_gating = dce100_enable_display_power_gating; in dce100_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce112/ |
D | dce112_hw_sequencer.c | 158 dc->hwseq->funcs.enable_display_power_gating = dce112_enable_display_power_gating; in dce112_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn32/ |
D | dcn32_hwseq.c | 524 struct dce_hwseq *hws = dc->hwseq; in dcn32_set_input_transfer_func() 709 struct dce_hwseq *hws = dc->hwseq; in dcn32_program_mall_pipe_config() 767 struct dce_hwseq *hws = dc->hwseq; in dcn32_init_hw() 783 hws->funcs.disable_vga(dc->hwseq); in dcn32_init_hw() 843 hws->funcs.enable_power_gating_plane(dc->hwseq, true); in dcn32_init_hw() 1234 struct dce_hwseq *hws = link->dc->hwseq; in dcn32_unblank_stream() 1441 struct dce_hwseq *hws = dc->hwseq; in dcn32_update_dsc_pg() 1501 struct dce_hwseq *hws = dc->hwseq; in dcn32_init_blank() 1584 struct dce_hwseq *hws = dc->hwseq; in dcn32_blank_phantom()
|
D | dcn32_init.c | 167 dc->hwseq->funcs = dcn32_private_funcs; in dcn32_hw_sequencer_init_functions()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/clk_mgr/dce120/ |
D | dce120_clk_mgr.c | 149 if (dce121_xgmi_enabled(ctx->dc->hwseq)) in dce121_clk_mgr_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn21/ |
D | dcn21_init.c | 152 dc->hwseq->funcs = dcn21_private_funcs; in dcn21_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn301/ |
D | dcn301_init.c | 153 dc->hwseq->funcs = dcn301_private_funcs; in dcn301_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce120/ |
D | dce120_hw_sequencer.c | 265 dc->hwseq->funcs.enable_display_power_gating = dce120_enable_display_power_gating; in dce120_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/ |
D | dcn30_init.c | 152 dc->hwseq->funcs = dcn30_private_funcs; in dcn30_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn314/ |
D | dcn314_init.c | 161 dc->hwseq->funcs = dcn314_private_funcs; in dcn314_hw_sequencer_construct()
|
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dce/ |
D | dce_hwseq.c | 53 struct dce_hwseq *hws = dc->hwseq; in dce_pipe_control_lock()
|