/openbsd/sys/dev/pci/drm/amd/display/dc/dcn21/ |
H A D | dcn21_hubp.c | 331 if (rq_regs.rq_regs_c.chunk_size != dml_rq_regs->rq_regs_c.chunk_size) in hubp21_validate_dml_output() 333 dml_rq_regs->rq_regs_c.chunk_size, rq_regs.rq_regs_c.chunk_size); in hubp21_validate_dml_output() 334 if (rq_regs.rq_regs_c.min_chunk_size != dml_rq_regs->rq_regs_c.min_chunk_size) in hubp21_validate_dml_output() 336 dml_rq_regs->rq_regs_c.min_chunk_size, rq_regs.rq_regs_c.min_chunk_size); in hubp21_validate_dml_output() 337 if (rq_regs.rq_regs_c.meta_chunk_size != dml_rq_regs->rq_regs_c.meta_chunk_size) in hubp21_validate_dml_output() 339 dml_rq_regs->rq_regs_c.meta_chunk_size, rq_regs.rq_regs_c.meta_chunk_size); in hubp21_validate_dml_output() 342 dml_rq_regs->rq_regs_c.min_meta_chunk_size, rq_regs.rq_regs_c.min_meta_chunk_size); in hubp21_validate_dml_output() 343 if (rq_regs.rq_regs_c.dpte_group_size != dml_rq_regs->rq_regs_c.dpte_group_size) in hubp21_validate_dml_output() 345 dml_rq_regs->rq_regs_c.dpte_group_size, rq_regs.rq_regs_c.dpte_group_size); in hubp21_validate_dml_output() 346 if (rq_regs.rq_regs_c.swath_height != dml_rq_regs->rq_regs_c.swath_height) in hubp21_validate_dml_output() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn20/ |
H A D | dcn20_hubp.c | 1415 if (rq_regs.rq_regs_c.chunk_size != dml_rq_regs->rq_regs_c.chunk_size) in hubp2_validate_dml_output() 1417 dml_rq_regs->rq_regs_c.chunk_size, rq_regs.rq_regs_c.chunk_size); in hubp2_validate_dml_output() 1418 if (rq_regs.rq_regs_c.min_chunk_size != dml_rq_regs->rq_regs_c.min_chunk_size) in hubp2_validate_dml_output() 1420 dml_rq_regs->rq_regs_c.min_chunk_size, rq_regs.rq_regs_c.min_chunk_size); in hubp2_validate_dml_output() 1421 if (rq_regs.rq_regs_c.meta_chunk_size != dml_rq_regs->rq_regs_c.meta_chunk_size) in hubp2_validate_dml_output() 1423 dml_rq_regs->rq_regs_c.meta_chunk_size, rq_regs.rq_regs_c.meta_chunk_size); in hubp2_validate_dml_output() 1427 if (rq_regs.rq_regs_c.dpte_group_size != dml_rq_regs->rq_regs_c.dpte_group_size) in hubp2_validate_dml_output() 1429 dml_rq_regs->rq_regs_c.dpte_group_size, rq_regs.rq_regs_c.dpte_group_size); in hubp2_validate_dml_output() 1432 dml_rq_regs->rq_regs_c.mpte_group_size, rq_regs.rq_regs_c.mpte_group_size); in hubp2_validate_dml_output() 1433 if (rq_regs.rq_regs_c.swath_height != dml_rq_regs->rq_regs_c.swath_height) in hubp2_validate_dml_output() [all …]
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn201/ |
H A D | dcn201_hubp.c | 88 CHUNK_SIZE_C, rq_regs->rq_regs_c.chunk_size, in hubp201_program_requestor() 89 MIN_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_chunk_size, in hubp201_program_requestor() 90 META_CHUNK_SIZE_C, rq_regs->rq_regs_c.meta_chunk_size, in hubp201_program_requestor() 91 MIN_META_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_meta_chunk_size, in hubp201_program_requestor() 92 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height); in hubp201_program_requestor()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn10/ |
H A D | dcn10_hubp.c | 575 CHUNK_SIZE_C, rq_regs->rq_regs_c.chunk_size, in hubp1_program_requestor() 576 MIN_CHUNK_SIZE_C, rq_regs->rq_regs_c.min_chunk_size, in hubp1_program_requestor() 577 META_CHUNK_SIZE_C, rq_regs->rq_regs_c.meta_chunk_size, in hubp1_program_requestor() 579 DPTE_GROUP_SIZE_C, rq_regs->rq_regs_c.dpte_group_size, in hubp1_program_requestor() 580 MPTE_GROUP_SIZE_C, rq_regs->rq_regs_c.mpte_group_size, in hubp1_program_requestor() 581 SWATH_HEIGHT_C, rq_regs->rq_regs_c.swath_height, in hubp1_program_requestor() 1090 CHUNK_SIZE_C, &rq_regs->rq_regs_c.chunk_size, in hubp1_read_state() 1091 MIN_CHUNK_SIZE_C, &rq_regs->rq_regs_c.min_chunk_size, in hubp1_read_state() 1092 META_CHUNK_SIZE_C, &rq_regs->rq_regs_c.meta_chunk_size, in hubp1_read_state() 1094 DPTE_GROUP_SIZE_C, &rq_regs->rq_regs_c.dpte_group_size, in hubp1_read_state() [all …]
|
H A D | dcn10_hw_sequencer_debug.c | 218 …rq_regs->rq_regs_l.pte_row_height_linear, rq_regs->rq_regs_c.chunk_size, rq_regs->rq_regs_c.min_ch… in dcn10_get_rq_states() 219 rq_regs->rq_regs_c.meta_chunk_size, rq_regs->rq_regs_c.min_meta_chunk_size, in dcn10_get_rq_states() 220 rq_regs->rq_regs_c.dpte_group_size, rq_regs->rq_regs_c.mpte_group_size, in dcn10_get_rq_states() 221 rq_regs->rq_regs_c.swath_height, rq_regs->rq_regs_c.pte_row_height_linear); in dcn10_get_rq_states()
|
H A D | dcn10_hw_sequencer.c | 219 …rq_regs->rq_regs_l.pte_row_height_linear, rq_regs->rq_regs_c.chunk_size, rq_regs->rq_regs_c.min_ch… in dcn10_log_hubp_states() 220 rq_regs->rq_regs_c.meta_chunk_size, rq_regs->rq_regs_c.min_meta_chunk_size, in dcn10_log_hubp_states() 221 rq_regs->rq_regs_c.dpte_group_size, rq_regs->rq_regs_c.mpte_group_size, in dcn10_log_hubp_states() 222 rq_regs->rq_regs_c.swath_height, rq_regs->rq_regs_c.pte_row_height_linear); in dcn10_log_hubp_states()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn32/ |
H A D | display_rq_dlg_calc_32.c | 99 rq_regs->rq_regs_c.chunk_size = dml_log2(p1_pixel_chunk_bytes) - 10; in dml32_rq_dlg_get_rq_reg() 107 rq_regs->rq_regs_c.min_chunk_size = 0; in dml32_rq_dlg_get_rq_reg() 109 rq_regs->rq_regs_c.min_chunk_size = dml_log2(p1_min_pixel_chunk_bytes) - 8 + 1; in dml32_rq_dlg_get_rq_reg() 112 rq_regs->rq_regs_c.meta_chunk_size = dml_log2(p1_meta_chunk_bytes) - 10; in dml32_rq_dlg_get_rq_reg() 120 rq_regs->rq_regs_c.min_meta_chunk_size = 0; in dml32_rq_dlg_get_rq_reg() 122 rq_regs->rq_regs_c.min_meta_chunk_size = dml_log2(p1_min_meta_chunk_bytes) - 6 + 1; in dml32_rq_dlg_get_rq_reg() 126 rq_regs->rq_regs_c.dpte_group_size = dml_log2(p1_dpte_group_bytes) - 6; in dml32_rq_dlg_get_rq_reg() 127 rq_regs->rq_regs_c.mpte_group_size = dml_log2(p1_mpte_group_bytes) - 6; in dml32_rq_dlg_get_rq_reg() 146 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(p1_pte_row_height_linear), 1) - 3; in dml32_rq_dlg_get_rq_reg() 150 …rq_regs->rq_regs_c.swath_height = dml_log2(get_swath_height_c(mode_lib, e2e_pipe_param, num_pipes,… in dml32_rq_dlg_get_rq_reg()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn30/ |
H A D | dcn30_hubp.c | 444 CHUNK_SIZE_C, &rq_regs->rq_regs_c.chunk_size, in hubp3_read_state() 445 MIN_CHUNK_SIZE_C, &rq_regs->rq_regs_c.min_chunk_size, in hubp3_read_state() 446 META_CHUNK_SIZE_C, &rq_regs->rq_regs_c.meta_chunk_size, in hubp3_read_state() 447 MIN_META_CHUNK_SIZE_C, &rq_regs->rq_regs_c.min_meta_chunk_size, in hubp3_read_state() 448 DPTE_GROUP_SIZE_C, &rq_regs->rq_regs_c.dpte_group_size, in hubp3_read_state() 449 SWATH_HEIGHT_C, &rq_regs->rq_regs_c.swath_height, in hubp3_read_state() 450 PTE_ROW_HEIGHT_LINEAR_C, &rq_regs->rq_regs_c.pte_row_height_linear); in hubp3_read_state()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/ |
H A D | display_rq_dlg_helpers.c | 182 print__data_rq_regs_st(mode_lib, &rq_regs->rq_regs_c); in print__rq_regs_st()
|
H A D | display_mode_structs.h | 709 display_data_rq_regs_st rq_regs_c; member
|
H A D | dml1_display_rq_dlg_calc.c | 241 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in dml1_extract_rq_regs() 244 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in dml1_extract_rq_regs()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn20/ |
H A D | display_rq_dlg_calc_20v2.c | 202 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs() 203 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_c.dpte_row_height), in extract_rq_regs() 208 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
|
H A D | display_rq_dlg_calc_20.c | 202 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs() 203 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_c.dpte_row_height), in extract_rq_regs() 208 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 128 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs() 129 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_c.dpte_row_height), in extract_rq_regs() 134 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn31/ |
H A D | display_rq_dlg_calc_31.c | 122 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs() 123 …rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_c.dpte_row_height),… in extract_rq_regs() 127 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 181 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs() 182 rq_regs->rq_regs_c.pte_row_height_linear = dml_floor( in extract_rq_regs() 188 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
|
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn314/ |
H A D | display_rq_dlg_calc_314.c | 210 extract_rq_sizing_regs(mode_lib, &(rq_regs->rq_regs_c), &rq_param->sizing.rq_c); in extract_rq_regs() 211 …rq_regs->rq_regs_c.pte_row_height_linear = dml_floor(dml_log2(rq_param->dlg.rq_c.dpte_row_height),… in extract_rq_regs() 215 rq_regs->rq_regs_c.swath_height = dml_log2(rq_param->dlg.rq_c.swath_height); in extract_rq_regs()
|