/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
H A D | display_rq_dlg_calc_20.c | 127 unsigned int req_per_swath_ub) in get_refcyc_per_delivery() argument 135 / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 138 / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 141 / (double) hscale_pixel_rate / (double) req_per_swath_ub; in get_refcyc_per_delivery() 148 dml_print("DML_DLG: %s: req_per_swath_ub = %d\n", __func__, req_per_swath_ub); in get_refcyc_per_delivery() 468 rq_dlg_param->req_per_swath_ub = rq_dlg_param->swath_width_ub >> log2_blk256_width; in get_meta_and_pte_attr() 472 rq_dlg_param->req_per_swath_ub = rq_dlg_param->swath_width_ub >> log2_blk256_height; in get_meta_and_pte_attr() 1140 req_per_swath_ub_l = rq_dlg_param->rq_l.req_per_swath_ub; in dml20_rq_dlg_get_dlg_params() 1141 req_per_swath_ub_c = rq_dlg_param->rq_c.req_per_swath_ub; in dml20_rq_dlg_get_dlg_params()
|
H A D | display_rq_dlg_calc_20v2.c | 127 unsigned int req_per_swath_ub) in get_refcyc_per_delivery() argument 135 / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 138 / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 141 / (double) hscale_pixel_rate / (double) req_per_swath_ub; in get_refcyc_per_delivery() 148 dml_print("DML_DLG: %s: req_per_swath_ub = %d\n", __func__, req_per_swath_ub); in get_refcyc_per_delivery() 468 rq_dlg_param->req_per_swath_ub = rq_dlg_param->swath_width_ub >> log2_blk256_width; in get_meta_and_pte_attr() 472 rq_dlg_param->req_per_swath_ub = rq_dlg_param->swath_width_ub >> log2_blk256_height; in get_meta_and_pte_attr() 1141 req_per_swath_ub_l = rq_dlg_param->rq_l.req_per_swath_ub; in dml20v2_rq_dlg_get_dlg_params() 1142 req_per_swath_ub_c = rq_dlg_param->rq_c.req_per_swath_ub; in dml20v2_rq_dlg_get_dlg_params()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
H A D | display_rq_dlg_calc_30.c | 51 unsigned int req_per_swath_ub) in get_refcyc_per_delivery() argument 59 / pclk_freq_in_mhz / (double)req_per_swath_ub; in get_refcyc_per_delivery() 62 / pclk_freq_in_mhz / (double)req_per_swath_ub; in get_refcyc_per_delivery() 65 / (double)hscale_pixel_rate / (double)req_per_swath_ub; in get_refcyc_per_delivery() 72 dml_print("DML_DLG: %s: req_per_swath_ub = %d\n", __func__, req_per_swath_ub); in get_refcyc_per_delivery() 426 rq_dlg_param->req_per_swath_ub = temp >> log2_blk256_width; in get_meta_and_pte_attr() 442 rq_dlg_param->req_per_swath_ub = temp >> log2_blk256_height; in get_meta_and_pte_attr() 1293 req_per_swath_ub_l = rq_dlg_param.rq_l.req_per_swath_ub; in dml_rq_dlg_get_dlg_params() 1294 req_per_swath_ub_c = rq_dlg_param.rq_c.req_per_swath_ub; in dml_rq_dlg_get_dlg_params()
|
H A D | display_mode_vba_30.c | 5577 double req_per_swath_ub = 0; in CalculatePixelDeliveryTimes() local 5616 req_per_swath_ub = swath_width_luma_ub[k] / BlockWidth256BytesY[k]; in CalculatePixelDeliveryTimes() 5618 req_per_swath_ub = swath_width_luma_ub[k] / BlockHeight256BytesY[k]; in CalculatePixelDeliveryTimes() 5620 DisplayPipeRequestDeliveryTimeLuma[k] = DisplayPipeLineDeliveryTimeLuma[k] / req_per_swath_ub; in CalculatePixelDeliveryTimes() 5621 …RequestDeliveryTimeLumaPrefetch[k] = DisplayPipeLineDeliveryTimeLumaPrefetch[k] / req_per_swath_ub; in CalculatePixelDeliveryTimes() 5627 req_per_swath_ub = swath_width_chroma_ub[k] / BlockWidth256BytesC[k]; in CalculatePixelDeliveryTimes() 5629 req_per_swath_ub = swath_width_chroma_ub[k] / BlockHeight256BytesC[k]; in CalculatePixelDeliveryTimes() 5631 … DisplayPipeRequestDeliveryTimeChroma[k] = DisplayPipeLineDeliveryTimeChroma[k] / req_per_swath_ub; in CalculatePixelDeliveryTimes() 5632 …estDeliveryTimeChromaPrefetch[k] = DisplayPipeLineDeliveryTimeChromaPrefetch[k] / req_per_swath_ub; in CalculatePixelDeliveryTimes()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
H A D | display_rq_dlg_calc_31.c | 52 unsigned int req_per_swath_ub) in get_refcyc_per_delivery() argument 59 …double) hactive / ((unsigned int) odm_combine * 2)) / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 61 …(double) refclk_freq_in_mhz * (double) recout_width / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 63 …clk_freq_in_mhz * (double) delivery_width / (double) hscale_pixel_rate / (double) req_per_swath_ub; in get_refcyc_per_delivery() 71 dml_print("DML_DLG: %s: req_per_swath_ub = %d\n", __func__, req_per_swath_ub); in get_refcyc_per_delivery() 446 rq_dlg_param->req_per_swath_ub = temp >> log2_blk256_width; in get_meta_and_pte_attr() 462 rq_dlg_param->req_per_swath_ub = temp >> log2_blk256_height; in get_meta_and_pte_attr() 1134 req_per_swath_ub_l = rq_dlg_param->rq_l.req_per_swath_ub; in dml_rq_dlg_get_dlg_params() 1135 req_per_swath_ub_c = rq_dlg_param->rq_c.req_per_swath_ub; in dml_rq_dlg_get_dlg_params()
|
H A D | display_mode_vba_31.c | 5934 double req_per_swath_ub; local 5973 req_per_swath_ub = swath_width_luma_ub[k] / BlockWidth256BytesY[k]; 5975 req_per_swath_ub = swath_width_luma_ub[k] / BlockHeight256BytesY[k]; 5977 DisplayPipeRequestDeliveryTimeLuma[k] = DisplayPipeLineDeliveryTimeLuma[k] / req_per_swath_ub; 5978 …RequestDeliveryTimeLumaPrefetch[k] = DisplayPipeLineDeliveryTimeLumaPrefetch[k] / req_per_swath_ub; 5984 req_per_swath_ub = swath_width_chroma_ub[k] / BlockWidth256BytesC[k]; 5986 req_per_swath_ub = swath_width_chroma_ub[k] / BlockHeight256BytesC[k]; 5988 … DisplayPipeRequestDeliveryTimeChroma[k] = DisplayPipeLineDeliveryTimeChroma[k] / req_per_swath_ub; 5989 …estDeliveryTimeChromaPrefetch[k] = DisplayPipeLineDeliveryTimeChromaPrefetch[k] / req_per_swath_ub;
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
H A D | display_rq_dlg_calc_21.c | 103 unsigned int req_per_swath_ub) in get_refcyc_per_delivery() argument 111 / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 114 / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 117 / (double) hscale_pixel_rate / (double) req_per_swath_ub; in get_refcyc_per_delivery() 124 dml_print("DML_DLG: %s: req_per_swath_ub = %d\n", __func__, req_per_swath_ub); in get_refcyc_per_delivery() 460 rq_dlg_param->req_per_swath_ub = rq_dlg_param->swath_width_ub >> log2_blk256_width; in get_meta_and_pte_attr() 466 rq_dlg_param->req_per_swath_ub = rq_dlg_param->swath_width_ub >> log2_blk256_height; in get_meta_and_pte_attr() 1192 req_per_swath_ub_l = rq_dlg_param->rq_l.req_per_swath_ub; in dml_rq_dlg_get_dlg_params() 1193 req_per_swath_ub_c = rq_dlg_param->rq_c.req_per_swath_ub; in dml_rq_dlg_get_dlg_params()
|
H A D | display_mode_vba_21.c | 5760 double req_per_swath_ub; in CalculatePixelDeliveryTimes() local 5808 req_per_swath_ub = swath_width_luma_ub[k] / BlockWidth256BytesY[k]; in CalculatePixelDeliveryTimes() 5810 req_per_swath_ub = swath_width_luma_ub[k] / BlockHeight256BytesY[k]; in CalculatePixelDeliveryTimes() 5813 / req_per_swath_ub; in CalculatePixelDeliveryTimes() 5815 DisplayPipeLineDeliveryTimeLumaPrefetch[k] / req_per_swath_ub; in CalculatePixelDeliveryTimes() 5821 req_per_swath_ub = swath_width_chroma_ub[k] in CalculatePixelDeliveryTimes() 5824 req_per_swath_ub = swath_width_chroma_ub[k] in CalculatePixelDeliveryTimes() 5828 DisplayPipeLineDeliveryTimeChroma[k] / req_per_swath_ub; in CalculatePixelDeliveryTimes() 5830 DisplayPipeLineDeliveryTimeChromaPrefetch[k] / req_per_swath_ub; in CalculatePixelDeliveryTimes()
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
H A D | display_rq_dlg_calc_314.c | 140 unsigned int req_per_swath_ub) in get_refcyc_per_delivery() argument 147 …double) hactive / ((unsigned int) odm_combine * 2)) / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 149 …(double) refclk_freq_in_mhz * (double) recout_width / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 151 …clk_freq_in_mhz * (double) delivery_width / (double) hscale_pixel_rate / (double) req_per_swath_ub; in get_refcyc_per_delivery() 159 dml_print("DML_DLG: %s: req_per_swath_ub = %d\n", __func__, req_per_swath_ub); in get_refcyc_per_delivery() 534 rq_dlg_param->req_per_swath_ub = temp >> log2_blk256_width; in get_meta_and_pte_attr() 550 rq_dlg_param->req_per_swath_ub = temp >> log2_blk256_height; in get_meta_and_pte_attr() 1222 req_per_swath_ub_l = rq_dlg_param->rq_l.req_per_swath_ub; in dml_rq_dlg_get_dlg_params() 1223 req_per_swath_ub_c = rq_dlg_param->rq_c.req_per_swath_ub; in dml_rq_dlg_get_dlg_params()
|
H A D | display_mode_vba_314.c | 6029 double req_per_swath_ub; local 6068 req_per_swath_ub = swath_width_luma_ub[k] / BlockWidth256BytesY[k]; 6070 req_per_swath_ub = swath_width_luma_ub[k] / BlockHeight256BytesY[k]; 6072 DisplayPipeRequestDeliveryTimeLuma[k] = DisplayPipeLineDeliveryTimeLuma[k] / req_per_swath_ub; 6073 …RequestDeliveryTimeLumaPrefetch[k] = DisplayPipeLineDeliveryTimeLumaPrefetch[k] / req_per_swath_ub; 6079 req_per_swath_ub = swath_width_chroma_ub[k] / BlockWidth256BytesC[k]; 6081 req_per_swath_ub = swath_width_chroma_ub[k] / BlockHeight256BytesC[k]; 6083 … DisplayPipeRequestDeliveryTimeChroma[k] = DisplayPipeLineDeliveryTimeChroma[k] / req_per_swath_ub; 6084 …estDeliveryTimeChromaPrefetch[k] = DisplayPipeLineDeliveryTimeChromaPrefetch[k] / req_per_swath_ub;
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/ |
H A D | dml1_display_rq_dlg_calc.c | 105 unsigned int req_per_swath_ub) in get_refcyc_per_delivery() argument 111 / pclk_freq_in_mhz / (double) req_per_swath_ub; in get_refcyc_per_delivery() 114 / (double) hscale_pixel_rate / (double) req_per_swath_ub; in get_refcyc_per_delivery() 121 DTRACE("DLG: %s: req_per_swath_ub = %d", __func__, req_per_swath_ub); in get_refcyc_per_delivery() 696 rq_dlg_param->req_per_swath_ub = rq_dlg_param->swath_width_ub >> log2_blk256_width; in get_surf_rq_param() 702 rq_dlg_param->req_per_swath_ub = rq_dlg_param->swath_width_ub >> log2_blk256_height; in get_surf_rq_param() 1549 req_per_swath_ub_l = rq_dlg_param->rq_l.req_per_swath_ub; in dml1_rq_dlg_get_dlg_params() 1550 req_per_swath_ub_c = rq_dlg_param->rq_c.req_per_swath_ub; in dml1_rq_dlg_get_dlg_params()
|
H A D | display_rq_dlg_helpers.c | 77 rq_dlg_param->req_per_swath_ub); in print__data_rq_dlg_params_st()
|
H A D | display_mode_structs.h | 583 unsigned int req_per_swath_ub; member
|
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | display_mode_vba_util_32.c | 4732 double req_per_swath_ub; in dml32_CalculatePixelDeliveryTimes() local 4803 req_per_swath_ub = swath_width_luma_ub[k] / BlockWidth256BytesY[k]; in dml32_CalculatePixelDeliveryTimes() 4805 req_per_swath_ub = swath_width_luma_ub[k] / BlockHeight256BytesY[k]; in dml32_CalculatePixelDeliveryTimes() 4807 dml_print("DML::%s: k=%d : req_per_swath_ub = %f (Luma)\n", __func__, k, req_per_swath_ub); in dml32_CalculatePixelDeliveryTimes() 4810 DisplayPipeRequestDeliveryTimeLuma[k] = DisplayPipeLineDeliveryTimeLuma[k] / req_per_swath_ub; in dml32_CalculatePixelDeliveryTimes() 4812 DisplayPipeLineDeliveryTimeLumaPrefetch[k] / req_per_swath_ub; in dml32_CalculatePixelDeliveryTimes() 4818 req_per_swath_ub = swath_width_chroma_ub[k] / BlockWidth256BytesC[k]; in dml32_CalculatePixelDeliveryTimes() 4820 req_per_swath_ub = swath_width_chroma_ub[k] / BlockHeight256BytesC[k]; in dml32_CalculatePixelDeliveryTimes() 4822 dml_print("DML::%s: k=%d : req_per_swath_ub = %f (Chroma)\n", __func__, k, req_per_swath_ub); in dml32_CalculatePixelDeliveryTimes() 4825 DisplayPipeLineDeliveryTimeChroma[k] / req_per_swath_ub; in dml32_CalculatePixelDeliveryTimes() [all …]
|