intel-gfx.lists.freedesktop.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] drm: Remove two unused fields from struct drm_display_mode
@ 2012-08-17 13:16 Damien Lespiau
  2012-08-20  6:47 ` Jani Nikula
  0 siblings, 1 reply; 2+ messages in thread
From: Damien Lespiau @ 2012-08-17 13:16 UTC (permalink / raw)
  To: intel-gfx

From: Damien Lespiau <damien.lespiau@intel.com>

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
---
 drivers/gpu/drm/drm_modes.c |    3 ---
 include/drm/drm_crtc.h      |    2 --
 2 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
index b7adb4a..28637c1 100644
--- a/drivers/gpu/drm/drm_modes.c
+++ b/drivers/gpu/drm/drm_modes.c
@@ -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);
 
diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
index a1a0386..ced3625 100644
--- a/include/drm/drm_crtc.h
+++ b/include/drm/drm_crtc.h
@@ -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;
-- 
1.7.7.5

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] drm: Remove two unused fields from struct drm_display_mode
  2012-08-17 13:16 [PATCH] drm: Remove two unused fields from struct drm_display_mode Damien Lespiau
@ 2012-08-20  6:47 ` Jani Nikula
  0 siblings, 0 replies; 2+ messages in thread
From: Jani Nikula @ 2012-08-20  6:47 UTC (permalink / raw)
  To: Damien Lespiau, intel-gfx


Hi Damien, please send this to dri-devel list. FWIW, you can add my

Reviewed-by: Jani Nikula <jani.nikula@intel.com>

On Fri, 17 Aug 2012, Damien Lespiau <damien.lespiau@gmail.com> wrote:
> From: Damien Lespiau <damien.lespiau@intel.com>
>
> Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
> ---
>  drivers/gpu/drm/drm_modes.c |    3 ---
>  include/drm/drm_crtc.h      |    2 --
>  2 files changed, 0 insertions(+), 5 deletions(-)
>
> diff --git a/drivers/gpu/drm/drm_modes.c b/drivers/gpu/drm/drm_modes.c
> index b7adb4a..28637c1 100644
> --- a/drivers/gpu/drm/drm_modes.c
> +++ b/drivers/gpu/drm/drm_modes.c
> @@ -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);
>  
> diff --git a/include/drm/drm_crtc.h b/include/drm/drm_crtc.h
> index a1a0386..ced3625 100644
> --- a/include/drm/drm_crtc.h
> +++ b/include/drm/drm_crtc.h
> @@ -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;
> -- 
> 1.7.7.5
>
> _______________________________________________
> Intel-gfx mailing list
> Intel-gfx@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/intel-gfx

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-08-20  6:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-08-17 13:16 [PATCH] drm: Remove two unused fields from struct drm_display_mode Damien Lespiau
2012-08-20  6:47 ` Jani Nikula

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).