Home
last modified time | relevance | path

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

/linux/drivers/gpu/drm/amd/display/dc/inc/hw/
H A Ddmcu.h48 struct dmcu { struct
60 bool (*dmcu_init)(struct dmcu *dmcu); argument
61 bool (*load_iram)(struct dmcu *dmcu,
65 void (*set_psr_enable)(struct dmcu *dmcu, bool enable, bool wait);
66 bool (*setup_psr)(struct dmcu *dmcu,
69 void (*get_psr_state)(struct dmcu *dmcu, enum dc_psr_state *dc_psr_state);
70 void (*set_psr_wait_loop)(struct dmcu *dmcu,
72 void (*get_psr_wait_loop)(struct dmcu *dmcu,
74 bool (*is_dmcu_initialized)(struct dmcu *dmcu);
75 bool (*lock_phy)(struct dmcu *dmcu);
[all …]
/linux/drivers/gpu/drm/amd/display/dc/
H 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()
39 dmcu->funcs->send_edid_cea) { 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()
56 dmcu->funcs->recv_edid_cea_ack) { in dc_edid_parser_recv_cea_ack()
57 return dmcu->funcs->recv_edid_cea_ack(dmcu, offset); in dc_edid_parser_recv_cea_ack()
[all …]
/linux/drivers/gpu/drm/amd/display/dc/dce/
H 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);
/linux/drivers/gpu/drm/amd/display/dc/resource/dce60/
H A Ddce60_resource.c877 if (pool->base.dmcu != NULL) in dce60_resource_destruct()
878 dce_dmcu_destroy(&pool->base.dmcu); in dce60_resource_destruct()
983 pool->base.dmcu = dce_dmcu_create(ctx, in dce60_construct()
987 if (pool->base.dmcu == NULL) { in dce60_construct()
1181 pool->base.dmcu = dce_dmcu_create(ctx, in dce61_construct()
1185 if (pool->base.dmcu == NULL) { in dce61_construct()
1378 pool->base.dmcu = dce_dmcu_create(ctx, in dce64_construct()
1382 if (pool->base.dmcu == NULL) { in dce64_construct()
/linux/drivers/gpu/drm/amd/display/dc/resource/dce100/
H A Ddce100_resource.c841 if (pool->base.dmcu != NULL) in dce100_resource_destruct()
842 dce_dmcu_destroy(&pool->base.dmcu); in dce100_resource_destruct()
1093 pool->base.dmcu = dce_dmcu_create(ctx, in dce100_resource_construct()
1097 if (pool->base.dmcu == NULL) { in dce100_resource_construct()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc.c516 dc_stream_forward_dmcu_crc_window(struct dmcu *dmcu, in dc_stream_forward_dmcu_crc_window() argument
520 dmcu->funcs->stop_crc_win_update(dmcu, mux_mapping); in dc_stream_forward_dmcu_crc_window()
522 dmcu->funcs->forward_crc_window(dmcu, rect, mux_mapping); in dc_stream_forward_dmcu_crc_window()
529 struct dmcu *dmcu; in dc_stream_forward_crc_window() local
549 dmcu = dc->res_pool->dmcu; in dc_stream_forward_crc_window()
556 else if (dmcu && dmcu->funcs->is_dmcu_initialized(dmcu)) in dc_stream_forward_crc_window()
557 dc_stream_forward_dmcu_crc_window(dmcu, rect, &mux_mapping, is_stop); in dc_stream_forward_crc_window()
1597 if (dc->res_pool->dmcu != NULL) in dc_create()
1598 dc->versions.dmcu_version = dc->res_pool->dmcu->dmcu_version; in dc_create()
6553 struct dmcu *dmcu = dc->res_pool->dmcu; in dc_is_dmcu_initialized() local
[all …]
/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm.c1175 struct dmcu *dmcu = NULL; in dm_late_init() local
1177 dmcu = adev->dm.dc->res_pool->dmcu; in dm_late_init()
1202 if (dmcu) { in dm_late_init()
1203 if (!dmcu_load_iram(dmcu, params)) in dm_late_init()