From: Sam Ravnborg <sam@ravnborg.org>
To: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Cc: Fabio Estevam <fabio.estevam@freescale.com>,
Jernej Skrabec <jernej.skrabec@siol.net>,
Neil Armstrong <narmstrong@baylibre.com>,
David Airlie <airlied@linux.ie>, Jonas Karlman <jonas@kwiboo.se>,
Jonathan Liu <net147@gmail.com>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Andrzej Hajda <a.hajda@samsung.com>,
Boris Brezillon <boris.brezillon@collabora.com>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
linux-rockchip@lists.infradead.org, Liu Ying <victor.liu@nxp.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function
Date: Sun, 8 Nov 2020 11:47:42 +0100 [thread overview]
Message-ID: <20201108104742.GA1161483@ravnborg.org> (raw)
In-Reply-To: <20201108095724.GW1551@shell.armlinux.org.uk>
Hi Russell,
On Sun, Nov 08, 2020 at 09:57:25AM +0000, Russell King - ARM Linux admin wrote:
> On Sun, Nov 08, 2020 at 10:53:22AM +0100, Sam Ravnborg wrote:
> > Russell,
> >
> > On Sat, Oct 31, 2020 at 07:17:47PM +1100, Jonathan Liu wrote:
> > > It has been observed that resetting force in the detect function can
> > > result in the PHY being powered down in response to hot-plug detect
> > > being asserted, even when the HDMI connector is forced on.
> > >
> > > Enabling debug messages and adding a call to dump_stack() in
> > > dw_hdmi_phy_power_off() shows the following in dmesg:
> > > [ 160.637413] dwhdmi-rockchip ff940000.hdmi: EVENT=plugin
> > > [ 160.637433] dwhdmi-rockchip ff940000.hdmi: PHY powered down in 0 iterations
> > >
> > > Call trace:
> > > dw_hdmi_phy_power_off
> > > dw_hdmi_phy_disable
> > > dw_hdmi_update_power
> > > dw_hdmi_detect
> > > dw_hdmi_connector_detect
> > > drm_helper_probe_detect_ctx
> > > drm_helper_hpd_irq_event
> > > dw_hdmi_irq
> > > irq_thread_fn
> > > irq_thread
> > > kthread
> > > ret_from_fork
> > >
> > > Fixes: 381f05a7a842 ("drm: bridge/dw_hdmi: add connector mode forcing")
> > > Signed-off-by: Jonathan Liu <net147@gmail.com>
> >
> > you are the original author of this code - any comments on this patch?
>
> No further comments beyond what has already been discussed, and the
> long and short of it is it's been so long that I don't remember why
> that code was there. Given that, I'm not even in a position to ack
> the change. Sorry.
Thanks for the quick reply.
Given that this fixes a problem for Jonathan I will apply this to -fixes
if there is no other feedback the next couple of days.
If it introduces regression we can take it from there.
Jonathan - please ping me if I forget.
Sam
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
WARNING: multiple messages have this Message-ID (diff)
From: Sam Ravnborg <sam@ravnborg.org>
To: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Cc: Fabio Estevam <fabio.estevam@freescale.com>,
Jernej Skrabec <jernej.skrabec@siol.net>,
Neil Armstrong <narmstrong@baylibre.com>,
David Airlie <airlied@linux.ie>, Jonas Karlman <jonas@kwiboo.se>,
Jonathan Liu <net147@gmail.com>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Andrzej Hajda <a.hajda@samsung.com>,
Boris Brezillon <boris.brezillon@collabora.com>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
linux-rockchip@lists.infradead.org, Liu Ying <victor.liu@nxp.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function
Date: Sun, 8 Nov 2020 11:47:42 +0100 [thread overview]
Message-ID: <20201108104742.GA1161483@ravnborg.org> (raw)
In-Reply-To: <20201108095724.GW1551@shell.armlinux.org.uk>
Hi Russell,
On Sun, Nov 08, 2020 at 09:57:25AM +0000, Russell King - ARM Linux admin wrote:
> On Sun, Nov 08, 2020 at 10:53:22AM +0100, Sam Ravnborg wrote:
> > Russell,
> >
> > On Sat, Oct 31, 2020 at 07:17:47PM +1100, Jonathan Liu wrote:
> > > It has been observed that resetting force in the detect function can
> > > result in the PHY being powered down in response to hot-plug detect
> > > being asserted, even when the HDMI connector is forced on.
> > >
> > > Enabling debug messages and adding a call to dump_stack() in
> > > dw_hdmi_phy_power_off() shows the following in dmesg:
> > > [ 160.637413] dwhdmi-rockchip ff940000.hdmi: EVENT=plugin
> > > [ 160.637433] dwhdmi-rockchip ff940000.hdmi: PHY powered down in 0 iterations
> > >
> > > Call trace:
> > > dw_hdmi_phy_power_off
> > > dw_hdmi_phy_disable
> > > dw_hdmi_update_power
> > > dw_hdmi_detect
> > > dw_hdmi_connector_detect
> > > drm_helper_probe_detect_ctx
> > > drm_helper_hpd_irq_event
> > > dw_hdmi_irq
> > > irq_thread_fn
> > > irq_thread
> > > kthread
> > > ret_from_fork
> > >
> > > Fixes: 381f05a7a842 ("drm: bridge/dw_hdmi: add connector mode forcing")
> > > Signed-off-by: Jonathan Liu <net147@gmail.com>
> >
> > you are the original author of this code - any comments on this patch?
>
> No further comments beyond what has already been discussed, and the
> long and short of it is it's been so long that I don't remember why
> that code was there. Given that, I'm not even in a position to ack
> the change. Sorry.
Thanks for the quick reply.
Given that this fixes a problem for Jonathan I will apply this to -fixes
if there is no other feedback the next couple of days.
If it introduces regression we can take it from there.
Jonathan - please ping me if I forget.
Sam
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Sam Ravnborg <sam@ravnborg.org>
To: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Cc: Fabio Estevam <fabio.estevam@freescale.com>,
Jernej Skrabec <jernej.skrabec@siol.net>,
Neil Armstrong <narmstrong@baylibre.com>,
David Airlie <airlied@linux.ie>, Jonas Karlman <jonas@kwiboo.se>,
Jonathan Liu <net147@gmail.com>,
dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org,
Andrzej Hajda <a.hajda@samsung.com>,
Boris Brezillon <boris.brezillon@collabora.com>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
linux-rockchip@lists.infradead.org, Liu Ying <victor.liu@nxp.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function
Date: Sun, 8 Nov 2020 11:47:42 +0100 [thread overview]
Message-ID: <20201108104742.GA1161483@ravnborg.org> (raw)
In-Reply-To: <20201108095724.GW1551@shell.armlinux.org.uk>
Hi Russell,
On Sun, Nov 08, 2020 at 09:57:25AM +0000, Russell King - ARM Linux admin wrote:
> On Sun, Nov 08, 2020 at 10:53:22AM +0100, Sam Ravnborg wrote:
> > Russell,
> >
> > On Sat, Oct 31, 2020 at 07:17:47PM +1100, Jonathan Liu wrote:
> > > It has been observed that resetting force in the detect function can
> > > result in the PHY being powered down in response to hot-plug detect
> > > being asserted, even when the HDMI connector is forced on.
> > >
> > > Enabling debug messages and adding a call to dump_stack() in
> > > dw_hdmi_phy_power_off() shows the following in dmesg:
> > > [ 160.637413] dwhdmi-rockchip ff940000.hdmi: EVENT=plugin
> > > [ 160.637433] dwhdmi-rockchip ff940000.hdmi: PHY powered down in 0 iterations
> > >
> > > Call trace:
> > > dw_hdmi_phy_power_off
> > > dw_hdmi_phy_disable
> > > dw_hdmi_update_power
> > > dw_hdmi_detect
> > > dw_hdmi_connector_detect
> > > drm_helper_probe_detect_ctx
> > > drm_helper_hpd_irq_event
> > > dw_hdmi_irq
> > > irq_thread_fn
> > > irq_thread
> > > kthread
> > > ret_from_fork
> > >
> > > Fixes: 381f05a7a842 ("drm: bridge/dw_hdmi: add connector mode forcing")
> > > Signed-off-by: Jonathan Liu <net147@gmail.com>
> >
> > you are the original author of this code - any comments on this patch?
>
> No further comments beyond what has already been discussed, and the
> long and short of it is it's been so long that I don't remember why
> that code was there. Given that, I'm not even in a position to ack
> the change. Sorry.
Thanks for the quick reply.
Given that this fixes a problem for Jonathan I will apply this to -fixes
if there is no other feedback the next couple of days.
If it introduces regression we can take it from there.
Jonathan - please ping me if I forget.
Sam
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
WARNING: multiple messages have this Message-ID (diff)
From: Sam Ravnborg <sam@ravnborg.org>
To: Russell King - ARM Linux admin <linux@armlinux.org.uk>
Cc: Fabio Estevam <fabio.estevam@freescale.com>,
Jernej Skrabec <jernej.skrabec@siol.net>,
Jonathan Liu <net147@gmail.com>, Jonas Karlman <jonas@kwiboo.se>,
David Airlie <airlied@linux.ie>,
Neil Armstrong <narmstrong@baylibre.com>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
Andrzej Hajda <a.hajda@samsung.com>,
linux-rockchip@lists.infradead.org,
Boris Brezillon <boris.brezillon@collabora.com>,
Laurent Pinchart <Laurent.pinchart@ideasonboard.com>,
Liu Ying <victor.liu@nxp.com>,
linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function
Date: Sun, 8 Nov 2020 11:47:42 +0100 [thread overview]
Message-ID: <20201108104742.GA1161483@ravnborg.org> (raw)
In-Reply-To: <20201108095724.GW1551@shell.armlinux.org.uk>
Hi Russell,
On Sun, Nov 08, 2020 at 09:57:25AM +0000, Russell King - ARM Linux admin wrote:
> On Sun, Nov 08, 2020 at 10:53:22AM +0100, Sam Ravnborg wrote:
> > Russell,
> >
> > On Sat, Oct 31, 2020 at 07:17:47PM +1100, Jonathan Liu wrote:
> > > It has been observed that resetting force in the detect function can
> > > result in the PHY being powered down in response to hot-plug detect
> > > being asserted, even when the HDMI connector is forced on.
> > >
> > > Enabling debug messages and adding a call to dump_stack() in
> > > dw_hdmi_phy_power_off() shows the following in dmesg:
> > > [ 160.637413] dwhdmi-rockchip ff940000.hdmi: EVENT=plugin
> > > [ 160.637433] dwhdmi-rockchip ff940000.hdmi: PHY powered down in 0 iterations
> > >
> > > Call trace:
> > > dw_hdmi_phy_power_off
> > > dw_hdmi_phy_disable
> > > dw_hdmi_update_power
> > > dw_hdmi_detect
> > > dw_hdmi_connector_detect
> > > drm_helper_probe_detect_ctx
> > > drm_helper_hpd_irq_event
> > > dw_hdmi_irq
> > > irq_thread_fn
> > > irq_thread
> > > kthread
> > > ret_from_fork
> > >
> > > Fixes: 381f05a7a842 ("drm: bridge/dw_hdmi: add connector mode forcing")
> > > Signed-off-by: Jonathan Liu <net147@gmail.com>
> >
> > you are the original author of this code - any comments on this patch?
>
> No further comments beyond what has already been discussed, and the
> long and short of it is it's been so long that I don't remember why
> that code was there. Given that, I'm not even in a position to ack
> the change. Sorry.
Thanks for the quick reply.
Given that this fixes a problem for Jonathan I will apply this to -fixes
if there is no other feedback the next couple of days.
If it introduces regression we can take it from there.
Jonathan - please ping me if I forget.
Sam
next prev parent reply other threads:[~2020-11-08 10:48 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-10-31 8:17 [PATCH] drm: bridge: dw-hdmi: Avoid resetting force in the detect function Jonathan Liu
2020-10-31 8:17 ` Jonathan Liu
2020-10-31 8:17 ` Jonathan Liu
2020-10-31 8:17 ` Jonathan Liu
2020-11-08 9:53 ` Sam Ravnborg
2020-11-08 9:53 ` Sam Ravnborg
2020-11-08 9:53 ` Sam Ravnborg
2020-11-08 9:53 ` Sam Ravnborg
2020-11-08 9:57 ` Russell King - ARM Linux admin
2020-11-08 9:57 ` Russell King - ARM Linux admin
2020-11-08 9:57 ` Russell King - ARM Linux admin
2020-11-08 9:57 ` Russell King - ARM Linux admin
2020-11-08 10:47 ` Sam Ravnborg [this message]
2020-11-08 10:47 ` Sam Ravnborg
2020-11-08 10:47 ` Sam Ravnborg
2020-11-08 10:47 ` Sam Ravnborg
2020-11-11 7:57 ` Jonathan Liu
2020-11-11 7:59 ` Jonathan Liu
2020-11-11 7:59 ` Jonathan Liu
2020-11-11 7:59 ` Jonathan Liu
2020-11-11 7:59 ` Jonathan Liu
2020-11-12 21:22 ` Sam Ravnborg
2020-11-12 21:22 ` Sam Ravnborg
2020-11-12 21:22 ` Sam Ravnborg
2020-11-12 21:22 ` Sam Ravnborg
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201108104742.GA1161483@ravnborg.org \
--to=sam@ravnborg.org \
--cc=Laurent.pinchart@ideasonboard.com \
--cc=a.hajda@samsung.com \
--cc=airlied@linux.ie \
--cc=boris.brezillon@collabora.com \
--cc=dri-devel@lists.freedesktop.org \
--cc=fabio.estevam@freescale.com \
--cc=jernej.skrabec@siol.net \
--cc=jonas@kwiboo.se \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux@armlinux.org.uk \
--cc=narmstrong@baylibre.com \
--cc=net147@gmail.com \
--cc=victor.liu@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.