diff options
author | Mikko Perttunen <mperttunen@nvidia.com> | 2021-03-29 16:38:31 +0300 |
---|---|---|
committer | Thierry Reding <treding@nvidia.com> | 2021-03-30 19:53:24 +0200 |
commit | f63b42cbc86e12f7d960d1fdaaf93b4373c06c65 (patch) | |
tree | 3da429111aa8f70ef7f67faba766c2e54dab6973 /drivers/gpu/Makefile | |
parent | ecfb888ade427e2da437b48cafd8fc824e80c909 (diff) | |
download | linux-f63b42cbc86e12f7d960d1fdaaf93b4373c06c65.tar.bz2 |
gpu: host1x: Use HW-equivalent syncpoint expiration check
Make syncpoint expiration checks always use the same logic used by
the hardware. This ensures that there are no race conditions that
could occur because of the hardware triggering a syncpoint interrupt
and then the driver disagreeing.
One situation where this could occur is if a job incremented a
syncpoint too many times -- then the hardware would trigger an
interrupt, but the driver would assume that a syncpoint value
greater than the syncpoint's max value is in the future, and not
clean up the job.
Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'drivers/gpu/Makefile')
0 files changed, 0 insertions, 0 deletions