drm/i915: fix some audio support 4K resolution issues

Submitted by libin.yang@linux.intel.com on Aug. 18, 2016, 6:42 a.m.

Details

Reviewer None
Submitted Aug. 18, 2016, 6:42 a.m.
Last Updated Aug. 18, 2016, 8:29 a.m.
Revision 1

Cover Letter(s)

Revision 1
      From: Libin Yang <libin.yang@linux.intel.com>

changelog:
v1: initial patches

v2: change to use crtc->config->port_clock instead of mode->clock for dp
    change to use mode->crtc_clock instead of mode->clock
	rename mode to adjusted_mode

v3: add support for 270MHz
    add more platforms support
	use u16 n; u16 m to save the space
	add support for 192KHz, 96KHz, 88.2KHz
	split patch for more platform support separately

v4: change to use intel_crtc_has_dp_encoder() to support DP MST
    add support for 176.4KHz
    fix some tiny code style issues
    reset cts to 0 for HDMI mode

Libin Yang (3):
  drm/i915: set proper N/M in modeset
  drm/i915: set proper N/MCTS on more platforms
  drm/i915: HDMI audio gets the TMDS clock by crtc_clock

 drivers/gpu/drm/i915/i915_reg.h    |   7 ++
 drivers/gpu/drm/i915/intel_audio.c | 155 +++++++++++++++++++++++++++++++------
 2 files changed, 140 insertions(+), 22 deletions(-)
    

Revisions

Patches download mbox

Tests

Series 11252v1 drm/i915: fix some audio support 4K resolution issues
http://patchwork.freedesktop.org/api/1.0/series/11252/revisions/1/mbox

Test kms_cursor_legacy:
        Subgroup basic-flip-vs-cursor-legacy:
                pass       -> FAIL       (ro-skl3-i5-6260u)
        Subgroup basic-flip-vs-cursor-varying-size:
                fail       -> PASS       (ro-skl3-i5-6260u)
Test kms_pipe_crc_basic:
        Subgroup suspend-read-crc-pipe-a:
                pass       -> DMESG-WARN (ro-bdw-i7-5600u)
                skip       -> DMESG-WARN (ro-bdw-i7-5557U)
        Subgroup suspend-read-crc-pipe-b:
                pass       -> DMESG-WARN (ro-bdw-i7-5600u)
                dmesg-warn -> SKIP       (ro-bdw-i7-5557U)
                skip       -> DMESG-WARN (ro-bdw-i5-5250u)

fi-kbl-qkkr      total:244  pass:185  dwarn:29  dfail:0   fail:3   skip:27 
fi-skl-i7-6700k  total:244  pass:208  dwarn:4   dfail:2   fail:2   skip:28 
fi-snb-i7-2600   total:244  pass:202  dwarn:0   dfail:0   fail:0   skip:42 
ro-bdw-i5-5250u  total:240  pass:219  dwarn:2   dfail:0   fail:1   skip:18 
ro-bdw-i7-5557U  total:240  pass:220  dwarn:2   dfail:0   fail:0   skip:18 
ro-bdw-i7-5600u  total:240  pass:205  dwarn:2   dfail:0   fail:1   skip:32 
ro-bsw-n3050     total:240  pass:195  dwarn:0   dfail:0   fail:3   skip:42 
ro-byt-n2820     total:240  pass:198  dwarn:0   dfail:0   fail:2   skip:40 
ro-hsw-i3-4010u  total:240  pass:214  dwarn:0   dfail:0   fail:0   skip:26 
ro-hsw-i7-4770r  total:240  pass:185  dwarn:0   dfail:0   fail:0   skip:55 
ro-ilk1-i5-650   total:235  pass:174  dwarn:0   dfail:0   fail:1   skip:60 
ro-ivb-i7-3770   total:240  pass:205  dwarn:0   dfail:0   fail:0   skip:35 
ro-ivb2-i7-3770  total:240  pass:209  dwarn:0   dfail:0   fail:0   skip:31 
ro-skl3-i5-6260u total:240  pass:223  dwarn:0   dfail:0   fail:3   skip:14 

Results at /archive/results/CI_IGT_test/RO_Patchwork_1916/

e45fdef drm-intel-nightly: 2016y-08m-17d-13h-26m-04s UTC integration manifest
af9700f drm/i915: HDMI audio gets the TMDS clock by crtc_clock
db20b11 drm/i915: set proper N/MCTS on more platforms
cc4544f drm/i915: set proper N/M in modeset