]> git.baikalelectronics.ru Git - 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)
committerChris Wilson <chris@chris-wilson.co.uk>
Mon, 20 Aug 2018 13:30:43 +0000 (14:30 +0100)
commitdc16ae5037f671c5fff9ad4a2d277fd2a20b8f7a
treea8aefb0e8bd57e0419214fa3717a7b1dbd0566f6
parented56509b87ae5d0c174ac086a695e8025f631771
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: 6d6125bf8a47 ("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
drivers/gpu/drm/i915/intel_audio.c