* [PATCH][REGRESSION] drm: kirin: Fix drm_of_find_panel_or_bridge conversion
@ 2017-05-23 16:40 John Stultz
[not found] ` <CAGd==05qHrg-su91MAeTYFXGkF53yheZ0yjDKO9ehjG6nhKEOg@mail.gmail.com>
0 siblings, 1 reply; 4+ messages in thread
From: John Stultz @ 2017-05-23 16:40 UTC (permalink / raw)
To: lkml
Cc: John Stultz, Rob Herring, Archit Taneja, Philipp Zabel,
Maxime Ripard, Sean Paul, Dave Airlie, Xinliang Liu
This fixes a regression introduced by ebc944613567 ("drm:
convert drivers to use drm_of_find_panel_or_bridge") that was
recently merged, causing HDMI output to not work.
For the kirin driver, the port value should be 1 instead of 0,
so this oneline patch fixes it and gets graphics working again.
Cc: Rob Herring <robh@kernel.org>
Cc: Archit Taneja <architt@codeaurora.org>
Cc: Philipp Zabel <p.zabel@pengutronix.de>
Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
Cc: Sean Paul <seanpaul@chromium.org>
Cc: Dave Airlie <airlied@gmail.com>
Cc: Xinliang Liu <xinliang.liu@linaro.org>
Fix-suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: John Stultz <john.stultz@linaro.org>
---
drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c b/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c
index 5abc69c..f77dcfa 100644
--- a/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c
+++ b/drivers/gpu/drm/hisilicon/kirin/dw_drm_dsi.c
@@ -760,7 +760,7 @@ static int dsi_parse_dt(struct platform_device *pdev, struct dw_dsi *dsi)
* Get the endpoint node. In our case, dsi has one output port1
* to which the external HDMI bridge is connected.
*/
- ret = drm_of_find_panel_or_bridge(np, 0, 0, NULL, &dsi->bridge);
+ ret = drm_of_find_panel_or_bridge(np, 1, 0, NULL, &dsi->bridge);
if (ret)
return ret;
--
2.7.4
^ permalink raw reply [flat|nested] 4+ messages in thread[parent not found: <CAGd==05qHrg-su91MAeTYFXGkF53yheZ0yjDKO9ehjG6nhKEOg@mail.gmail.com>]
* Re: [PATCH][REGRESSION] drm: kirin: Fix drm_of_find_panel_or_bridge conversion [not found] ` <CAGd==05qHrg-su91MAeTYFXGkF53yheZ0yjDKO9ehjG6nhKEOg@mail.gmail.com> @ 2017-06-02 18:00 ` John Stultz 2017-06-02 18:52 ` Sean Paul 0 siblings, 1 reply; 4+ messages in thread From: John Stultz @ 2017-06-02 18:00 UTC (permalink / raw) To: Xinliang Liu Cc: lkml, Rob Herring, Archit Taneja, Philipp Zabel, Maxime Ripard, Sean Paul, Dave Airlie On Tue, May 23, 2017 at 8:04 PM, Xinliang Liu <xinliang.liu@linaro.org> wrote: > On 24 May 2017 at 00:40, John Stultz <john.stultz@linaro.org> wrote: >> >> This fixes a regression introduced by ebc944613567 ("drm: >> convert drivers to use drm_of_find_panel_or_bridge") that was >> recently merged, causing HDMI output to not work. >> >> For the kirin driver, the port value should be 1 instead of 0, >> so this oneline patch fixes it and gets graphics working again. >> >> Cc: Rob Herring <robh@kernel.org> >> Cc: Archit Taneja <architt@codeaurora.org> >> Cc: Philipp Zabel <p.zabel@pengutronix.de> >> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> >> Cc: Sean Paul <seanpaul@chromium.org> >> Cc: Dave Airlie <airlied@gmail.com> >> Cc: >> Xinliang Liu <xinliang.liu@linaro.org> >> Fix-suggested-by: Rob Herring <robh@kernel.org> >> Signed-off-by: John Stultz <john.stultz@linaro.org> > > > Looks good to me. Thanks for the patch. > > Reviewed-by: > Xinliang Liu <xinliang.liu@linaro.org> > Just wanted to check in on this. Is there someone I'm missing from the cc list on this? thanks -john ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH][REGRESSION] drm: kirin: Fix drm_of_find_panel_or_bridge conversion 2017-06-02 18:00 ` John Stultz @ 2017-06-02 18:52 ` Sean Paul 2017-06-06 14:33 ` Sean Paul 0 siblings, 1 reply; 4+ messages in thread From: Sean Paul @ 2017-06-02 18:52 UTC (permalink / raw) To: John Stultz Cc: Xinliang Liu, lkml, Rob Herring, Archit Taneja, Philipp Zabel, Maxime Ripard, Dave Airlie On Fri, Jun 2, 2017 at 2:00 PM, John Stultz <john.stultz@linaro.org> wrote: > On Tue, May 23, 2017 at 8:04 PM, Xinliang Liu <xinliang.liu@linaro.org> wrote: >> On 24 May 2017 at 00:40, John Stultz <john.stultz@linaro.org> wrote: >>> >>> This fixes a regression introduced by ebc944613567 ("drm: >>> convert drivers to use drm_of_find_panel_or_bridge") that was >>> recently merged, causing HDMI output to not work. >>> >>> For the kirin driver, the port value should be 1 instead of 0, >>> so this oneline patch fixes it and gets graphics working again. >>> >>> Cc: Rob Herring <robh@kernel.org> >>> Cc: Archit Taneja <architt@codeaurora.org> >>> Cc: Philipp Zabel <p.zabel@pengutronix.de> >>> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> >>> Cc: Sean Paul <seanpaul@chromium.org> >>> Cc: Dave Airlie <airlied@gmail.com> >>> Cc: >>> Xinliang Liu <xinliang.liu@linaro.org> >>> Fix-suggested-by: Rob Herring <robh@kernel.org> >>> Signed-off-by: John Stultz <john.stultz@linaro.org> >> >> >> Looks good to me. Thanks for the patch. >> >> Reviewed-by: >> Xinliang Liu <xinliang.liu@linaro.org> >> > > Just wanted to check in on this. Is there someone I'm missing from the > cc list on this? > Hi John, Apologies, I just saw this. Slipped through my cracks because it's not posted on dri-devel. The patch looks good. I'll pick it up in drm-misc-fixes if Dave doesn't take it directly into drm-fixes. Sean > thanks > -john ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH][REGRESSION] drm: kirin: Fix drm_of_find_panel_or_bridge conversion 2017-06-02 18:52 ` Sean Paul @ 2017-06-06 14:33 ` Sean Paul 0 siblings, 0 replies; 4+ messages in thread From: Sean Paul @ 2017-06-06 14:33 UTC (permalink / raw) To: John Stultz Cc: Xinliang Liu, lkml, Rob Herring, Archit Taneja, Philipp Zabel, Maxime Ripard, Dave Airlie On Fri, Jun 2, 2017 at 2:52 PM, Sean Paul <seanpaul@chromium.org> wrote: > On Fri, Jun 2, 2017 at 2:00 PM, John Stultz <john.stultz@linaro.org> wrote: >> On Tue, May 23, 2017 at 8:04 PM, Xinliang Liu <xinliang.liu@linaro.org> wrote: >>> On 24 May 2017 at 00:40, John Stultz <john.stultz@linaro.org> wrote: >>>> >>>> This fixes a regression introduced by ebc944613567 ("drm: >>>> convert drivers to use drm_of_find_panel_or_bridge") that was >>>> recently merged, causing HDMI output to not work. >>>> >>>> For the kirin driver, the port value should be 1 instead of 0, >>>> so this oneline patch fixes it and gets graphics working again. >>>> >>>> Cc: Rob Herring <robh@kernel.org> >>>> Cc: Archit Taneja <architt@codeaurora.org> >>>> Cc: Philipp Zabel <p.zabel@pengutronix.de> >>>> Cc: Maxime Ripard <maxime.ripard@free-electrons.com> >>>> Cc: Sean Paul <seanpaul@chromium.org> >>>> Cc: Dave Airlie <airlied@gmail.com> >>>> Cc: >>>> Xinliang Liu <xinliang.liu@linaro.org> >>>> Fix-suggested-by: Rob Herring <robh@kernel.org> >>>> Signed-off-by: John Stultz <john.stultz@linaro.org> >>> >>> >>> Looks good to me. Thanks for the patch. >>> >>> Reviewed-by: >>> Xinliang Liu <xinliang.liu@linaro.org> >>> >> >> Just wanted to check in on this. Is there someone I'm missing from the >> cc list on this? >> > > Hi John, > Apologies, I just saw this. Slipped through my cracks because it's not > posted on dri-devel. > > The patch looks good. I'll pick it up in drm-misc-fixes if Dave > doesn't take it directly into drm-fixes. > Hi John, I've picked this up in drm-misc-fixes. Thanks again for the patch, Sean > Sean > > >> thanks >> -john ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-06-06 14:34 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-23 16:40 [PATCH][REGRESSION] drm: kirin: Fix drm_of_find_panel_or_bridge conversion John Stultz
[not found] ` <CAGd==05qHrg-su91MAeTYFXGkF53yheZ0yjDKO9ehjG6nhKEOg@mail.gmail.com>
2017-06-02 18:00 ` John Stultz
2017-06-02 18:52 ` Sean Paul
2017-06-06 14:33 ` Sean Paul
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®