diff options
author | Thierry Reding <treding@nvidia.com> | 2017-08-30 13:48:31 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2017-10-20 15:19:51 +0300 |
commit | 617dd7cc490b72345277e2666c8ed34d4f47f0da (patch) | |
tree | 2411c38122cf5dcf43aea285067a810acc8d7a69 /drivers/gpu/host1x/syncpt.h | |
parent | 6a341fdff16e13ed1d60dbedca027df3a6a15f9b (diff) | |
download | linux-617dd7cc490b72345277e2666c8ed34d4f47f0da.tar.xz |
gpu: host1x: syncpt: Request syncpoints per client
Rather than request syncpoints for a struct device *, request them for a
struct host1x_client *. This is important because subsequent patches are
going to break the assumption that host1x will always be the parent for
devices requesting a syncpoint. It's also a more natural choice because
host1x clients are really the only ones that will know how to deal with
syncpoints.
Note that host1x clients are always guaranteed to be children of host1x,
regardless of their location in the device tree.
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/host1x/syncpt.h')
-rw-r--r-- | drivers/gpu/host1x/syncpt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/host1x/syncpt.h b/drivers/gpu/host1x/syncpt.h index f719205105ac..9d88d37c2397 100644 --- a/drivers/gpu/host1x/syncpt.h +++ b/drivers/gpu/host1x/syncpt.h @@ -44,7 +44,7 @@ struct host1x_syncpt { const char *name; bool client_managed; struct host1x *host; - struct device *dev; + struct host1x_client *client; struct host1x_syncpt_base *base; /* interrupt data */ |