[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CALAqxLVzExB-XCXDgPZO0Aa=8Mfk-1J22_rbvmreqrxsKs5wGg@mail.gmail.com>
Date: Wed, 24 Apr 2019 09:51:40 -0700
From: John Stultz <john.stultz@...aro.org>
To: Sam Ravnborg <sam@...nborg.org>
Cc: lkml <linux-kernel@...r.kernel.org>,
David Airlie <airlied@...ux.ie>,
Chen Feng <puck.chen@...ilicon.com>,
dri-devel <dri-devel@...ts.freedesktop.org>,
Xinliang Liu <z.liuxinliang@...ilicon.com>,
Xinwei Kong <kong.kongxinwei@...ilicon.com>,
Rongrong Zou <zourongrong@...il.com>
Subject: Re: [PATCH 10/25] drm: kirin: Move workqueue to ade_hw_ctx structure
On Wed, Apr 24, 2019 at 9:46 AM Sam Ravnborg <sam@...nborg.org> wrote:
>
> Hi John.
>
> On Tue, Apr 23, 2019 at 04:20:41PM -0700, John Stultz wrote:
> > The workqueue used to reset the display when we hit an LDI
> > underflow error is ADE specific, so since this patch series
> > works to make the kirin_crtc structure more generic, move the
> > workqueue to the ade_hw_ctx structure instead.
> >
> > Cc: Xinliang Liu <z.liuxinliang@...ilicon.com>
> > Cc: Rongrong Zou <zourongrong@...il.com>
> > Cc: Xinwei Kong <kong.kongxinwei@...ilicon.com>
> > Cc: Chen Feng <puck.chen@...ilicon.com>
> > Cc: David Airlie <airlied@...ux.ie>
> > Cc: Daniel Vetter <daniel@...ll.ch>
> > Cc: dri-devel <dri-devel@...ts.freedesktop.org>
> > Signed-off-by: John Stultz <john.stultz@...aro.org>
> > ---
> > drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c | 12 +++++-------
> > 1 file changed, 5 insertions(+), 7 deletions(-)
> >
> > diff --git a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
> > index 94dcad0..f54cf99 100644
> > --- a/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
> > +++ b/drivers/gpu/drm/hisilicon/kirin/kirin_drm_ade.c
> > @@ -52,6 +52,7 @@ struct ade_hw_ctx {
> > struct clk *media_noc_clk;
> > struct clk *ade_pix_clk;
> > struct reset_control *reset;
> > + struct work_struct drm_device_wq;
>
> The comment probarly belongs to 01/25...
> The name drm_device_wq is not at all descriptive.
> Consider something like: display_reset_wq
I agree, that sounds like a nice improvement! I'll tweak it in patch 1/25.
thanks for the review and feedback!
-john
Powered by blists - more mailing lists