forked from Minki/linux
drm: Remove two unused fields from struct drm_display_mode
Signed-off-by: Damien Lespiau <damien.lespiau@intel.com> Reviewed-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
f5869a8308
commit
04ccfe77f1
@ -706,9 +706,6 @@ void drm_mode_set_crtcinfo(struct drm_display_mode *p, int adjust_flags)
|
|||||||
p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal);
|
p->crtc_vblank_end = max(p->crtc_vsync_end, p->crtc_vtotal);
|
||||||
p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay);
|
p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay);
|
||||||
p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal);
|
p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal);
|
||||||
|
|
||||||
p->crtc_hadjusted = false;
|
|
||||||
p->crtc_vadjusted = false;
|
|
||||||
}
|
}
|
||||||
EXPORT_SYMBOL(drm_mode_set_crtcinfo);
|
EXPORT_SYMBOL(drm_mode_set_crtcinfo);
|
||||||
|
|
||||||
|
@ -166,8 +166,6 @@ struct drm_display_mode {
|
|||||||
int crtc_vsync_start;
|
int crtc_vsync_start;
|
||||||
int crtc_vsync_end;
|
int crtc_vsync_end;
|
||||||
int crtc_vtotal;
|
int crtc_vtotal;
|
||||||
int crtc_hadjusted;
|
|
||||||
int crtc_vadjusted;
|
|
||||||
|
|
||||||
/* Driver private mode info */
|
/* Driver private mode info */
|
||||||
int private_size;
|
int private_size;
|
||||||
|
Loading…
Reference in New Issue
Block a user