]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
video/hdmi: Allow "empty" HDMI infoframes
authorVille Syrjälä <ville.syrjala@linux.intel.com>
Mon, 13 Nov 2017 17:04:18 +0000 (19:04 +0200)
committerThadeu Lima de Souza Cascardo <cascardo@canonical.com>
Mon, 19 Mar 2018 23:40:56 +0000 (20:40 -0300)
commit60c8f79b9662ad3a4f78e23cfd2fa8727d31856d
tree87180178416cf4944e83ed18f794d50eca53e239
parent7c4fd2543cd0682eebdea4a6d272d87c8c801ec0
video/hdmi: Allow "empty" HDMI infoframes

BugLink: http://bugs.launchpad.net/bugs/1756978
[ Upstream commit 593f4b19a094c4426bd1e1e3cbab87a48bd13c71 ]

HDMI 2.0 Appendix F suggest that we should keep sending the infoframe
when switching from 3D to 2D mode, even if the infoframe isn't strictly
necessary (ie. not needed to transmit the VIC or stereo information).
This is a workaround against some sinks that fail to realize that they
should switch from 3D to 2D mode when the source stop transmitting
the infoframe.

v2: Handle unpack() as well
    Pull the length calculation into a helper

Cc: Shashank Sharma <shashank.sharma@intel.com>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Thierry Reding <thierry.reding@gmail.com>
Cc: Hans Verkuil <hans.verkuil@cisco.com>
Cc: linux-media@vger.kernel.org
Reviewed-by: Andrzej Hajda <a.hajda@samsung.com> #v1
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171113170427.4150-2-ville.syrjala@linux.intel.com
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo@canonical.com>
drivers/video/hdmi.c