/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn314/ |
D | display_rq_dlg_calc_314.c | 942 display_dlg_regs_st *disp_dlg_regs, in dml_rq_dlg_get_dlg_params() argument 1058 memset(disp_dlg_regs, 0, sizeof(*disp_dlg_regs)); in dml_rq_dlg_get_dlg_params() 1072 disp_dlg_regs->ref_freq_to_pix_freq = (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml_rq_dlg_get_dlg_params() 1073 …disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal * dml_po… in dml_rq_dlg_get_dlg_params() 1074 disp_dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; // 15 bits in dml_rq_dlg_get_dlg_params() 1080 disp_dlg_regs->optimized_min_dst_y_next_start = disp_dlg_regs->min_dst_y_next_start; in dml_rq_dlg_get_dlg_params() 1081 disp_dlg_regs->optimized_min_dst_y_next_start_us = 0; in dml_rq_dlg_get_dlg_params() 1082 disp_dlg_regs->min_dst_y_next_start = (unsigned int) (((double) dlg_vblank_start) * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params() 1087 disp_dlg_regs->optimized_min_dst_y_next_start = vba__min_dst_y_next_start; in dml_rq_dlg_get_dlg_params() 1088 …disp_dlg_regs->optimized_min_dst_y_next_start_us = (disp_dlg_regs->optimized_min_dst_y_next_start … in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn21/ |
D | display_rq_dlg_calc_21.c | 834 display_dlg_regs_st *disp_dlg_regs, in dml_rq_dlg_get_dlg_params() argument 962 memset(disp_dlg_regs, 0, sizeof(*disp_dlg_regs)); in dml_rq_dlg_get_dlg_params() 975 disp_dlg_regs->ref_freq_to_pix_freq = in dml_rq_dlg_get_dlg_params() 977 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml_rq_dlg_get_dlg_params() 979 disp_dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; // 15 bits in dml_rq_dlg_get_dlg_params() 980 disp_dlg_regs->refcyc_h_blank_end = (unsigned int) ((double) hblank_end in dml_rq_dlg_get_dlg_params() 982 ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int)dml_pow(2, 13)); in dml_rq_dlg_get_dlg_params() 991 disp_dlg_regs->min_dst_y_next_start = (unsigned int) (((double) dlg_vblank_start) * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params() 992 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml_rq_dlg_get_dlg_params() 1013 disp_dlg_regs->min_dst_y_next_start); in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn30/ |
D | display_rq_dlg_calc_30.c | 896 display_dlg_regs_st *disp_dlg_regs, in dml_rq_dlg_get_dlg_params() argument 1029 memset(disp_dlg_regs, 0, sizeof(*disp_dlg_regs)); in dml_rq_dlg_get_dlg_params() 1045 disp_dlg_regs->ref_freq_to_pix_freq = in dml_rq_dlg_get_dlg_params() 1047 disp_dlg_regs->refcyc_per_htotal = (unsigned int)(ref_freq_to_pix_freq * (double)htotal in dml_rq_dlg_get_dlg_params() 1049 disp_dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; // 15 bits in dml_rq_dlg_get_dlg_params() 1058 disp_dlg_regs->min_dst_y_next_start = (unsigned int)(((double)dlg_vblank_start in dml_rq_dlg_get_dlg_params() 1060 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml_rq_dlg_get_dlg_params() 1076 disp_dlg_regs->min_dst_y_next_start); in dml_rq_dlg_get_dlg_params() 1141 disp_dlg_regs->vready_after_vcount0 = 1; in dml_rq_dlg_get_dlg_params() 1143 disp_dlg_regs->vready_after_vcount0 = 0; in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn31/ |
D | display_rq_dlg_calc_31.c | 857 display_dlg_regs_st *disp_dlg_regs, in dml_rq_dlg_get_dlg_params() argument 968 memset(disp_dlg_regs, 0, sizeof(*disp_dlg_regs)); in dml_rq_dlg_get_dlg_params() 982 disp_dlg_regs->ref_freq_to_pix_freq = (unsigned int) (ref_freq_to_pix_freq * dml_pow(2, 19)); in dml_rq_dlg_get_dlg_params() 983 …disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal * dml_po… in dml_rq_dlg_get_dlg_params() 984 disp_dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; // 15 bits in dml_rq_dlg_get_dlg_params() 990 disp_dlg_regs->min_dst_y_next_start = (unsigned int) (((double) dlg_vblank_start) * dml_pow(2, 2)); in dml_rq_dlg_get_dlg_params() 991 disp_dlg_regs->optimized_min_dst_y_next_start_us = 0; in dml_rq_dlg_get_dlg_params() 992 disp_dlg_regs->optimized_min_dst_y_next_start = disp_dlg_regs->min_dst_y_next_start; in dml_rq_dlg_get_dlg_params() 993 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml_rq_dlg_get_dlg_params() 996 …dml_print("DML_DLG: %s: min_dst_y_next_start = 0x%0x\n", __func__, disp_dlg_regs->min_dst_y… in dml_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/dcn20/ |
D | display_rq_dlg_calc_20.c | 50 display_dlg_regs_st *disp_dlg_regs, 788 display_dlg_regs_st *disp_dlg_regs, in dml20_rq_dlg_get_dlg_params() argument 916 memset(disp_dlg_regs, 0, sizeof(*disp_dlg_regs)); in dml20_rq_dlg_get_dlg_params() 929 disp_dlg_regs->ref_freq_to_pix_freq = in dml20_rq_dlg_get_dlg_params() 931 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml20_rq_dlg_get_dlg_params() 933 disp_dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; // 15 bits in dml20_rq_dlg_get_dlg_params() 934 disp_dlg_regs->refcyc_h_blank_end = (unsigned int) ((double) hblank_end in dml20_rq_dlg_get_dlg_params() 936 ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int) dml_pow(2, 13)); in dml20_rq_dlg_get_dlg_params() 945 disp_dlg_regs->min_dst_y_next_start = (unsigned int) ((double) dlg_vblank_start * dml_pow(2, 2)); in dml20_rq_dlg_get_dlg_params() 946 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int) dml_pow(2, 18)); in dml20_rq_dlg_get_dlg_params() [all …]
|
D | display_rq_dlg_calc_20v2.c | 50 display_dlg_regs_st *disp_dlg_regs, 788 display_dlg_regs_st *disp_dlg_regs, in dml20v2_rq_dlg_get_dlg_params() argument 916 memset(disp_dlg_regs, 0, sizeof(*disp_dlg_regs)); in dml20v2_rq_dlg_get_dlg_params() 929 disp_dlg_regs->ref_freq_to_pix_freq = in dml20v2_rq_dlg_get_dlg_params() 931 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml20v2_rq_dlg_get_dlg_params() 933 disp_dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; // 15 bits in dml20v2_rq_dlg_get_dlg_params() 934 disp_dlg_regs->refcyc_h_blank_end = (unsigned int) ((double) hblank_end in dml20v2_rq_dlg_get_dlg_params() 936 ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int) dml_pow(2, 13)); in dml20v2_rq_dlg_get_dlg_params() 945 disp_dlg_regs->min_dst_y_next_start = (unsigned int) (((double) dlg_vblank_start in dml20v2_rq_dlg_get_dlg_params() 947 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int) dml_pow(2, 18)); in dml20v2_rq_dlg_get_dlg_params() [all …]
|
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dml/ |
D | dml1_display_rq_dlg_calc.c | 999 struct _vcs_dpi_display_dlg_regs_st *disp_dlg_regs, in dml1_rq_dlg_get_dlg_params() argument 1134 memset(disp_dlg_regs, 0, sizeof(*disp_dlg_regs)); in dml1_rq_dlg_get_dlg_params() 1153 disp_dlg_regs->ref_freq_to_pix_freq = in dml1_rq_dlg_get_dlg_params() 1155 disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal in dml1_rq_dlg_get_dlg_params() 1157 disp_dlg_regs->refcyc_h_blank_end = (unsigned int) ((double) hblank_end in dml1_rq_dlg_get_dlg_params() 1159 ASSERT(disp_dlg_regs->refcyc_h_blank_end < (unsigned int) dml_pow(2, 13)); in dml1_rq_dlg_get_dlg_params() 1160 disp_dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; /* 15 bits */ in dml1_rq_dlg_get_dlg_params() 1175 disp_dlg_regs->min_dst_y_next_start = (unsigned int) (((double) dlg_vblank_start in dml1_rq_dlg_get_dlg_params() 1177 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int) dml_pow(2, 18)); in dml1_rq_dlg_get_dlg_params() 1189 disp_dlg_regs->min_dst_y_next_start); in dml1_rq_dlg_get_dlg_params() [all …]
|