/linux/drivers/gpu/drm/amd/display/dc/inc/hw/ |
H A D | dwb.h | 177 struct dwbc *dwbc, argument 181 struct dwbc *dwbc, 187 struct dwbc *dwbc, 194 struct dwbc *dwbc, 198 struct dwbc *dwbc, 202 struct dwbc *dwbc, 206 struct dwbc *dwbc, 211 struct dwbc *dwbc, 220 struct dwbc *dwbc, 225 struct dwbc *dwbc, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_dwb.c | 46 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 119 bool dwb3_disable(struct dwbc *dwbc) in dwb3_disable() argument 133 void dwb3_set_fc_enable(struct dwbc *dwbc, enum dwb_frame_capture_enable enable) in dwb3_set_fc_enable() argument 155 bool dwb3_update(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb3_update() argument 193 bool dwb3_is_enabled(struct dwbc *dwbc) in dwb3_is_enabled() argument 205 void dwb3_set_stereo(struct dwbc *dwbc, in dwb3_set_stereo() argument 220 void dwb3_set_new_content(struct dwbc *dwbc, in dwb3_set_new_content() argument 228 void dwb3_set_denorm(struct dwbc *dwbc, struct dc_dwb_params *params) in dwb3_set_denorm() argument [all …]
|
H A D | dcn30_dwb_cm.c | 273 struct dwbc *dwbc, in dwb3_ogam_set_input_transfer_func() argument 276 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_ogam_set_input_transfer_func() 286 cm_helper_translate_curve_to_hw_format(dwbc->ctx, in dwb3_ogam_set_input_transfer_func() 301 struct dwbc *dwbc, in dwb3_program_gamut_remap() argument 306 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_program_gamut_remap() 356 struct dwbc *dwbc, in dwb3_set_gamut_remap() argument 359 struct dcn30_dwbc *dwbc30 = TO_DCN30_DWBC(dwbc); in dwb3_set_gamut_remap() 379 dwb3_program_gamut_remap(dwbc, arr_reg_val, in dwb3_set_gamut_remap() 382 dwb3_program_gamut_remap(dwbc, arr_reg_val, in dwb3_set_gamut_remap() 389 struct dwbc *dwbc, in dwb3_program_hdr_mult() argument [all …]
|
H A D | dcn30_dwb.h | 871 struct dwbc base; 884 bool dwb3_enable(struct dwbc *dwbc, struct dc_dwb_params *params); 886 bool dwb3_disable(struct dwbc *dwbc); 888 bool dwb3_update(struct dwbc *dwbc, struct dc_dwb_params *params); 890 bool dwb3_is_enabled(struct dwbc *dwbc); 894 void dwb3_set_stereo(struct dwbc *dwbc, 897 void dwb3_set_new_content(struct dwbc *dwbc, 900 void dwb3_config_fc(struct dwbc *dwbc, 906 struct dwbc *dwbc, 910 struct dwbc *dwbc, [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/dcn20/ |
H A D | dcn20_dwb.c | 50 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 D | dcn20_dwb.h | 389 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);
|
/linux/drivers/gpu/drm/amd/display/dc/dcn10/ |
H A D | dcn10_dwb.c | 45 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 D | dcn10_dwb.h | 254 struct dwbc base;
|
/linux/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_stream.c | 397 struct dwbc *dwb; in dc_stream_add_writeback() 418 dwb = dc->res_pool->dwbc[wb_info->dwb_pipe_inst]; in dc_stream_add_writeback() 439 struct dwbc *dwb = dc->res_pool->dwbc[wb_info->dwb_pipe_inst]; in dc_stream_add_writeback() 451 struct dwbc *dwb = dc->res_pool->dwbc[wb_info->dwb_pipe_inst]; in dc_stream_add_writeback() 469 struct dwbc *dwb = dc->res_pool->dwbc[dwb_pipe_inst]; in dc_stream_fc_disable_writeback() 541 struct dwbc *dwb = dc->res_pool->dwbc[dwb_pipe_inst]; in dc_stream_remove_writeback()
|
/linux/drivers/gpu/drm/amd/display/dc/inc/ |
H A D | core_types.h | 235 struct dwbc *dwbc[MAX_DWB_PIPES]; member 444 struct dwbc *dwbc; member
|
/linux/drivers/gpu/drm/amd/display/dc/hwss/dcn30/ |
H A D | dcn30_hwseq.c | 430 struct dwbc *dwb; in dcn30_update_writeback() 431 dwb = dc->res_pool->dwbc[wb_info->dwb_pipe_inst]; in dcn30_update_writeback() 447 struct dwbc *dwb; in dcn30_mmhubbub_warmup() 453 dwb = dc->res_pool->dwbc[wb_info[i].dwb_pipe_inst]; in dcn30_mmhubbub_warmup() 482 dwb = dc->res_pool->dwbc[wb_info[i].dwb_pipe_inst]; in dcn30_mmhubbub_warmup() 505 struct dwbc *dwb; in dcn30_enable_writeback() 508 dwb = dc->res_pool->dwbc[wb_info->dwb_pipe_inst]; in dcn30_enable_writeback() 531 struct dwbc *dwb; in dcn30_disable_writeback() 535 dwb = dc->res_pool->dwbc[dwb_pipe_inst]; in dcn30_disable_writeback() 554 struct dwbc *dwb; in dcn30_program_all_writeback_pipes_in_tree() [all …]
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn302/ |
H A D | dcn302_resource.c | 723 pool->dwbc[i] = &dwbc30->base; in dcn302_dwbc_create() 1063 if (pool->dwbc[i] != NULL) { in dcn302_resource_destruct() 1064 kfree(TO_DCN30_DWBC(pool->dwbc[i])); in dcn302_resource_destruct() 1065 pool->dwbc[i] = NULL; in dcn302_resource_destruct()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn303/ |
H A D | dcn303_resource.c | 684 pool->dwbc[i] = &dwbc30->base; in dcn303_dwbc_create() 1007 if (pool->dwbc[i] != NULL) { in dcn303_resource_destruct() 1008 kfree(TO_DCN30_DWBC(pool->dwbc[i])); in dcn303_resource_destruct() 1009 pool->dwbc[i] = NULL; in dcn303_resource_destruct()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn301/ |
H A D | dcn301_resource.c | 1111 if (pool->base.dwbc[i] != NULL) { in dcn301_destruct() 1112 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn301_destruct() 1113 pool->base.dwbc[i] = NULL; in dcn301_destruct() 1195 pool->dwbc[i] = &dwbc30->base; in dcn301_dwbc_create()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn316/ |
H A D | dcn316_resource.c | 1438 if (pool->base.dwbc[i] != NULL) { in dcn316_resource_destruct() 1439 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn316_resource_destruct() 1440 pool->base.dwbc[i] = NULL; in dcn316_resource_destruct() 1527 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn314/ |
H A D | dcn314_resource.c | 1498 if (pool->base.dwbc[i] != NULL) { in dcn314_resource_destruct() 1499 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn314_resource_destruct() 1500 pool->base.dwbc[i] = NULL; in dcn314_resource_destruct() 1590 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn315/ |
H A D | dcn315_resource.c | 1441 if (pool->base.dwbc[i] != NULL) { in dcn315_resource_destruct() 1442 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn315_resource_destruct() 1443 pool->base.dwbc[i] = NULL; in dcn315_resource_destruct() 1530 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn21/ |
H A D | dcn21_resource.c | 720 if (pool->base.dwbc[i] != NULL) { in dcn21_resource_destruct() 721 kfree(TO_DCN20_DWBC(pool->base.dwbc[i])); in dcn21_resource_destruct() 722 pool->base.dwbc[i] = NULL; in dcn21_resource_destruct()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn31/ |
H A D | dcn31_resource.c | 1442 if (pool->base.dwbc[i] != NULL) { in dcn31_resource_destruct() 1443 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn31_resource_destruct() 1444 pool->base.dwbc[i] = NULL; in dcn31_resource_destruct() 1534 pool->dwbc[i] = &dwbc30->base; in dcn31_dwbc_create()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn321/ |
H A D | dcn321_resource.c | 1428 if (pool->base.dwbc[i] != NULL) { in dcn321_resource_destruct() 1429 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn321_resource_destruct() 1430 pool->base.dwbc[i] = NULL; in dcn321_resource_destruct() 1509 pool->dwbc[i] = &dwbc30->base; in dcn321_dwbc_create()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn35/ |
H A D | dcn35_resource.c | 1509 if (pool->base.dwbc[i] != NULL) { in dcn35_resource_destruct() 1510 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn35_resource_destruct() 1511 pool->base.dwbc[i] = NULL; in dcn35_resource_destruct() 1621 pool->dwbc[i] = &dwbc30->base; in dcn35_dwbc_create()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn351/ |
H A D | dcn351_resource.c | 1489 if (pool->base.dwbc[i] != NULL) { in dcn351_resource_destruct() 1490 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn351_resource_destruct() 1491 pool->base.dwbc[i] = NULL; in dcn351_resource_destruct() 1601 pool->dwbc[i] = &dwbc30->base; in dcn35_dwbc_create()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn30/ |
H A D | dcn30_resource.c | 1141 if (pool->base.dwbc[i] != NULL) { in dcn30_resource_destruct() 1142 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn30_resource_destruct() 1143 pool->base.dwbc[i] = NULL; in dcn30_resource_destruct() 1236 pool->dwbc[i] = &dwbc30->base; in dcn30_dwbc_create()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn20/ |
H A D | dcn20_resource.c | 1150 if (pool->base.dwbc[i] != NULL) { in dcn20_resource_destruct() 1151 kfree(TO_DCN20_DWBC(pool->base.dwbc[i])); in dcn20_resource_destruct() 1152 pool->base.dwbc[i] = NULL; in dcn20_resource_destruct() 2273 pool->dwbc[i] = &dwbc20->base; in dcn20_dwbc_create()
|
/linux/drivers/gpu/drm/amd/display/dc/resource/dcn32/ |
H A D | dcn32_resource.c | 1445 if (pool->base.dwbc[i] != NULL) { in dcn32_resource_destruct() 1446 kfree(TO_DCN30_DWBC(pool->base.dwbc[i])); in dcn32_resource_destruct() 1447 pool->base.dwbc[i] = NULL; in dcn32_resource_destruct() 1526 pool->dwbc[i] = &dwbc30->base; in dcn32_dwbc_create()
|