Displaying 4 results from an estimated 4 matches for "refresh_rate".
2020 Apr 28
0
[PATCH v3 03/16] drm: Nuke mode->vrefresh
...15/display/intel_audio.c
@@ -531,7 +531,7 @@ static unsigned int get_hblank_early_enable_config(struct intel_encoder *encoder
h_total = crtc_state->hw.adjusted_mode.crtc_htotal;
v_total = crtc_state->hw.adjusted_mode.crtc_vtotal;
pixel_clk = crtc_state->hw.adjusted_mode.crtc_clock;
- refresh_rate = crtc_state->hw.adjusted_mode.vrefresh;
+ refresh_rate = drm_mode_vrefresh(&crtc_state->hw.adjusted_mode);
vdsc_bpp = crtc_state->dsc.compressed_bpp;
cdclk = i915->cdclk.hw.cdclk;
/* fec= 0.972261, using rounding multiplier of 1000000 */
diff --git a/drivers/gpu/drm/i915/disp...
2020 Apr 04
0
[PATCH v2 03/17] drm: Nuke mode->vrefresh
.....5548caf07163 100644
> --- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
> +++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
> @@ -1104,10 +1104,10 @@ static void drrs_status_per_crtc(struct
> seq_file *m,
> seq_puts(m, "\n\t\t");
> if (drrs->refresh_rate_type == DRRS_HIGH_RR) {
> seq_puts(m, "DRRS_State: DRRS_HIGH_RR\n");
> - vrefresh = panel->fixed_mode->vrefresh;
> + vrefresh = drm_mode_vrefresh(panel->fixed_mode);
> } else if (drrs->refresh_rate_type == DRRS_LOW_RR) {
> seq_puts(m, "DRRS_S...
2020 Apr 03
3
[PATCH v2 03/17] drm: Nuke mode->vrefresh
...ay_debugfs.c
index 424f4e52f783..5548caf07163 100644
--- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
+++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
@@ -1104,10 +1104,10 @@ static void drrs_status_per_crtc(struct seq_file *m,
seq_puts(m, "\n\t\t");
if (drrs->refresh_rate_type == DRRS_HIGH_RR) {
seq_puts(m, "DRRS_State: DRRS_HIGH_RR\n");
- vrefresh = panel->fixed_mode->vrefresh;
+ vrefresh = drm_mode_vrefresh(panel->fixed_mode);
} else if (drrs->refresh_rate_type == DRRS_LOW_RR) {
seq_puts(m, "DRRS_State: DRRS_LOW_RR\n"...
2020 Feb 19
5
[PATCH 04/12] drm: Nuke mode->vrefresh
...ay_debugfs.c
index 46954cc7b6c0..3238a73d2402 100644
--- a/drivers/gpu/drm/i915/display/intel_display_debugfs.c
+++ b/drivers/gpu/drm/i915/display/intel_display_debugfs.c
@@ -1099,10 +1099,10 @@ static void drrs_status_per_crtc(struct seq_file *m,
seq_puts(m, "\n\t\t");
if (drrs->refresh_rate_type == DRRS_HIGH_RR) {
seq_puts(m, "DRRS_State: DRRS_HIGH_RR\n");
- vrefresh = panel->fixed_mode->vrefresh;
+ vrefresh = drm_mode_vrefresh(panel->fixed_mode);
} else if (drrs->refresh_rate_type == DRRS_LOW_RR) {
seq_puts(m, "DRRS_State: DRRS_LOW_RR\n"...