linux_dsm_epyc7002/drivers/gpu/drm/zte
Ville Syrjälä f1781e9bb2 drm/edid: Allow HDMI infoframe without VIC or S3D
Appedix F of HDMI 2.0 says that some HDMI sink may fail to switch from
3D to 2D mode in a timely fashion if the source simply stops sending the
HDMI infoframe. The suggested workaround is to keep sending the
infoframe even when strictly not necessary (ie. no VIC and no S3D).
HDMI 1.4 does allow for this behaviour, stating that sending the
infoframe is optional in this case.

The infoframe was first specified in HDMI 1.4, so in theory sinks
predating that may not appreciate us sending an uknown infoframe
their way. To avoid regressions let's try to determine if the sink
supports the infoframe or not. Unfortunately there's no direct way
to do that, so instead we'll just check if we managed to parse any
HDMI 1.4 4k or stereo modes from the EDID, and if so we assume the
sink will accept the infoframe. Also if the EDID contains the HDMI
2.0 HDMI Forum VSDB we can assume the sink is prepared to receive
the infoframe.

v2: Fix getting has_hdmi_infoframe from display_info
    Always fail constructing the infoframe if the display
    possibly can't handle it

Cc: Shashank Sharma <shashank.sharma@intel.com>
Cc: Andrzej Hajda <a.hajda@samsung.com>
Cc: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Reviewed-by: Shashank Sharma <shashank.sharma@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20171113170427.4150-3-ville.syrjala@linux.intel.com
2017-11-22 19:24:34 +02:00
..
Kconfig drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
Makefile drm: zte: add VGA driver support 2017-05-04 13:53:05 +08:00
zx_common_regs.h drm: zte: move CSC register definitions into a common header 2017-05-04 13:51:52 +08:00
zx_drm_drv.c drm/zte: Use drm_gem_fb_create() 2017-08-27 19:31:06 +02:00
zx_drm_drv.h drm: zte: add VGA driver support 2017-05-04 13:53:05 +08:00
zx_hdmi_regs.h drm: zte: support hdmi audio through spdif 2017-01-28 10:17:39 +08:00
zx_hdmi.c drm/edid: Allow HDMI infoframe without VIC or S3D 2017-11-22 19:24:34 +02:00
zx_plane_regs.h drm: zte: move CSC register definitions into a common header 2017-05-04 13:51:52 +08:00
zx_plane.c drm: Move drm_plane_helper_check_state() into drm_atomic_helper.c 2017-11-20 21:14:22 +02:00
zx_plane.h drm: zte: add .atomic_disable hook to disable graphic layer 2017-01-28 10:17:40 +08:00
zx_tvenc_regs.h drm: zte: add tvenc driver support 2017-01-28 11:51:23 +08:00
zx_tvenc.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
zx_vga_regs.h drm: zte: add VGA driver support 2017-05-04 13:53:05 +08:00
zx_vga.c drm: Nuke drm_atomic_helper_connector_dpms 2017-08-08 14:48:48 +02:00
zx_vou_regs.h drm: zte: add VGA driver support 2017-05-04 13:53:05 +08:00
zx_vou.c drm: Convert atomic drivers from CRTC .disable() to .atomic_disable() 2017-06-30 14:53:15 +02:00
zx_vou.h drm: zte: use vblank hooks in struct drm_crtc_funcs 2017-02-09 16:13:20 +08:00