mbox series

[00/15] drm/i915: Fix TV encoder support

Message ID 20181112170000.27531-1-ville.syrjala@linux.intel.com (mailing list archive)
Headers show
Series drm/i915: Fix TV encoder support | expand

Message

Ville Syrjälä Nov. 12, 2018, 4:59 p.m. UTC
From: Ville Syrjälä <ville.syrjala@linux.intel.com>

Our TV encoder support isn't in the best shape. This series fixes
it up quite a bit.

The most important part is fixing the issues resulting from the
lack of frame counter on i965gm which causes nasty flip_done
timeouts when we attempt to do anything with the TV encoder 
(including load detection).

Dust off those component cables people! ;)

Entire series is available here:
git://github.com/vsyrjala/linux.git tvout_fixes

Ville Syrjälä (15):
  drm/vblank: Allow dynamic per-crtc max_vblank_count
  drm/i915: Don't try to use the hardware frame counter with i965gm TV
    output
  drm/i915/tv: Fix interlaced ysize calculation
  drm/i915/tv: Fix tv mode clocks
  drm/i915/tv: Store the TV oversampling factor in the TV mode
  drm/i915/tv: Use bools where appropriate
  drm/i915/tv: Nuke silly 0 inittialization of xpos/ypos
  drm/i915/tv: Deobfuscate preferred mode selection
  drm/i915/tv: Use drm_mode_set_name() to name TV modes
  drm/i915/tv: Make TV mode autoselection actually useable
  drm/i915/tv: Nuke reported_modes[]
  drm/i915/tv: Add 1080p30/50/60 TV modes
  drm/i915/tv: Generate better pipe timings for TV encoder
  drm/i915/tv: Fix >1024 modes on gen3
  drm/i915/tv: Filter out >1024 wide modes that would need vertical
    scaling on gen3

 drivers/gpu/drm/drm_vblank.c         |  39 +-
 drivers/gpu/drm/i915/i915_irq.c      |  10 +-
 drivers/gpu/drm/i915/i915_reg.h      |   1 +
 drivers/gpu/drm/i915/intel_display.c |  40 +-
 drivers/gpu/drm/i915/intel_tv.c      | 695 +++++++++++++++++++++------
 include/drm/drm_vblank.h             |   8 +
 6 files changed, 640 insertions(+), 153 deletions(-)