]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
gpu: host1x: Always return syncpoint value when waiting
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 7 Feb 2022 13:19:31 +0000 (15:19 +0200)
committerPaolo Pisati <paolo.pisati@canonical.com>
Mon, 7 Mar 2022 10:45:57 +0000 (11:45 +0100)
commit17493f539fb511a259486302cd0d020300d071f4
treebac93294564f38a972b88f547972648a83c395a8
parent32ac1a34829d068f13a40c3a108a6298525f9eb6
gpu: host1x: Always return syncpoint value when waiting

BugLink: https://bugs.launchpad.net/bugs/1963891
commit 184b58fa816fb5ee1854daf0d430766422bf2a77 upstream.

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
drivers/gpu/host1x/syncpt.c