Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/hw/
A Ddmcu.h60 bool (*dmcu_init)(struct dmcu *dmcu); argument
61 bool (*load_iram)(struct dmcu *dmcu,
66 bool (*setup_psr)(struct dmcu *dmcu,
70 void (*set_psr_wait_loop)(struct dmcu *dmcu,
72 void (*get_psr_wait_loop)(struct dmcu *dmcu,
75 bool (*lock_phy)(struct dmcu *dmcu);
76 bool (*unlock_phy)(struct dmcu *dmcu);
77 bool (*send_edid_cea)(struct dmcu *dmcu,
82 bool (*recv_amd_vsdb)(struct dmcu *dmcu,
88 void (*forward_crc_window)(struct dmcu *dmcu,
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/
A Ddc_edid_parser.c35 struct dmcu *dmcu = dc->res_pool->dmcu; in dc_edid_parser_send_cea() local
37 if (dmcu && in dc_edid_parser_send_cea()
38 dmcu->funcs->is_dmcu_initialized(dmcu) && in dc_edid_parser_send_cea()
40 return dmcu->funcs->send_edid_cea(dmcu, in dc_edid_parser_send_cea()
52 struct dmcu *dmcu = dc->res_pool->dmcu; in dc_edid_parser_recv_cea_ack() local
54 if (dmcu && in dc_edid_parser_recv_cea_ack()
55 dmcu->funcs->is_dmcu_initialized(dmcu) && in dc_edid_parser_recv_cea_ack()
57 return dmcu->funcs->recv_edid_cea_ack(dmcu, offset); in dc_edid_parser_recv_cea_ack()
68 struct dmcu *dmcu = dc->res_pool->dmcu; in dc_edid_parser_recv_amd_vsdb() local
71 dmcu->funcs->is_dmcu_initialized(dmcu) && in dc_edid_parser_recv_amd_vsdb()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce/
A Ddce_dmcu.c72 static bool dce_dmcu_init(struct dmcu *dmcu) in dce_dmcu_init() argument
78 static bool dce_dmcu_load_iram(struct dmcu *dmcu, in dce_dmcu_load_iram() argument
168 static bool dce_dmcu_setup_psr(struct dmcu *dmcu, in dce_dmcu_setup_psr() argument
296 struct dmcu *dmcu, in dce_psr_wait_loop() argument
379 static bool dcn10_dmcu_init(struct dmcu *dmcu) in dcn10_dmcu_init() argument
462 static bool dcn21_dmcu_init(struct dmcu *dmcu) in dcn21_dmcu_init() argument
474 static bool dcn10_dmcu_load_iram(struct dmcu *dmcu, in dcn10_dmcu_load_iram() argument
723 struct dmcu *dmcu, in dcn10_psr_wait_loop() argument
767 static bool dcn20_lock_phy(struct dmcu *dmcu) in dcn20_lock_phy() argument
790 static bool dcn20_unlock_phy(struct dmcu *dmcu) in dcn20_unlock_phy() argument
[all …]
A Ddce_dmcu.h234 struct dmcu base;
305 struct dmcu *dce_dmcu_create(
311 struct dmcu *dcn10_dmcu_create(
317 struct dmcu *dcn20_dmcu_create(
323 struct dmcu *dcn21_dmcu_create(
329 void dce_dmcu_destroy(struct dmcu **dmcu);
A Ddce_clk_mgr.c254 struct dmcu *dmcu = clk_mgr_dce->base.ctx->dc->res_pool->dmcu; in dce_set_clock() local
282 if (dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) in dce_set_clock()
283 dmcu->funcs->set_psr_wait_loop(dmcu, actual_clock / 1000 / 7); in dce_set_clock()
294 struct dmcu *dmcu = core_dc->res_pool->dmcu; in dce112_set_clock() local
332 if (dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) { in dce112_set_clock()
334 dmcu->funcs->set_psr_wait_loop(dmcu, in dce112_set_clock()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dce112/
A Ddce112_clk_mgr.c76 struct dmcu *dmcu = dc->res_pool->dmcu; in dce112_set_clock() local
115 if (dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) { in dce112_set_clock()
117 dmcu->funcs->set_psr_wait_loop(dmcu, in dce112_set_clock()
131 struct dmcu *dmcu = dc->res_pool->dmcu; in dce112_set_dispclk() local
157 if (dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) { in dce112_set_dispclk()
159 dmcu->funcs->set_psr_wait_loop(dmcu, in dce112_set_dispclk()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn10/
A Drv1_clk_mgr_vbios_smu.c130 struct dmcu *dmcu = dc->res_pool->dmcu; in rv1_vbios_smu_set_dispclk() local
139 if (dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) { in rv1_vbios_smu_set_dispclk()
141 dmcu->funcs->set_psr_wait_loop(dmcu, in rv1_vbios_smu_set_dispclk()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/link/protocols/
A Dlink_edp_panel_control.c460 struct dmcu *dmcu = dc->res_pool->dmcu; in dc_link_set_psr_allow_active() local
496 } else if ((dmcu != NULL && dmcu->funcs->is_dmcu_initialized(dmcu)) && in dc_link_set_psr_allow_active()
498 dmcu->funcs->set_psr_enable(dmcu, link->psr_settings.psr_allow_active, wait); in dc_link_set_psr_allow_active()
508 struct dmcu *dmcu = dc->res_pool->dmcu; in dc_link_get_psr_state() local
518 dmcu->funcs->get_psr_state(dmcu, state); in dc_link_get_psr_state()
565 struct dmcu *dmcu; in dc_link_setup_psr() local
579 dmcu = dc->res_pool->dmcu; in dc_link_setup_psr()
582 if (!dmcu && !psr) in dc_link_setup_psr()
811 struct dmcu *dmcu = dc->res_pool->dmcu; in dc_link_get_backlight_level() local
814 if (dmcu) in dc_link_get_backlight_level()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
A Drn_clk_mgr_vbios_smu.c142 struct dmcu *dmcu = dc->res_pool->dmcu; in rn_vbios_smu_set_dispclk() local
151 if (dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) { in rn_vbios_smu_set_dispclk()
153 dmcu->funcs->set_psr_wait_loop(dmcu, in rn_vbios_smu_set_dispclk()
A Drn_clk_mgr.c143 struct dmcu *dmcu = clk_mgr_base->ctx->dc->res_pool->dmcu; in rn_update_clocks() local
246 dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) { in rn_update_clocks()
248 dmcu->funcs->set_psr_wait_loop(dmcu, in rn_update_clocks()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn21/
A Ddcn21_hwseq.c168 struct dmcu *dmcu = pipe_ctx->stream->ctx->dc->res_pool->dmcu; in dcn21_set_abm_immediate_disable() local
170 if (dmcu) { in dcn21_set_abm_immediate_disable()
187 struct dmcu *dmcu = pipe_ctx->stream->ctx->dc->res_pool->dmcu; in dcn21_set_pipe() local
189 if (dmcu) { in dcn21_set_pipe()
208 if (dc->dc->res_pool->dmcu) { in dcn21_set_backlight_level()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dce100/
A Ddce_clk_mgr.c237 struct dmcu *dmcu = clk_mgr_dce->base.ctx->dc->res_pool->dmcu; in dce_set_clock() local
265 if (dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) in dce_set_clock()
266 dmcu->funcs->set_psr_wait_loop(dmcu, actual_clock / 1000 / 7); in dce_set_clock()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/modules/power/
A Dpower_helpers.c752 bool dmcu_load_iram(struct dmcu *dmcu, in dmcu_load_iram() argument
758 if (dmcu == NULL) in dmcu_load_iram()
761 if (dmcu && !dmcu->funcs->is_dmcu_initialized(dmcu)) in dmcu_load_iram()
766 if (dmcu->dmcu_version.abm_version == 0x24) { in dmcu_load_iram()
768 result = dmcu->funcs->load_iram( in dmcu_load_iram()
770 } else if (dmcu->dmcu_version.abm_version == 0x23) { in dmcu_load_iram()
773 result = dmcu->funcs->load_iram( in dmcu_load_iram()
778 result = dmcu->funcs->load_iram( in dmcu_load_iram()
783 result = dmcu->funcs->load_iram( in dmcu_load_iram()
787 result = dmcu->funcs->load_iram( in dmcu_load_iram()
[all …]
A Dpower_helpers.h50 bool dmcu_load_iram(struct dmcu *dmcu,
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn30/
A Ddcn30_clk_mgr.c205 struct dmcu *dmcu = clk_mgr_base->ctx->dc->res_pool->dmcu; in dcn3_update_clocks() local
318 if (update_dispclk && dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) in dcn3_update_clocks()
320 dmcu->funcs->set_psr_wait_loop(dmcu, in dcn3_update_clocks()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce110/
A Ddce110_hw_sequencer.c2566 struct dmcu *dmcu; in init_hw() local
2626 dmcu = dc->res_pool->dmcu; in init_hw()
2941 struct dmcu *dmcu = dc->res_pool->dmcu; in dce110_set_backlight_level() local
3026 struct dmcu *dmcu = dc->res_pool->dmcu; in dce110_enable_dp_link_output() local
3068 if (dmcu != NULL && dmcu->funcs->lock_phy) in dce110_enable_dp_link_output()
3069 dmcu->funcs->lock_phy(dmcu); in dce110_enable_dp_link_output()
3077 if (dmcu != NULL && dmcu->funcs->unlock_phy) in dce110_enable_dp_link_output()
3078 dmcu->funcs->unlock_phy(dmcu); in dce110_enable_dp_link_output()
3089 struct dmcu *dmcu = dc->res_pool->dmcu; in dce110_disable_link_output() local
3095 dmcu->funcs->lock_phy(dmcu); in dce110_disable_link_output()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn20/
A Ddcn20_clk_mgr.c229 struct dmcu *dmcu = clk_mgr_base->ctx->dc->res_pool->dmcu; in dcn2_update_clocks() local
336 dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) { in dcn2_update_clocks()
338 dmcu->funcs->set_psr_wait_loop(dmcu, in dcn2_update_clocks()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn32/
A Ddcn32_clk_mgr.c358 struct dmcu *dmcu = clk_mgr_base->ctx->dc->res_pool->dmcu; in dcn32_update_clocks() local
522 if (update_dispclk && dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) in dcn32_update_clocks()
524 dmcu->funcs->set_psr_wait_loop(dmcu, in dcn32_update_clocks()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dcn32/
A Ddcn32_hwseq.c1238 struct dmcu *dmcu = dc->res_pool->dmcu; in dcn32_disable_link_output() local
1243 else if (dmcu != NULL && dmcu->funcs->lock_phy) in dcn32_disable_link_output()
1244 dmcu->funcs->lock_phy(dmcu); in dcn32_disable_link_output()
1252 else if (dmcu != NULL && dmcu->funcs->lock_phy) in dcn32_disable_link_output()
1253 dmcu->funcs->unlock_phy(dmcu); in dcn32_disable_link_output()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce60/
A Ddce60_resource.c849 if (pool->base.dmcu != NULL) in dce60_resource_destruct()
850 dce_dmcu_destroy(&pool->base.dmcu); in dce60_resource_destruct()
1007 pool->base.dmcu = dce_dmcu_create(ctx, in dce60_construct()
1011 if (pool->base.dmcu == NULL) { in dce60_construct()
1205 pool->base.dmcu = dce_dmcu_create(ctx, in dce61_construct()
1209 if (pool->base.dmcu == NULL) { in dce61_construct()
1399 pool->base.dmcu = dce_dmcu_create(ctx, in dce64_construct()
1403 if (pool->base.dmcu == NULL) { in dce64_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce80/
A Ddce80_resource.c852 if (pool->base.dmcu != NULL) in dce80_resource_destruct()
853 dce_dmcu_destroy(&pool->base.dmcu); in dce80_resource_destruct()
1016 pool->base.dmcu = dce_dmcu_create(ctx, in dce80_construct()
1020 if (pool->base.dmcu == NULL) { in dce80_construct()
1216 pool->base.dmcu = dce_dmcu_create(ctx, in dce81_construct()
1220 if (pool->base.dmcu == NULL) { in dce81_construct()
1412 pool->base.dmcu = dce_dmcu_create(ctx, in dce83_construct()
1416 if (pool->base.dmcu == NULL) { in dce83_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/inc/
A Dcore_types.h305 struct dmcu *dmcu; member
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/core/
A Ddc.c514 dc_stream_forward_dmcu_crc_window(struct dmcu *dmcu, in dc_stream_forward_dmcu_crc_window() argument
518 dmcu->funcs->stop_crc_win_update(dmcu, mux_mapping); in dc_stream_forward_dmcu_crc_window()
520 dmcu->funcs->forward_crc_window(dmcu, rect, mux_mapping); in dc_stream_forward_dmcu_crc_window()
527 struct dmcu *dmcu; in dc_stream_forward_crc_window() local
547 dmcu = dc->res_pool->dmcu; in dc_stream_forward_crc_window()
554 else if (dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) in dc_stream_forward_crc_window()
1269 if (dc->res_pool->dmcu != NULL) in dc_create()
1270 dc->versions.dmcu_version = dc->res_pool->dmcu->dmcu_version; in dc_create()
4313 struct dmcu *dmcu = dc->res_pool->dmcu; in dc_is_dmcu_initialized() local
4315 if (dmcu) in dc_is_dmcu_initialized()
[all …]
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce100/
A Ddce100_resource.c811 if (pool->base.dmcu != NULL) in dce100_resource_destruct()
812 dce_dmcu_destroy(&pool->base.dmcu); in dce100_resource_destruct()
1032 pool->base.dmcu = dce_dmcu_create(ctx, in dce100_resource_construct()
1036 if (pool->base.dmcu == NULL) { in dce100_resource_construct()
/linux-6.3-rc2/drivers/gpu/drm/amd/display/dc/dce120/
A Ddce120_resource.c659 if (pool->base.dmcu != NULL) in dce120_resource_destruct()
660 dce_dmcu_destroy(&pool->base.dmcu); in dce120_resource_destruct()
1127 pool->base.dmcu = dce_dmcu_create(ctx, in dce120_resource_construct()
1131 if (pool->base.dmcu == NULL) { in dce120_resource_construct()

Completed in 52 milliseconds

12