Home
last modified time | relevance | path

Searched refs:blk256_height (Results 1 – 13 of 13) sorted by relevance

/openbsd/sys/dev/pci/drm/amd/display/dc/dcn30/
H A Ddcn30_hubbub.c229 static void hubbub3_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub3_get_blk256_size() argument
236 *blk256_height = 16; in hubbub3_get_blk256_size()
239 *blk256_height = 8; in hubbub3_get_blk256_size()
242 *blk256_height = 8; in hubbub3_get_blk256_size()
245 *blk256_height = 4; in hubbub3_get_blk256_size()
257 unsigned int blk256_height = 0; in hubbub3_det_request_size() local
261 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub3_det_request_size()
263 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub3_det_request_size()
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/
H A Ddml1_display_rq_dlg_calc.c79 unsigned int *blk256_height, in get_blk256_size() argument
84 *blk256_height = 16; in get_blk256_size()
87 *blk256_height = 8; in get_blk256_size()
90 *blk256_height = 8; in get_blk256_size()
93 *blk256_height = 4; in get_blk256_size()
427 blk256_height = 1; in dml1_rq_dlg_get_row_heights()
656 blk256_height = 0; in get_surf_rq_param()
660 blk256_height = 1; in get_surf_rq_param()
700 blk256_height, in get_surf_rq_param()
701 1) + blk256_height; in get_surf_rq_param()
[all …]
H A Ddisplay_rq_dlg_helpers.c119 dml_print("DML_RQ_DLG_CALC: blk256_height = %0d\n", rq_misc_param->blk256_height); in print__data_rq_misc_params_st()
H A Ddisplay_mode_structs.h565 unsigned int blk256_height; member
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn20/
H A Ddcn20_hubbub.c171 static void hubbub2_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub2_get_blk256_size() argument
178 *blk256_height = 16; in hubbub2_get_blk256_size()
181 *blk256_height = 8; in hubbub2_get_blk256_size()
184 *blk256_height = 8; in hubbub2_get_blk256_size()
187 *blk256_height = 4; in hubbub2_get_blk256_size()
199 unsigned int blk256_height = 0; in hubbub2_det_request_size() local
203 hubbub2_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub2_det_request_size()
205 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub2_det_request_size()
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_rq_dlg_calc_30.c246 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
247 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
303 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local
377 blk256_height = blk256_height_y; in get_meta_and_pte_attr()
381 blk256_height = blk256_height_c; in get_meta_and_pte_attr()
390 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr()
393 log2_blk256_height = dml_log2((double)blk256_height); in get_meta_and_pte_attr()
432 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr()
433 if (surface_height < blk256_height) { in get_meta_and_pte_attr()
454 rq_misc_param->blk256_height = blk256_height; in get_meta_and_pte_attr()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn31/
H A Ddisplay_rq_dlg_calc_31.c266 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
267 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
324 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local
397 blk256_height = blk256_height_y; in get_meta_and_pte_attr()
401 blk256_height = blk256_height_c; in get_meta_and_pte_attr()
410 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr()
413 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr()
450 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr()
451 if (surface_height < blk256_height) { in get_meta_and_pte_attr()
470 rq_misc_param->blk256_height = blk256_height; in get_meta_and_pte_attr()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn20/
H A Ddisplay_rq_dlg_calc_20.c301 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
302 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
358 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local
429 blk256_height = blk256_height_y; in get_meta_and_pte_attr()
433 blk256_height = blk256_height_c; in get_meta_and_pte_attr()
442 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr()
445 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr()
471 + blk256_height; in get_meta_and_pte_attr()
476 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_height in get_meta_and_pte_attr()
482 rq_misc_param->blk256_height = blk256_height; in get_meta_and_pte_attr()
[all …]
H A Ddisplay_rq_dlg_calc_20v2.c301 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
302 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
358 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local
429 blk256_height = blk256_height_y; in get_meta_and_pte_attr()
433 blk256_height = blk256_height_c; in get_meta_and_pte_attr()
442 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr()
445 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr()
471 + blk256_height; in get_meta_and_pte_attr()
476 rq_misc_param->full_swath_bytes = rq_dlg_param->swath_width_ub * blk256_height in get_meta_and_pte_attr()
482 rq_misc_param->blk256_height = blk256_height; in get_meta_and_pte_attr()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn314/
H A Ddisplay_rq_dlg_calc_314.c354 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
355 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
412 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local
485 blk256_height = blk256_height_y; in get_meta_and_pte_attr()
489 blk256_height = blk256_height_c; in get_meta_and_pte_attr()
498 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr()
501 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr()
538 temp = dml_round_to_multiple(vp_height - 1, blk256_height, 1) + blk256_height; in get_meta_and_pte_attr()
539 if (surface_height < blk256_height) { in get_meta_and_pte_attr()
558 rq_misc_param->blk256_height = blk256_height; in get_meta_and_pte_attr()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/dml/dcn21/
H A Ddisplay_rq_dlg_calc_21.c285 swath_height_l = rq_param->misc.rq_l.blk256_height; in handle_det_buf_split()
286 swath_height_c = rq_param->misc.rq_c.blk256_height; in handle_det_buf_split()
348 unsigned int blk256_height = 0; in get_meta_and_pte_attr() local
421 blk256_height = blk256_height_y; in get_meta_and_pte_attr()
425 blk256_height = blk256_height_c; in get_meta_and_pte_attr()
434 dml_print("DML_DLG: %s: blk256_height = %d\n", __func__, blk256_height); in get_meta_and_pte_attr()
437 log2_blk256_height = dml_log2((double) blk256_height); in get_meta_and_pte_attr()
464 blk256_height, in get_meta_and_pte_attr()
465 1) + blk256_height; in get_meta_and_pte_attr()
476 rq_misc_param->blk256_height = blk256_height; in get_meta_and_pte_attr()
[all …]
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn10/
H A Ddcn10_hubbub.c796 static void hubbub1_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub1_get_blk256_size() argument
803 *blk256_height = 16; in hubbub1_get_blk256_size()
806 *blk256_height = 8; in hubbub1_get_blk256_size()
809 *blk256_height = 8; in hubbub1_get_blk256_size()
812 *blk256_height = 4; in hubbub1_get_blk256_size()
825 unsigned int blk256_height = 0; in hubbub1_det_request_size() local
829 hubbub1_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub1_det_request_size()
831 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub1_det_request_size()
/openbsd/sys/dev/pci/drm/amd/display/dc/dcn31/
H A Ddcn31_hubbub.c735 static void hubbub3_get_blk256_size(unsigned int *blk256_width, unsigned int *blk256_height, in hubbub3_get_blk256_size() argument
742 *blk256_height = 16; in hubbub3_get_blk256_size()
745 *blk256_height = 8; in hubbub3_get_blk256_size()
748 *blk256_height = 8; in hubbub3_get_blk256_size()
751 *blk256_height = 4; in hubbub3_get_blk256_size()
763 unsigned int blk256_height = 0; in hubbub31_det_request_size() local
767 hubbub3_get_blk256_size(&blk256_width, &blk256_height, bpe); in hubbub31_det_request_size()
769 swath_bytes_horz_wc = width * blk256_height * bpe; in hubbub31_det_request_size()