drm: Remove two unused fields from struct drm_display_mode
Subsystems (2)
PATCH 1/1 drm: Remove two unused fields from struct drm_display_mode
From: Damien Lespiau <[email protected]>
Signed-off-by Damien Lespiau <[email protected]>
--- drivers/gpu/drm/drm_modes.c | 3 --- include/drm/drm_crtc.h | 2 -- 2 files changed, 0 insertions(+), 5 deletions(-)
drivers/gpu/drm/drm_modes.c +0 -3
@@ -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_hblank_start =min (p->crtc_hsync_start, p->crtc_hdisplay); 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);
include/drm/drm_crtc.h +0 -2
@@ -166,8 +166,6 @@ struct drm_display_mode {int crtc_vsync_start;int crtc_vsync_end;int crtc_vtotal; -int crtc_hadjusted; -int crtc_vadjusted;/* Driver private mode info */ int private_size;
Signature · 1 line
1.7.7.5
Quoted 3 lines · Damien Lespiau
From: Damien Lespiau <[email protected]>
Signed-off-by Damien Lespiau <[email protected]>
Reviewed-by Jani Nikula <[email protected]>
Quoted 39 lines
--- drivers/gpu/drm/drm_modes.c | 3 --- include/drm/drm_crtc.h | 2 -- 2 files changed, 0 insertions(+), 5 deletions(-)drivers/gpu/drm/drm_modes.c +0
-3@@ -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_hblank_start =min (p->crtc_hsync_start, p->crtc_hdisplay); 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);include/drm/drm_crtc.h +0
-2@@ -166,8 +166,6 @@ struct drm_display_mode {int crtc_vsync_start;int crtc_vsync_end;int crtc_vtotal; -int crtc_hadjusted; -int crtc_vadjusted;/* Driver private mode info */ int private_size;Signature · 6 lines
1.7.7.5 _______________________________________________ dri-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/dri-devel