diff options
| author | Mikko Perttunen <mperttunen@nvidia.com> | 2021-03-29 16:38:33 +0300 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2021-03-31 17:42:13 +0200 |
| commit | aded42ada6eacfa11d349b158e993f66e4741aa7 (patch) | |
| tree | 10cb6ca6abb3b17f6f0926b29070f31124def0a9 /net/switchdev/switchdev.c | |
| parent | 2aed4f5ab04af922a7cf1b616701845c9ed2473f (diff) | |
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 'net/switchdev/switchdev.c')
0 files changed, 0 insertions, 0 deletions
