Home
last modified time | relevance | path

Searched refs:disp_dlg_regs (Results 1 – 7 of 7) sorted by relevance

/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn31/
Ddisplay_rq_dlg_calc_31.c857 display_dlg_regs_st *disp_dlg_regs, in dml_rq_dlg_get_dlg_params() argument
967 memset(disp_dlg_regs, 0, sizeof(*disp_dlg_regs)); in dml_rq_dlg_get_dlg_params()
981 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()
982disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal * dml_po… in dml_rq_dlg_get_dlg_params()
983 disp_dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; // 15 bits in dml_rq_dlg_get_dlg_params()
989 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()
990 disp_dlg_regs->min_dst_y_next_start_us = 0; in dml_rq_dlg_get_dlg_params()
991 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml_rq_dlg_get_dlg_params()
994 …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()
1036 disp_dlg_regs->vready_after_vcount0 = 1; in dml_rq_dlg_get_dlg_params()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn21/
Ddisplay_rq_dlg_calc_21.c834 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-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn30/
Ddisplay_rq_dlg_calc_30.c894 display_dlg_regs_st *disp_dlg_regs, in dml_rq_dlg_get_dlg_params() argument
1027 memset(disp_dlg_regs, 0, sizeof(*disp_dlg_regs)); in dml_rq_dlg_get_dlg_params()
1043 disp_dlg_regs->ref_freq_to_pix_freq = in dml_rq_dlg_get_dlg_params()
1045 disp_dlg_regs->refcyc_per_htotal = (unsigned int)(ref_freq_to_pix_freq * (double)htotal in dml_rq_dlg_get_dlg_params()
1047 disp_dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; // 15 bits in dml_rq_dlg_get_dlg_params()
1056 disp_dlg_regs->min_dst_y_next_start = (unsigned int)(((double)dlg_vblank_start in dml_rq_dlg_get_dlg_params()
1058 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml_rq_dlg_get_dlg_params()
1074 disp_dlg_regs->min_dst_y_next_start); in dml_rq_dlg_get_dlg_params()
1139 disp_dlg_regs->vready_after_vcount0 = 1; in dml_rq_dlg_get_dlg_params()
1141 disp_dlg_regs->vready_after_vcount0 = 0; in dml_rq_dlg_get_dlg_params()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn314/
Ddisplay_rq_dlg_calc_314.c942 display_dlg_regs_st *disp_dlg_regs, in dml_rq_dlg_get_dlg_params() argument
1052 memset(disp_dlg_regs, 0, sizeof(*disp_dlg_regs)); in dml_rq_dlg_get_dlg_params()
1066 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()
1067disp_dlg_regs->refcyc_per_htotal = (unsigned int) (ref_freq_to_pix_freq * (double) htotal * dml_po… in dml_rq_dlg_get_dlg_params()
1068 disp_dlg_regs->dlg_vblank_end = interlaced ? (vblank_end / 2) : vblank_end; // 15 bits in dml_rq_dlg_get_dlg_params()
1074 disp_dlg_regs->min_dst_y_next_start_us = in dml_rq_dlg_get_dlg_params()
1076 disp_dlg_regs->min_dst_y_next_start = vba__min_dst_y_next_start * dml_pow(2, 2); in dml_rq_dlg_get_dlg_params()
1078 ASSERT(disp_dlg_regs->min_dst_y_next_start < (unsigned int)dml_pow(2, 18)); in dml_rq_dlg_get_dlg_params()
1081 …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()
1123 disp_dlg_regs->vready_after_vcount0 = 1; in dml_rq_dlg_get_dlg_params()
[all …]
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dml/dcn20/
Ddisplay_rq_dlg_calc_20.c50 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 …]
Ddisplay_rq_dlg_calc_20v2.c50 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-v6.6/drivers/gpu/drm/amd/display/dc/dml/
Ddml1_display_rq_dlg_calc.c999 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 …]