projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1bf9591
)
drm/meson: Enable DRM InfoFrame support on GXL, GXM and G12A
author
Jonas Karlman
<jonas@kwiboo.se>
Mon, 7 Oct 2019 19:21:50 +0000
(19:21 +0000)
committer
Neil Armstrong
<narmstrong@baylibre.com>
Thu, 10 Oct 2019 10:50:02 +0000
(12:50 +0200)
This patch enables Dynamic Range and Mastering InfoFrame on GXL, GXM and G12A.
Cc: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Link:
https://patchwork.freedesktop.org/patch/msgid/HE1PR06MB4011BB614A49253FD074BCCBAC9B0@HE1PR06MB4011.eurprd06.prod.outlook.com
drivers/gpu/drm/meson/meson_dw_hdmi.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/meson/meson_dw_hdmi.c
b/drivers/gpu/drm/meson/meson_dw_hdmi.c
index 022286dc6ab24960b921522e3f9163e993640a6d..3bb7ffe5fc39124a3aa645f82524152282e21c6e 100644
(file)
--- a/
drivers/gpu/drm/meson/meson_dw_hdmi.c
+++ b/
drivers/gpu/drm/meson/meson_dw_hdmi.c
@@
-977,6
+977,11
@@
static int meson_dw_hdmi_bind(struct device *dev, struct device *master,
dw_plat_data->input_bus_format = MEDIA_BUS_FMT_YUV8_1X24;
dw_plat_data->input_bus_encoding = V4L2_YCBCR_ENC_709;
+ if (dw_hdmi_is_compatible(meson_dw_hdmi, "amlogic,meson-gxl-dw-hdmi") ||
+ dw_hdmi_is_compatible(meson_dw_hdmi, "amlogic,meson-gxm-dw-hdmi") ||
+ dw_hdmi_is_compatible(meson_dw_hdmi, "amlogic,meson-g12a-dw-hdmi"))
+ dw_plat_data->use_drm_infoframe = true;
+
platform_set_drvdata(pdev, meson_dw_hdmi);
meson_dw_hdmi->hdmi = dw_hdmi_bind(pdev, encoder,