[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CADnq5_NYnb1j9RnurMP2-TU4nAQRsPH8hsn_YXoiPZZ4woXOnQ@mail.gmail.com>
Date: Wed, 8 Mar 2023 11:39:04 -0500
From: Alex Deucher <alexdeucher@...il.com>
To: Maxime Ripard <maxime@...no.tech>
Cc: "Zhuo, Qingqing (Lillian)" <Qingqing.Zhuo@....com>,
"amd-gfx@...ts.freedesktop.org" <amd-gfx@...ts.freedesktop.org>,
Emma Anholt <emma@...olt.net>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
"dri-devel@...ts.freedesktop.org" <dri-devel@...ts.freedesktop.org>,
"Mahfooz, Hamza" <Hamza.Mahfooz@....com>
Subject: Re: [PATCH 1/2] drm/vc4: Fix build error with undefined label
On Wed, Mar 8, 2023 at 11:32 AM Maxime Ripard <maxime@...no.tech> wrote:
>
> On Wed, Mar 08, 2023 at 04:27:01PM +0000, Zhuo, Qingqing (Lillian) wrote:
> > [AMD Official Use Only - General]
> >
> > > Hi,
> >
> > On Wed, Mar 08, 2023 at 11:11:22AM -0500, Hamza Mahfooz wrote:
> > > + vc4 maintainers
> > >
> > > On 3/8/23 04:34, Qingqing Zhuo wrote:
> > > > [Why]
> > > > drivers/gpu/drm/vc4/vc4_hdmi.c: In function ‘vc4_hdmi_bind’:
> > > > drivers/gpu/drm/vc4/vc4_hdmi.c:3448:17: error: label
> > > > ‘err_disable_runtime_pm’ used but not defined
> > > >
> > > > [How]
> > > > update err_disable_runtime_pm to err_put_runtime_pm.
> > > >
> > > > Signed-off-by: Qingqing Zhuo <qingqing.zhuo@....com>
> > > > ---
> > > > drivers/gpu/drm/vc4/vc4_hdmi.c | 2 +-
> > > > 1 file changed, 1 insertion(+), 1 deletion(-)
> > > >
> > > > diff --git a/drivers/gpu/drm/vc4/vc4_hdmi.c
> > > > b/drivers/gpu/drm/vc4/vc4_hdmi.c index 9e145690c480..edf882360d24
> > > > 100644
> > > > --- a/drivers/gpu/drm/vc4/vc4_hdmi.c
> > > > +++ b/drivers/gpu/drm/vc4/vc4_hdmi.c
> > > > @@ -3445,7 +3445,7 @@ static int vc4_hdmi_bind(struct device *dev, struct device *master, void *data)
> > > > */
> > > > ret = pm_runtime_resume_and_get(dev);
> > > > if (ret)
> > > > - goto err_disable_runtime_pm;
> > > > + goto err_put_runtime_pm;
> > > > if ((of_device_is_compatible(dev->of_node, "brcm,bcm2711-hdmi0") ||
> > > > of_device_is_compatible(dev->of_node, "brcm,bcm2711-hdmi1"))
> > > > &&
> >
> > > The current drm-misc-next branch doesn't have that context at all. What tree is this based on?
> >
> > This is for amd-staging-drm-next.
>
> I don't get it, why is there a vc4 patch in an AMD tree?
There isn't. it just happens to have an vc4 driver with this issue
when we branched it. Lillian, please double check drm-next or
linux-next for non-AMD drivers
Alex
Powered by blists - more mailing lists