From e1fb6fe4b011369164e0e83a5cf5f0b1f2b4cf23 Mon Sep 17 00:00:00 2001 From: Scott Murray Date: Wed, 4 Nov 2020 18:08:49 -0500 Subject: Add dw-hdmi CEC IRQ muting patch Add patch with fix for dw-hdmi IRQ issues provided by Kato Kazuomi from Panasonic. This resolves the WARNING backtraces related to an unhandled IRQ on boot and reading HDMI EDID. Bug-AGL: SPEC-3658 Signed-off-by: Scott Murray Change-Id: I6103bbec094d63ccabcb1ec273b73d8a5c114a84 --- .../linux/files/0003-rcar3-dw-hdmi-cec-mute.patch | 25 ++++++++++++++++++++++ .../recipes-kernel/linux/linux-renesas_%.bbappend | 1 + 2 files changed, 26 insertions(+) create mode 100644 meta-agl-refhw-gen3/recipes-kernel/linux/files/0003-rcar3-dw-hdmi-cec-mute.patch (limited to 'meta-agl-refhw-gen3') diff --git a/meta-agl-refhw-gen3/recipes-kernel/linux/files/0003-rcar3-dw-hdmi-cec-mute.patch b/meta-agl-refhw-gen3/recipes-kernel/linux/files/0003-rcar3-dw-hdmi-cec-mute.patch new file mode 100644 index 0000000..b0663ca --- /dev/null +++ b/meta-agl-refhw-gen3/recipes-kernel/linux/files/0003-rcar3-dw-hdmi-cec-mute.patch @@ -0,0 +1,25 @@ +Mute CEC IRQ in dw-hdmi driver init + +Add muting of the CEC interrupt to initialize_hdmi_rcar_ih_mutes, +which it previously did not have, unlike the original generic +initialize_hdmi_ih_mutes function. + +Author: Kato Kazuomi (加藤 一臣) +Signed-off-by: Scott Murray + +--- + drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +index cedae37e6d28..b4a29d3954ae 100644 +--- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c ++++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +@@ -1906,6 +1906,7 @@ static void initialize_hdmi_rcar_ih_mutes(struct dw_hdmi *hdmi) + hdmi_writeb(hdmi, 0x1f, HDMI_IH_MUTE_AS_STAT0); + hdmi_writeb(hdmi, 0x3f, HDMI_IH_MUTE_PHY_STAT0); + hdmi_writeb(hdmi, 0x03, HDMI_IH_MUTE_I2CM_STAT0); ++ hdmi_writeb(hdmi, 0x7f, HDMI_IH_MUTE_CEC_STAT0); + hdmi_writeb(hdmi, 0x0f, HDMI_IH_MUTE_VP_STAT0); + hdmi_writeb(hdmi, 0x03, HDMI_IH_MUTE_I2CMPHY_STAT0); + diff --git a/meta-agl-refhw-gen3/recipes-kernel/linux/linux-renesas_%.bbappend b/meta-agl-refhw-gen3/recipes-kernel/linux/linux-renesas_%.bbappend index a9cdd0c..c1fd753 100644 --- a/meta-agl-refhw-gen3/recipes-kernel/linux/linux-renesas_%.bbappend +++ b/meta-agl-refhw-gen3/recipes-kernel/linux/linux-renesas_%.bbappend @@ -4,6 +4,7 @@ SRC_URI_append = " \ file://0001-create-r8a7795-usb-ovc-pinmux-groups.patch \ file://0001-add-agl-refhw.patch \ file://0002-add-st_asm330lhh-driver.patch \ + file://0003-rcar3-dw-hdmi-cec-mute.patch \ file://refhw-rcar.cfg \ " -- cgit 1.2.3-korg