]> 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)
commit688565e6c040d1924a0b936f20a2fdc8124fc9c3
tree2411c38122cf5dcf43aea285067a810acc8d7a69
parent5728bd95d156234a3a557578e7d97df795b671ca
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