projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59f1c8a
)
drm/i915/audio: Hook up component bindings even if displays are disabled
author
Chris Wilson
<
[email protected]
>
Fri, 17 Aug 2018 10:02:41 +0000
(11:02 +0100)
committer
Chris Wilson
<
[email protected]
>
Mon, 20 Aug 2018 13:30:43 +0000
(14:30 +0100)
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 <
[email protected]
>
Cc: Imre Deak <
[email protected]
>
Cc: Takashi Iwai <
[email protected]
>
Cc: Jani Nikula <
[email protected]
>
Cc: Elaine Wang <
[email protected]
>
Reviewed-by: Imre Deak <
[email protected]
>
Link:
https://patchwork.freedesktop.org/patch/msgid/
[email protected]
drivers/gpu/drm/i915/intel_audio.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/i915/intel_audio.c
b/drivers/gpu/drm/i915/intel_audio.c
index bb94172ffc07402461bbfdecc9906387ef8bbfd1..f02cb211d3e766cfe26d99a7911745599eae536c 100644
(file)
--- a/
drivers/gpu/drm/i915/intel_audio.c
+++ b/
drivers/gpu/drm/i915/intel_audio.c
@@
-960,9
+960,6
@@
void i915_audio_component_init(struct drm_i915_private *dev_priv)
{
int ret;
- if (INTEL_INFO(dev_priv)->num_pipes == 0)
- return;
-
ret = component_add(dev_priv->drm.dev, &i915_audio_component_bind_ops);
if (ret < 0) {
DRM_ERROR("failed to add audio component (%d)\n", ret);