Home
last modified time | relevance | path

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

/openbsd/sys/dev/pci/drm/amd/display/dc/dcn30/
H A Ddcn30_dwb.c46 static bool dwb3_get_caps(struct dwbc *dwbc, struct dwb_caps *caps) in dwb3_get_caps() argument
66 void dwb3_config_fc(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb3_config_fc() argument
91 bool dwb3_enable(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb3_enable() argument
100 dwb3_config_fc(dwbc, params); in dwb3_enable()
119 bool dwb3_disable(struct dwbc *dwbc) in dwb3_disable() argument
133 bool dwb3_update(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb3_update() argument
171 bool dwb3_is_enabled(struct dwbc *dwbc) in dwb3_is_enabled() argument
183 void dwb3_set_stereo(struct dwbc *dwbc, in dwb3_set_stereo() argument
198 void dwb3_set_new_content(struct dwbc *dwbc, in dwb3_set_new_content() argument
206 void dwb3_set_denorm(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb3_set_denorm() argument
[all …]
H A Ddcn30_dwb_cm.c270 struct dwbc *dwbc, in dwb3_ogam_set_input_transfer_func() argument
273 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_ogam_set_input_transfer_func()
283 cm_helper_translate_curve_to_hw_format(dwbc->ctx, in dwb3_ogam_set_input_transfer_func()
298 struct dwbc *dwbc, in dwb3_program_gamut_remap() argument
303 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_program_gamut_remap()
353 struct dwbc *dwbc, in dwb3_set_gamut_remap() argument
356 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_set_gamut_remap()
376 dwb3_program_gamut_remap(dwbc, arr_reg_val, in dwb3_set_gamut_remap()
379 dwb3_program_gamut_remap(dwbc, arr_reg_val, in dwb3_set_gamut_remap()
386 struct dwbc *dwbc, in dwb3_program_hdr_mult() argument
[all …]
H A Ddcn30_dwb.h861 struct dwbc base;
874 bool dwb3_enable(struct dwbc *dwbc, struct dc_dwb_params *params);
876 bool dwb3_disable(struct dwbc *dwbc);
878 bool dwb3_update(struct dwbc *dwbc, struct dc_dwb_params *params);
880 bool dwb3_is_enabled(struct dwbc *dwbc);
882 void dwb3_set_stereo(struct dwbc *dwbc,
885 void dwb3_set_new_content(struct dwbc *dwbc,
888 void dwb3_config_fc(struct dwbc *dwbc,
894 struct dwbc *dwbc,
898 struct dwbc *dwbc,
[all …]
H A Ddcn30_hwseq.c253 struct dwbc *dwb; in dcn30_update_writeback()
254 dwb = dc->res_pool->dwbc[wb_info->dwb_pipe_inst]; in dcn30_update_writeback()
270 struct dwbc *dwb; in dcn30_mmhubbub_warmup()
276 dwb = dc->res_pool->dwbc[wb_info[i].dwb_pipe_inst]; in dcn30_mmhubbub_warmup()
305 dwb = dc->res_pool->dwbc[wb_info[i].dwb_pipe_inst]; in dcn30_mmhubbub_warmup()
328 struct dwbc *dwb; in dcn30_enable_writeback()
331 dwb = dc->res_pool->dwbc[wb_info->dwb_pipe_inst]; in dcn30_enable_writeback()
350 struct dwbc *dwb; in dcn30_disable_writeback()
354 dwb = dc->res_pool->dwbc[dwb_pipe_inst]; in dcn30_disable_writeback()
373 struct dwbc *dwb; in dcn30_program_all_writeback_pipes_in_tree()
[all …]
H A Ddcn30_resource.c1138 if (pool->base.dwbc[i] != NULL) { in dcn30_resource_destruct()
1139 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn30_resource_destruct()
1140 pool->base.dwbc[i] = NULL; in dcn30_resource_destruct()
1233 pool->dwbc[i] = &dwbc30->base; in dcn30_dwbc_create()
/openbsd/sys/dev/pci/drm/amd/display/dc/inc/hw/
H A Ddwb.h175 struct dwbc *dwbc, argument
179 struct dwbc *dwbc,
185 struct dwbc *dwbc,
189 struct dwbc *dwbc);
192 struct dwbc *dwbc,
196 struct dwbc *dwbc,
201 struct dwbc *dwbc,
208 struct dwbc *dwbc,
213 struct dwbc *dwbc,
218 struct dwbc *dwbc,
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn20/
H A Ddcn20_dwb.c50 static bool dwb2_get_caps(struct dwbc *dwbc, struct dwb_caps *caps) in dwb2_get_caps() argument
72 void dwb2_config_dwb_cnv(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb2_config_dwb_cnv() argument
99 static bool dwb2_enable(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb2_enable() argument
124 dwb2_set_scaler(dwbc, params); in dwb2_enable()
135 bool dwb2_disable(struct dwbc *dwbc) in dwb2_disable() argument
158 static bool dwb2_update(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb2_update() argument
198 bool dwb2_is_enabled(struct dwbc *dwbc) in dwb2_is_enabled() argument
210 void dwb2_set_stereo(struct dwbc *dwbc, in dwb2_set_stereo() argument
226 void dwb2_set_new_content(struct dwbc *dwbc, in dwb2_set_new_content() argument
235 static void dwb2_set_warmup(struct dwbc *dwbc, in dwb2_set_warmup() argument
[all …]
H A Ddcn20_dwb.h389 struct dwbc base;
402 bool dwb2_disable(struct dwbc *dwbc);
404 bool dwb2_is_enabled(struct dwbc *dwbc);
406 void dwb2_set_stereo(struct dwbc *dwbc,
409 void dwb2_set_new_content(struct dwbc *dwbc,
412 void dwb2_config_dwb_cnv(struct dwbc *dwbc,
415 void dwb2_set_scaler(struct dwbc *dwbc, struct dc_dwb_params *params);
H A Ddcn20_hwseq.c2213 struct dwbc *dwb; in dcn20_enable_writeback()
2219 dwb = dc->res_pool->dwbc[wb_info->dwb_pipe_inst]; in dcn20_enable_writeback()
2239 struct dwbc *dwb; in dcn20_disable_writeback()
2243 dwb = dc->res_pool->dwbc[dwb_pipe_inst]; in dcn20_disable_writeback()
2900 res_pool->dwbc[i]->mcif = res_pool->mcif_wb[i]; in dcn20_fpga_init_hw()
H A Ddcn20_resource.c1152 if (pool->base.dwbc[i] != NULL) { in dcn20_resource_destruct()
1153 kfree(TO_DCN20_DWBC(pool->base.dwbc[i])); in dcn20_resource_destruct()
1154 pool->base.dwbc[i] = NULL; in dcn20_resource_destruct()
2248 pool->dwbc[i] = &dwbc20->base; in dcn20_dwbc_create()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn10/
H A Ddcn10_dwb.c45 static bool dwb1_get_caps(struct dwbc *dwbc, struct dwb_caps *caps) in dwb1_get_caps() argument
64 static bool dwb1_enable(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb1_enable() argument
66 struct dcn10_dwbc *dwbc10 = TO_DCN10_DWBC(dwbc); in dwb1_enable()
69 dwbc->funcs->disable(dwbc); in dwb1_enable()
81 static bool dwb1_disable(struct dwbc *dwbc) in dwb1_disable() argument
83 struct dcn10_dwbc *dwbc10 = TO_DCN10_DWBC(dwbc); in dwb1_disable()
H A Ddcn10_dwb.h254 struct dwbc base;
/openbsd/sys/dev/pci/drm/amd/display/dc/inc/
H A Dcore_types.h224 struct dwbc *dwbc[MAX_DWB_PIPES]; member
407 struct dwbc *dwbc; member
/openbsd/sys/dev/pci/drm/amd/display/dc/core/
H A Ddc_stream.c476 struct dwbc *dwb; in dc_stream_add_writeback()
495 dwb = dc->res_pool->dwbc[wb_info->dwb_pipe_inst]; in dc_stream_add_writeback()
516 struct dwbc *dwb = dc->res_pool->dwbc[wb_info->dwb_pipe_inst]; in dc_stream_add_writeback()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn302/
H A Ddcn302_resource.c720 pool->dwbc[i] = &dwbc30->base; in dcn302_dwbc_create()
1060 if (pool->dwbc[i] != NULL) { in dcn302_resource_destruct()
1061 kfree(TO_DCN30_DWBC(pool->dwbc[i])); in dcn302_resource_destruct()
1062 pool->dwbc[i] = NULL; in dcn302_resource_destruct()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn303/
H A Ddcn303_resource.c663 pool->dwbc[i] = &dwbc30->base; in dcn303_dwbc_create()
986 if (pool->dwbc[i] != NULL) { in dcn303_resource_destruct()
987 kfree(TO_DCN30_DWBC(pool->dwbc[i])); in dcn303_resource_destruct()
988 pool->dwbc[i] = NULL; in dcn303_resource_destruct()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn301/
H A Ddcn301_resource.c1108 if (pool->base.dwbc[i] != NULL) { in dcn301_destruct()
1109 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn301_destruct()
1110 pool->base.dwbc[i] = NULL; in dcn301_destruct()
1192 pool->dwbc[i] = &dwbc30->base; in dcn301_dwbc_create()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn316/
H A Ddcn316_resource.c1436 if (pool->base.dwbc[i] != NULL) { in dcn316_resource_destruct()
1437 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn316_resource_destruct()
1438 pool->base.dwbc[i] = NULL; in dcn316_resource_destruct()
1525 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn314/
H A Ddcn314_resource.c1510 if (pool->base.dwbc[i] != NULL) { in dcn314_resource_destruct()
1511 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn314_resource_destruct()
1512 pool->base.dwbc[i] = NULL; in dcn314_resource_destruct()
1602 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn315/
H A Ddcn315_resource.c1438 if (pool->base.dwbc[i] != NULL) { in dcn315_resource_destruct()
1439 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn315_resource_destruct()
1440 pool->base.dwbc[i] = NULL; in dcn315_resource_destruct()
1527 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn321/
H A Ddcn321_resource.c1423 if (pool->base.dwbc[i] != NULL) { in dcn321_resource_destruct()
1424 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn321_resource_destruct()
1425 pool->base.dwbc[i] = NULL; in dcn321_resource_destruct()
1504 pool->dwbc[i] = &dwbc30->base; in dcn321_dwbc_create()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn21/
H A Ddcn21_resource.c746 if (pool->base.dwbc[i] != NULL) { in dcn21_resource_destruct()
747 kfree(TO_DCN20_DWBC(pool->base.dwbc[i])); in dcn21_resource_destruct()
748 pool->base.dwbc[i] = NULL; in dcn21_resource_destruct()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn31/
H A Ddcn31_resource.c1438 if (pool->base.dwbc[i] != NULL) { in dcn31_resource_destruct()
1439 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn31_resource_destruct()
1440 pool->base.dwbc[i] = NULL; in dcn31_resource_destruct()
1530 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn32/
H A Ddcn32_resource.c1438 if (pool->base.dwbc[i] != NULL) { in dcn32_resource_destruct()
1439 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn32_resource_destruct()
1440 pool->base.dwbc[i] = NULL; in dcn32_resource_destruct()
1519 pool->dwbc[i] = &dwbc30->base; in dcn32_dwbc_create()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn201/
H A Ddcn201_hwseq.c328 res_pool->dwbc[i]->mcif = res_pool->mcif_wb[i]; in dcn201_init_hw()