[Freedreno] [PATCH v2 01/34] component: Introduce struct aggregate_device

Stephen Boyd swboyd at chromium.org
Wed Oct 13 19:49:17 UTC 2021


Quoting Daniel Vetter (2021-10-13 05:22:23)
> On Wed, Oct 06, 2021 at 12:37:46PM -0700, Stephen Boyd wrote:
> > Replace 'struct master' with 'struct aggregate_device' and then rename
> > 'master' to 'adev' everywhere in the code. While we're here, put a
> > struct device inside the aggregate device so that we can register it
> > with a bus_type in the next patch.
> >
> > The diff is large but that's because this is mostly a rename, where
> > sometimes 'master' is replaced with 'adev' and other times it is
> > replaced with 'parent' to indicate that the struct device that was being
> > used is actually the parent of the aggregate device and driver.
> >
> > Cc: Daniel Vetter <daniel.vetter at ffwll.ch>
> > Cc: "Rafael J. Wysocki" <rafael at kernel.org>
> > Cc: Rob Clark <robdclark at gmail.com>
> > Cc: Russell King <rmk+kernel at arm.linux.org.uk>
> > Cc: Saravana Kannan <saravanak at google.com>
> > Signed-off-by: Stephen Boyd <swboyd at chromium.org>
>
> This adds device model stuff, please cc Greg KH and ask him to review
> this. Maybe also an ack from Rafael would be good whether this makes
> sense.

I will explicitly Cc Greg on these component.c patches.

>
> Once we have that I think we can then go&collect acks/review for all the
> driver changes and get this sorted. Thanks a lot for pushing this forward.

I'll resend the series today. This one has some compilation problems
that I've fixed now.


More information about the Freedreno mailing list