gpu: host1x: Always return syncpoint value when waiting
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 7 Feb 2022 13:19:31 +0000 (15:19 +0200)
committerThierry Reding <treding@nvidia.com>
Wed, 16 Feb 2022 16:20:53 +0000 (17:20 +0100)
commit184b58fa816fb5ee1854daf0d430766422bf2a77
treef9b9ebdf3f8c8ac0642429b5bfd14018217ab6e5
parent22d7ee32f1fb6d51ef8cf657c6685ca04745755a
gpu: host1x: Always return syncpoint value when waiting

The new TegraDRM UAPI uses syncpoint waiting with timeout set to
zero to indicate reading the syncpoint value. To support that we
need to return the syncpoint value always when waiting.

Fixes: 44e961381354 ("drm/tegra: Implement syncpoint wait UAPI")
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/syncpt.c