So I set out to split out the audio stuff into its own file, doing some cleanups and maybe fixing a bug or two along the way. Here's the first 18 patches. ;) There's still some issues with vblank waits that need to be revisited, but I wanted to get early feedback anyway. So disregard those bits for now. Everything else should be close to ready. This has only gotten light testing, in particular no testing over DP audio yet because I don't have a sink that supports it. Also no testing on hsw/bdw yet. BR, Jani. Jani Nikula (18): drm/i915: add new intel audio file to group DP/HDMI audio drm/i915/audio: constify hdmi audio clock struct drm/i915/audio: beat some sense into the variable types and names drm/i915: pass intel_encoder to intel_write_eld drm/i915/audio: pass intel_encoder on to platform specific ELD functions drm/i915/audio: set ELD Conn_Type at one place drm/i915/ddi: write ELD where it's supposed to be done drm/i915: introduce intel_audio_codec_{enable,disable} drm/i915/audio: remove misleading checks for !eld[0] drm/i915: clean up and clarify audio related register defines drm/i915: rewrite hsw/bdw audio codec enable/disable sequences drm/i915/audio: rewrite vlv/chv and gen 5-7 audio codec enable sequence drm/i915/audio: add vlv/chv/gen5-7 audio codec disable sequence drm/i915: enable audio codec after port drm/i915/audio: add audio codec disable on g4x drm/i915/audio: add audio codec enable debug log for g4x drm/i915: make pipe/port based audio valid accessors easier to use drm/i915/audio: add DOC comment describing HDA over HDMI/DP drivers/gpu/drm/i915/Makefile | 3 +- drivers/gpu/drm/i915/i915_drv.h | 9 +- drivers/gpu/drm/i915/i915_reg.h | 181 +++++++-------- drivers/gpu/drm/i915/intel_audio.c | 435 +++++++++++++++++++++++++++++++++++ drivers/gpu/drm/i915/intel_ddi.c | 26 +-- drivers/gpu/drm/i915/intel_display.c | 321 +------------------------- drivers/gpu/drm/i915/intel_dp.c | 17 +- drivers/gpu/drm/i915/intel_drv.h | 8 +- drivers/gpu/drm/i915/intel_hdmi.c | 19 +- 9 files changed, 564 insertions(+), 455 deletions(-) create mode 100644 drivers/gpu/drm/i915/intel_audio.c -- 1.9.1 _______________________________________________ Intel-gfx mailing list Intel-gfx@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/intel-gfx