gpu: host1x: Allow syncpoints without associated client
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 29 Mar 2021 13:38:28 +0000 (16:38 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 30 Mar 2021 17:53:24 +0000 (19:53 +0200)
commit86cec7ece3e62517e2bc0fd796a8a8da4193e7e5
treeac83fd9661b0b4ce7a5de358715a0ca01e3e1ae8
parent01990be33389d59f6b5c7dce0e8580263df1aa0c
gpu: host1x: Allow syncpoints without associated client

Syncpoints don't need to be associated with any client,
so remove the property, and expose host1x_syncpt_alloc.
This will allow allocating syncpoints without prior knowledge
of the engine that it will be used with.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/syncpt.c
drivers/gpu/host1x/syncpt.h
include/linux/host1x.h