[Bug 74861] [hsw] Fast audio playback on Intel Haswell HDMI due to runtime pm

bugzilla-daemon at bugzilla.kernel.org bugzilla-daemon at bugzilla.kernel.org
Sat May 31 16:50:31 PDT 2014


https://bugzilla.kernel.org/show_bug.cgi?id=74861

--- Comment #13 from Daniel Fernández <dfmartinez at gmail.com> ---
(In reply to Takashi Iwai from comment #5)
> Optimus is another kind of beast.  Remember that the HDMI audio is always
> coupled with graphics.  And when it plays with Nvidia...
> 
Nouveau.

> In anyway, if the problem gets fixed by disabling the powerwell, it implies
> either the powerwell refcounting isn't correct or the audio power domain
> alone isn't sufficient for the proper HDMI audio.
> 
> Is the problem always seen unless i915.disable_power_well=0 is passed?  For
> example, if you replug HDMI and play on your TV (I suppose it's no extra
> receiver), does the problem remain?

Yes, the problem remains although replug HDMI connector.

> Then, check whether the audio side is really properly configured.   At
> least, /proc/asound/card*/eld#* file should show that the monitor is
> connected and ELD is valid.

$ cat /proc/asound/card0/eld#0.1
monitor_present         1
eld_valid               1
monitor_name            Panasonic-TV
connection_type         HDMI
eld_version             [0x2] CEA-861D or below
edid_version            [0x3] CEA-861-B, C or D
manufacture_id          0xa934
product_id              0xa0a7
port_id                 0x0
support_hdcp            0
support_ai              1
audio_sync_delay        0
speakers                [0xffff] FL/FR LFE FC RL/RR RC FLC/FRC RLC/RRC FLW/FRW
FLH/FRH TC FCH
sad_count               1
sad0_coding_type        [0x1] LPCM
sad0_channels           2
sad0_rates              [0xe0] 32000 44100 48000
sad0_bits               [0x20000] 16


> If it's properly connected, the next thing to check is
> /sys/kernel/debug/dri/64/i915/i915_power_domain.  What entries are enabled
> there.

There is no such file /sys/kernel/debug/dri/64/i915/i915_power_domain but there
is another with smiliar name I dump here:

# cat /sys/kernel/debug/dri/64/i915_power_domain_info 
Power well/domain         Use count
always-on                 4
  PIPE_A                  1
  TRANSCODER_EDP          1
  PORT_DDI_A_2_LANES      0
  PORT_DDI_A_4_LANES      1
  PORT_DDI_B_2_LANES      0
  PORT_DDI_B_4_LANES      0
  PORT_DDI_C_2_LANES      0
  PORT_DDI_C_4_LANES      1
  PORT_DDI_D_2_LANES      0
  PORT_DDI_D_4_LANES      0
  PORT_CRT                0
  INIT                    0
display                   3
  PIPE_B                  1
  PIPE_C                  0
  PIPE_A_PANEL_FITTER     0
  PIPE_B_PANEL_FITTER     0
  PIPE_C_PANEL_FITTER     0
  TRANSCODER_A            1
  TRANSCODER_B            0
  TRANSCODER_C            0
  PORT_DSI                0
  PORT_OTHER              0
  VGA                     0
  AUDIO                   1
  INIT                    0

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the intel-gfx-bugs mailing list