Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm
Takashi Iwai 61a41097e4 drm/nouveau/kms: Fix regression by audio component transition
Since the commit 742db30c4e ("drm/nouveau: Add HD-audio component
notifier support"), the nouveau driver notifies and pokes the HD-audio
HPD and ELD via audio component, but this seems broken.  The culprit
is the naive assumption that crtc->index corresponds to the HDA pin.
Actually this rather corresponds to the MST dev_id (alias "pipe" in
the audio component framework) while the actual port number is given
from the output ior id number.

This patch corrects the assignment of port and dev_id arguments in the
audio component ops to recover from the HDMI/DP audio regression.

Fixes: 742db30c4e ("drm/nouveau: Add HD-audio component notifier support")
BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=207223
Cc: <stable@vger.kernel.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
2020-05-22 11:13:50 +10:00
..
2020-04-28 16:04:00 +02:00
2020-04-28 16:13:03 +02:00
2020-04-02 14:16:44 +02:00
2020-04-21 09:02:29 +02:00
2020-04-02 14:16:44 +02:00
2020-04-24 20:51:24 +08:00
2020-04-03 17:11:41 +02:00
2020-04-02 14:16:45 +02:00
2020-04-28 16:05:15 +02:00
2020-04-28 15:15:59 +02:00
2020-03-26 15:45:36 +01:00
2020-04-02 14:16:46 +02:00
2020-04-03 17:11:41 +02:00
2020-04-03 17:11:41 +02:00
2020-04-28 15:05:19 +02:00
2020-04-29 18:44:26 +03:00
2020-03-26 15:38:09 +01:00
2020-03-16 09:27:09 +01:00
2020-04-29 18:44:26 +03:00
2020-04-03 17:11:41 +02:00
2020-03-18 14:48:34 +01:00
2020-04-28 16:05:15 +02:00
2020-04-28 16:05:15 +02:00