[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <VI1PR03MB420621617DDEAB3596700DE0AC1C0@VI1PR03MB4206.eurprd03.prod.outlook.com>
Date: Sun, 26 May 2019 21:18:46 +0000
From: Jonas Karlman <jonas@...boo.se>
To: "a.hajda@...sung.com" <a.hajda@...sung.com>,
"Laurent.pinchart@...asonboard.com"
<Laurent.pinchart@...asonboard.com>
CC: Jonas Karlman <jonas@...boo.se>,
"jernej.skrabec@...l.net" <jernej.skrabec@...l.net>,
"narmstrong@...libre.com" <narmstrong@...libre.com>,
"khilman@...libre.com" <khilman@...libre.com>,
"zhengyang@...k-chips.com" <zhengyang@...k-chips.com>,
"maxime.ripard@...tlin.com" <maxime.ripard@...tlin.com>,
"wens@...e.org" <wens@...e.org>,
"hjc@...k-chips.com" <hjc@...k-chips.com>,
"heiko@...ech.de" <heiko@...ech.de>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: [PATCH 0/4] drm/bridge: dw-hdmi: Add support for HDR metadata
Add support for HDR metadata using the hdr_output_metadata connector property,
configure Dynamic Range and Mastering InfoFrame accordingly.
A drm_infoframe flag is added to dw_hdmi_plat_data that platform drivers
can use to signal when Dynamic Range and Mastering infoframes is supported.
This flag is needed because Amlogic GXBB and GXL report same DW-HDMI version,
and only GXL support DRM InfoFrame.
The first patch add functionality to configure DRM InfoFrame based on the
hdr_output_metadata connector property.
The remaining patches sets the drm_infoframe flag on some SoCs supporting
Dynamic Range and Mastering InfoFrame.
Note that this was based on top of drm-misc-next and Neil Armstrong's
"drm/meson: Add support for HDMI2.0 YUV420 4k60" series at [1]
[1] https://patchwork.freedesktop.org/series/58725/#rev2
Jonas Karlman (4):
drm/bridge: dw-hdmi: Add Dynamic Range and Mastering InfoFrame support
drm/rockchip: Enable DRM InfoFrame support on RK3328 and RK3399
drm/meson: Enable DRM InfoFrame support on GXL, GXM and G12A
drm/sun4i: Enable DRM InfoFrame support on H6
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 109 ++++++++++++++++++++
drivers/gpu/drm/bridge/synopsys/dw-hdmi.h | 37 +++++++
drivers/gpu/drm/meson/meson_dw_hdmi.c | 5 +
drivers/gpu/drm/rockchip/dw_hdmi-rockchip.c | 2 +
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.c | 2 +
drivers/gpu/drm/sun4i/sun8i_dw_hdmi.h | 1 +
include/drm/bridge/dw_hdmi.h | 1 +
7 files changed, 157 insertions(+)
--
2.17.1
Powered by blists - more mailing lists