gpu: host1x: Remove cancelled waiters immediately
authorMikko Perttunen <mperttunen@nvidia.com>
Mon, 29 Mar 2021 13:38:30 +0000 (16:38 +0300)
committerThierry Reding <treding@nvidia.com>
Tue, 30 Mar 2021 17:53:24 +0000 (19:53 +0200)
commitecfb888ade427e2da437b48cafd8fc824e80c909
tree38898d61801dad94249331c27a3f77c6e4eb07d5
parent49a5fb1679952a76861bd2580f785e33e3de712c
gpu: host1x: Remove cancelled waiters immediately

Before this patch, cancelled waiters would only be cleaned up
once their threshold value was reached. Make host1x_intr_put_ref
process the cancellation immediately to fix this.

Signed-off-by: Mikko Perttunen <mperttunen@nvidia.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/intr.c
drivers/gpu/host1x/intr.h
drivers/gpu/host1x/syncpt.c