[roll] Roll fuchsia [amlogic-display] Change vsync thread RDMA synchronization
In the absence of RDMA irqs, it is possible for the vsync thread to
not wake up while waiting for the condition variable in
WaitForRdmaIdle(). It now uses a timed wait to alleviate this.
The timeout means that the RDMA blocking condition now executes more
frequently. This logic has also been changed to ensure that that wait
condition only depends on the state of the auto-RDMA done interrupt
status and the loop itself only entered if an RDMA request is known to
yet be serviced and the RDMA interrupt done bits haven't been cleared
yet.
Also ran fx format-code.
Test: 1. Inject an artificial 20 second sleep in RDMA thread. Confirm
that the display only updates every 20 seconds.
2. Observe no register dumps in the logs without the TimedWait
change.
3. Observe register dumps with the TimedWait change.
4. Ensure that the display continues to refresh.
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/556171
Original-Revision: 10ddc39c010a0538e6d035c66214a6de8805646e
GitOrigin-RevId: 90a62cb44e20db44aaeae39578736f1621f38956
Change-Id: Ib2a89597ce43d07933437c26ab52a8a960a9b210
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.