Message ID | 20190719065906.7978-2-hui.wang@canonical.com |
---|---|
State | Accepted |
Headers | show |
Series | ICL hdmi audio doesn't work stable | expand |
diff --git a/drivers/gpu/drm/i915/intel_runtime_pm.c b/drivers/gpu/drm/i915/intel_runtime_pm.c index a4cd90251491..cbe3ac3003c2 100644 --- a/drivers/gpu/drm/i915/intel_runtime_pm.c +++ b/drivers/gpu/drm/i915/intel_runtime_pm.c @@ -3037,6 +3037,11 @@ static int sanitize_disable_power_well_option(const struct drm_i915_private *dev_priv, int disable_power_well) { + struct pci_dev *pdev = dev_priv->drm.pdev; + /* icl hdmi audio needs to set disable_power_well=0 temporarily, will remove it later */ + if ((pdev->device == 0x8a56) || (pdev->device == 0x8a52)) + return 0; + if (disable_power_well >= 0) return !!disable_power_well;
BugLink: https://bugs.launchpad.net/bugs/1836916 So far the latest mainline linux can't support the icl hdmi audio well, we need to apply this workaround temporarily, and Intel is investigating this issue now, after we get the real fix, I will revert this patch. Signed-off-by: Hui Wang <hui.wang@canonical.com> --- drivers/gpu/drm/i915/intel_runtime_pm.c | 5 +++++ 1 file changed, 5 insertions(+)