drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs
Subsystems (5)
PATCH 1/1 drm: bridge: dw-hdmi: Fix overflow workaround for Amlogic Meson GX SoCs
The Amlogic Meson GX SoCs, embedded the v2.01a controller, has been also identified needing this workaround.
This patch adds the corresponding version to enable a single iteration for this specific version.
--- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +3 -0
@@ -1637,6 +1637,8 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)* (and possibly on the platform). So far only i.MX6Q (v1.30a) and * i.MX6DL (v1.31a) have been identified as needing the workaround, with * 4 and 1 iterations respectively. +* The Amlogic Meson GX SoCs (v2.01a) have been identifies as needing +* the workaround with a single iteration. */ switch (hdmi->version) {
@@ -1644,6 +1646,7 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi) count =4 ;break ;case 0x131a : +case 0x201a : count =1 ;break ;default :
Signature · 6 lines
2.7.4 _______________________________________________ dri-devel mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi Architt,
Quoted 26 lines · Neil Armstrong
The Amlogic Meson GX SoCs, embedded the v2.01a controller, has been also identified needing this workaround.
This patch adds the corresponding version to enable a single iteration for this specific version.Fixes be41fc55f1aa ("drm: bridge: dw-hdmi: Handle overflow workaround based on device version")Signed-off-by Neil Armstrong <[email protected]>--- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +2
-0@@ -1637,6 +1637,8 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)* (and possibly on the platform). So far only i.MX6Q (v1.30a) and * i.MX6DL (v1.31a) have been identified as needing the workaround, with * 4 and 1 iterations respectively. +* The Amlogic Meson GX SoCs (v2.01a) have been identifies as needing +* the workaround with a single iteration. */ switch (hdmi->version) {
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi) · line 1652
Quoted 7 lines
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +1
-0@@ -1644,6 +1646,7 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi) count =4 ;break ;case 0x131a : +case 0x201a : count =1 ;break ;default :
This fixes a long time issue on Amlogic SoCs, is it ok for you ?
Thanks,
Neil
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
Hi,
Quoted 14 lines · Neil Armstrong
Hi Architt,
Quoted 11 lines · Neil Armstrong
The Amlogic Meson GX SoCs, embedded the v2.01a controller, has been also identified needing this workaround.
This patch adds the corresponding version to enable a single iteration for this specific version.Fixes be41fc55f1aa ("drm: bridge: dw-hdmi: Handle overflow workaround based on device version")Signed-off-by Neil Armstrong <[email protected]>--- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 3 +++ 1 file changed, 3 insertions(+)
Quoted 10 lines
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi) · line 1641
Quoted 10 lines
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +2
-0@@ -1637,6 +1637,8 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)* (and possibly on the platform). So far only i.MX6Q (v1.30a) and * i.MX6DL (v1.31a) have been identified as needing the workaround, with * 4 and 1 iterations respectively. +* The Amlogic Meson GX SoCs (v2.01a) have been identifies as needing +* the workaround with a single iteration.
s/identifies/identified
Quoted 14 lines
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi) · line 1652
Quoted 12 lines
drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +1
-0*/ switch (hdmi->version) {@@ -1644,6 +1646,7 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi) count =4 ;break ;case 0x131a : +case 0x201a : count =1 ;break ;default :This fixes a long time issue on Amlogic SoCs, is it ok for you ?
Looks good to me. Feel free to queue it to drm-misc-next.
Thanks,
Archit
Quoted 4 lines
Thanks,
Neil
Hi Greg,
Quoted 7 lines · Neil Armstrong
The Amlogic Meson GX SoCs, embedded the v2.01a controller, has been also identified needing this workaround.
This patch adds the corresponding version to enable a single iteration for this specific version.Fixes be41fc55f1aa ("drm: bridge: dw-hdmi: Handle overflow workaround based on device version")Signed-off-by Neil Armstrong <[email protected]>
This patch is now present in linux master as commit 9c305eb442f3b371fc722ade827bbf673514123e
Could it be selected for 4.14 ?
The patch has been reworked to apply for 4.17 as indicated in the commit log, but the original patch will apply over 4.14.
Thanks,
Neil
Quoted 26 lines
--- drivers/gpu/drm/bridge/synopsys/dw-hdmi.c | 3 +++ 1 file changed, 3 insertions(+)drivers/gpu/drm/bridge/synopsys/dw-hdmi.c +3
-0@@ -1637,6 +1637,8 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi)* (and possibly on the platform). So far only i.MX6Q (v1.30a) and * i.MX6DL (v1.31a) have been identified as needing the workaround, with * 4 and 1 iterations respectively. +* The Amlogic Meson GX SoCs (v2.01a) have been identifies as needing +* the workaround with a single iteration. */ switch (hdmi->version) {@@ -1644,6 +1646,7 @@ static void dw_hdmi_clear_overflow(struct dw_hdmi *hdmi) count =4 ;break ;case 0x131a : +case 0x201a : count =1 ;break ;default :
Quoted 8 lines · Neil Armstrong
Hi Greg,
Quoted 5 lines · Neil Armstrong
The Amlogic Meson GX SoCs, embedded the v2.01a controller, has been also identified needing this workaround.
This patch adds the corresponding version to enable a single iteration for this specific version.
Quoted 6 lines
Quoted 2 lines
Fixes be41fc55f1aa ("drm: bridge: dw-hdmi: Handle overflow workaround based on device version")Signed-off-by Neil Armstrong <[email protected]>This patch is now present in linux master as commit
9c305eb442f3b371fc722ade827bbf673514123e
Could it be selected for 4.14 ?
The patch has been reworked to apply for 4.17 as indicated in the commit log, but the original patch will apply over 4.14.
I don't have any "original" patch here, I just tried applying it to 4.16.y and 4.14.y and it did not work. Can you please provide a working backport?
thanks,
greg k-h
Hi Greg,
Quoted 12 lines · Greg KH
Quoted 11 lines · Neil Armstrong
Hi Greg,
Quoted 7 lines · Neil Armstrong
The Amlogic Meson GX SoCs, embedded the v2.01a controller, has been also identified needing this workaround.
This patch adds the corresponding version to enable a single iteration for this specific version.Fixes be41fc55f1aa ("drm: bridge: dw-hdmi: Handle overflow workaround based on device version")Signed-off-by Neil Armstrong <[email protected]>
Quoted 7 lines
Quoted 3 lines
This patch is now present in linux master as commit
9c305eb442f3b371fc722ade827bbf673514123e
Could it be selected for 4.14 ?
The patch has been reworked to apply for 4.17 as indicated in the commit log, but the original patch will apply over 4.14.I don't have any "original" patch here, I just tried applying it to 4.16.y and 4.14.y and it did not work. Can you please provide a working backport?
I sent a backported version last week, any news of it ?
Message-Id: <[email protected]>
Thanks,
Neil
Quoted 5 lines
thanks,
greg k-h
Quoted 19 lines · Neil Armstrong
Hi Greg,
Quoted 16 lines · Greg KH
Quoted 14 lines · Neil Armstrong
Hi Greg,
Quoted 7 lines · Neil Armstrong
The Amlogic Meson GX SoCs, embedded the v2.01a controller, has been also identified needing this workaround.
This patch adds the corresponding version to enable a single iteration for this specific version.Fixes be41fc55f1aa ("drm: bridge: dw-hdmi: Handle overflow workaround based on device version")Signed-off-by Neil Armstrong <[email protected]>This patch is now present in linux master as commit
9c305eb442f3b371fc722ade827bbf673514123e
Could it be selected for 4.14 ?
The patch has been reworked to apply for 4.17 as indicated in the commit log, but the original patch will apply over 4.14.
Quoted 7 lines
Quoted 3 lines
I don't have any "original" patch here, I just tried applying it to 4.16.y and 4.14.y and it did not work. Can you please provide a working backport?
I sent a backported version last week, any news of it ?
Message-Id: <[email protected]>
Ick, for some reason I missed that in my inbox, sorry, I'll queue it up for the next round of releases. Thanks for reminding me.
greg k-h