]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: syncpt: Request syncpoints per client
authorThierry Reding <treding@nvidia.com>
Wed, 30 Aug 2017 10:48:31 +0000 (12:48 +0200)
committerThierry Reding <treding@nvidia.com>
Fri, 20 Oct 2017 12:19:51 +0000 (14:19 +0200)
commit9cc922a9041b1956849ed17afeb8b447a1224fe0
tree2411c38122cf5dcf43aea285067a810acc8d7a69
parent8830166764184455c5ccace768461db6eca2b2bb
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>
drivers/gpu/drm/tegra/dc.c
drivers/gpu/drm/tegra/gr2d.c
drivers/gpu/drm/tegra/gr3d.c
drivers/gpu/drm/tegra/vic.c
drivers/gpu/host1x/syncpt.c
drivers/gpu/host1x/syncpt.h
include/linux/host1x.h