public inbox for intel-gfx@lists.freedesktop.org
 help / color / mirror / Atom feed
* [PATCH 0/7] drm/i915: Always use crtc_ timings with adjusted_mode
@ 2015-09-08 10:40 ville.syrjala
  2015-09-08 10:40 ` [PATCH 1/7] drm/i915: Use intel_panel for DVO fixed mode handling ville.syrjala
                   ` (7 more replies)
  0 siblings, 8 replies; 26+ messages in thread
From: ville.syrjala @ 2015-09-08 10:40 UTC (permalink / raw)
  To: intel-gfx

From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Maarten pointed out that we still look at the non-crtc_ timings from
adjusted_mode in many places. While that is only strictly required with
HDMI due to stereo doubling I think it's better to be consistent about
it and always use the crtc_ timings. So this series aims to do just that.

I used spatch and sed to do a bunch of the conversion. I also used spatch
to located the functions that get passed the adjusted_mode (fairly easy
after the mode->adjustead_mode rename), but I was too lazy to figure out
if there is a way to make it rename those function arguments at the same
time, so I just did that part manually.

Series available here:
git://github.com/vsyrjala/linux.git adjusted_mode_crtc_timings

In the branch I also included my earlier drm_edid.c const patches [1],
as I believe this series would run into some compiler warnings without
some of those those patches.

[1] http://lists.freedesktop.org/archives/dri-devel/2015-September/089896.html

Ville Syrjälä (7):
  drm/i915: Use intel_panel for DVO fixed mode handling
  drm/i915: Always call the adjusted mode 'adjusted_mode'
  drm/i915: s/mode/adjusted_mode/ in functions that really get passed
    the adjusted_mode
  drm/i915: Always use crtc_ timings when dealing with adjustead_mode
  drm/i915: Move HDMI aspect ratio setup to .compute_config()
  drm/i915: Constify adjusted_mode
  drm/i915: Add HDMI aspect ratio property for SDVO

 drivers/gpu/drm/i915/dvo.h           |   4 +-
 drivers/gpu/drm/i915/dvo_ch7017.c    |   4 +-
 drivers/gpu/drm/i915/dvo_ch7xxx.c    |   4 +-
 drivers/gpu/drm/i915/dvo_ivch.c      |  12 ++--
 drivers/gpu/drm/i915/dvo_ns2501.c    |   4 +-
 drivers/gpu/drm/i915/dvo_sil164.c    |   4 +-
 drivers/gpu/drm/i915/dvo_tfp410.c    |   4 +-
 drivers/gpu/drm/i915/i915_drv.h      |   2 +-
 drivers/gpu/drm/i915/intel_audio.c   |  24 ++++----
 drivers/gpu/drm/i915/intel_crt.c     |   2 +-
 drivers/gpu/drm/i915/intel_display.c |  20 +++----
 drivers/gpu/drm/i915/intel_dp.c      |   2 +-
 drivers/gpu/drm/i915/intel_dp_mst.c  |   4 +-
 drivers/gpu/drm/i915/intel_drv.h     |   3 +-
 drivers/gpu/drm/i915/intel_dsi.c     |  37 ++++++-------
 drivers/gpu/drm/i915/intel_dvo.c     |  59 +++++++++-----------
 drivers/gpu/drm/i915/intel_hdmi.c    |  40 +++++---------
 drivers/gpu/drm/i915/intel_lvds.c    |   3 +-
 drivers/gpu/drm/i915/intel_modes.c   |   9 +++
 drivers/gpu/drm/i915/intel_panel.c   | 104 +++++++++++++++++------------------
 drivers/gpu/drm/i915/intel_pm.c      |  21 +++----
 drivers/gpu/drm/i915/intel_sdvo.c    |  38 +++++++++++--
 drivers/gpu/drm/i915/intel_sprite.c  |  16 +++---
 23 files changed, 215 insertions(+), 205 deletions(-)

-- 
2.4.6

_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/intel-gfx

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

end of thread, other threads:[~2015-09-28 13:24 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-08 10:40 [PATCH 0/7] drm/i915: Always use crtc_ timings with adjusted_mode ville.syrjala
2015-09-08 10:40 ` [PATCH 1/7] drm/i915: Use intel_panel for DVO fixed mode handling ville.syrjala
2015-09-24  8:00   ` Mika Kahola
2015-09-08 10:40 ` [PATCH 2/7] drm/i915: Always call the adjusted mode 'adjusted_mode' ville.syrjala
2015-09-24  8:01   ` Mika Kahola
2015-09-28  8:03   ` Daniel Vetter
2015-09-08 10:40 ` [PATCH 3/7] drm/i915: s/mode/adjusted_mode/ in functions that really get passed the adjusted_mode ville.syrjala
2015-09-23 11:12   ` Mika Kahola
2015-09-23 12:30     ` Ville Syrjälä
2015-09-24  8:06   ` Mika Kahola
2015-09-25 13:37   ` [PATCH v2 " ville.syrjala
2015-09-28 12:15     ` Mika Kahola
2015-09-08 10:40 ` [PATCH 4/7] drm/i915: Always use crtc_ timings when dealing with adjustead_mode ville.syrjala
2015-09-24  8:08   ` Mika Kahola
2015-09-25 13:38   ` [PATCH v2 " ville.syrjala
2015-09-28 12:15     ` Mika Kahola
2015-09-08 10:40 ` [PATCH 5/7] drm/i915: Move HDMI aspect ratio setup to .compute_config() ville.syrjala
2015-09-24  8:08   ` Mika Kahola
2015-09-08 10:40 ` [PATCH 6/7] drm/i915: Constify adjusted_mode ville.syrjala
2015-09-24  8:10   ` Mika Kahola
2015-09-08 10:40 ` [PATCH 7/7] drm/i915: Add HDMI aspect ration property for SDVO ville.syrjala
2015-09-08 10:43   ` Ville Syrjälä
2015-09-08 10:40 ` [PATCH 7/7] drm/i915: Add HDMI aspect ratio " ville.syrjala
2015-09-25 13:39   ` [PATCH v2 " ville.syrjala
2015-09-28 12:18     ` Mika Kahola
2015-09-28 13:27       ` Daniel Vetter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox