]> git.baikalelectronics.ru Git - kernel.git/commit
drm/i915: setup bridge for HDMI LPE audio driver
authorJerome Anand <jerome.anand@intel.com>
Tue, 24 Jan 2017 22:57:49 +0000 (04:27 +0530)
committerTakashi Iwai <tiwai@suse.de>
Wed, 25 Jan 2017 13:21:47 +0000 (14:21 +0100)
commitae7c4dd5d3c7d91c51475bf06f0bf30db7ef8b7d
tree54615ed9cef9d7eeb4be6c42733bf926189236ef
parentd7f1fb4027205b49c71f8d2513127c86e1155866
drm/i915: setup bridge for HDMI LPE audio driver

Enable support for HDMI LPE audio mode on Baytrail and
Cherrytrail when HDaudio controller is not detected

Setup minimum required resources during i915_driver_load:
1. Create a platform device to share MMIO/IRQ resources
2. Make the platform device child of i915 device for runtime PM.
3. Create IRQ chip to forward HDMI LPE audio irqs.

HDMI LPE audio driver (a standalone sound driver) probes the
LPE audio device and creates a new sound card.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Jerome Anand <jerome.anand@intel.com>
Acked-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Documentation/gpu/i915.rst
drivers/gpu/drm/i915/Makefile
drivers/gpu/drm/i915/i915_drv.c
drivers/gpu/drm/i915/i915_drv.h
drivers/gpu/drm/i915/i915_irq.c
drivers/gpu/drm/i915/i915_reg.h
drivers/gpu/drm/i915/intel_audio.c
drivers/gpu/drm/i915/intel_drv.h
drivers/gpu/drm/i915/intel_lpe_audio.c [new file with mode: 0644]
include/drm/intel_lpe_audio.h [new file with mode: 0644]