Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99b314a0 authored by Damien Lespiau's avatar Damien Lespiau Committed by Daniel Vetter
Browse files

drm: Remove clock_index from struct drm_display_mode



This field was only accessed by the nouveau driver, but never set. So
concluded we can rid of this one.

Acked-by: default avatarBen Skeggs <bskeggs@redhat.com>
Reviewed-by: default avatarVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: default avatarDamien Lespiau <damien.lespiau@intel.com>
Acked-by: default avatarDave Airlie <airlied@gmail.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 560a067a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -326,8 +326,6 @@ nv_crtc_mode_set_vga(struct drm_crtc *crtc, struct drm_display_mode *mode)
			regp->MiscOutReg = 0x23;	/* +hsync +vsync */
	}

	regp->MiscOutReg |= (mode->clock_index & 0x03) << 2;

	/*
	 * Time Sequencer
	 */
+0 −1
Original line number Diff line number Diff line
@@ -156,7 +156,6 @@ struct drm_display_mode {
	int height_mm;

	/* Actual mode we give to hw */
	int clock_index;
	int synth_clock;
	int crtc_hdisplay;
	int crtc_hblank_start;