summaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-bridge.h
diff options
context:
space:
mode:
authorMikko Perttunen <mperttunen@nvidia.com>2021-03-29 16:38:33 +0300
committerThierry Reding <treding@nvidia.com>2021-03-31 18:42:13 +0300
commitaded42ada6eacfa11d349b158e993f66e4741aa7 (patch)
tree10cb6ca6abb3b17f6f0926b29070f31124def0a9 /include/linux/fpga/fpga-bridge.h
parent2aed4f5ab04af922a7cf1b616701845c9ed2473f (diff)
downloadlinux-aded42ada6eacfa11d349b158e993f66e4741aa7.tar.xz
gpu: host1x: Reset max value when freeing a syncpoint
With job recovery becoming optional, syncpoints may have a mismatch between their value and max value when freed. As such, when freeing, set the max value to the current value of the syncpoint so that it is in a sane state for the next user. Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions