]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
drm/i915/audio: Hook up component bindings even if displays are disabled
authorChris Wilson <chris@chris-wilson.co.uk>
Fri, 17 Aug 2018 10:02:41 +0000 (11:02 +0100)
committerRodrigo Vivi <rodrigo.vivi@intel.com>
Wed, 29 Aug 2018 21:11:53 +0000 (14:11 -0700)
commit80ab316901bc4ae6dd0b5903dbe22766307eac9b
treeead94cf29b2a6fdb1cf6f338f123a76e03c14939
parent299c2a904b1e8d5096d4813df6371357d97a6cd1
drm/i915/audio: Hook up component bindings even if displays are disabled

If the display has been disabled by modparam, we still want to connect
together the HW bits and bobs with the associated drivers so that we can
continue to manage their runtime power gating.

Fixes: 108109444ff6 ("drm/i915: Check num_pipes before initializing audio component")
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Cc: Imre Deak <imre.deak@intel.com>
Cc: Takashi Iwai <tiwai@suse.de>
Cc: Jani Nikula <jani.nikula@linux.intel.com>
Cc: Elaine Wang <elaine.wang@intel.com>
Reviewed-by: Imre Deak <imre.deak@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20180817100241.4628-1-chris@chris-wilson.co.uk
(cherry picked from commit 35a5fd9ebfa93758ca579e30f337b6c9126d995b)
Signed-off-by: Rodrigo Vivi <rodrigo.vivi@intel.com>
drivers/gpu/drm/i915/intel_audio.c