提交 99b314a0 编写于 作者: D Damien Lespiau 提交者: Daniel Vetter

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: NBen Skeggs <bskeggs@redhat.com>
Reviewed-by: NVille Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: NDamien Lespiau <damien.lespiau@intel.com>
Acked-by: NDave Airlie <airlied@gmail.com>
Signed-off-by: NDaniel Vetter <daniel.vetter@ffwll.ch>
上级 560a067a
...@@ -326,8 +326,6 @@ nv_crtc_mode_set_vga(struct drm_crtc *crtc, struct drm_display_mode *mode) ...@@ -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 = 0x23; /* +hsync +vsync */
} }
regp->MiscOutReg |= (mode->clock_index & 0x03) << 2;
/* /*
* Time Sequencer * Time Sequencer
*/ */
......
...@@ -156,7 +156,6 @@ struct drm_display_mode { ...@@ -156,7 +156,6 @@ struct drm_display_mode {
int height_mm; int height_mm;
/* Actual mode we give to hw */ /* Actual mode we give to hw */
int clock_index;
int synth_clock; int synth_clock;
int crtc_hdisplay; int crtc_hdisplay;
int crtc_hblank_start; int crtc_hblank_start;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册