]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
drm/nouveau: hdmigv100.c: fix corrupted HDMI Vendor InfoFrame
authorHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 10 Nov 2021 15:36:04 +0000 (16:36 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 26 Nov 2021 10:36:21 +0000 (11:36 +0100)
commitb9fe36fe4d287faca8f501f68a50f055369c3f0e
tree21234d0d910d83ea6aa8601121d569efbf03e1cb
parent71731e0d68f4dd352a958942d6d0e39cb0f0fa58
drm/nouveau: hdmigv100.c: fix corrupted HDMI Vendor InfoFrame

[ Upstream commit 3cc1ae1fa70ab369e4645e38ce335a19438093ad ]

gv100_hdmi_ctrl() writes vendor_infoframe.subpack0_high to 0x6f0110, and
then overwrites it with 0. Just drop the overwrite with 0, that's clearly
a mistake.

Because of this issue the HDMI VIC is 0 instead of 1 in the HDMI Vendor
InfoFrame when transmitting 4kp30.

Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Fixes: 290ffeafcc1a ("drm/nouveau/disp/gv100: initial support")
Reviewed-by: Ben Skeggs <bskeggs@redhat.com>
Signed-off-by: Karol Herbst <kherbst@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/3d3bd0f7-c150-2479-9350-35d394ee772d@xs4all.nl
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/gpu/drm/nouveau/nvkm/engine/disp/hdmigv100.c