File:DNI-TEST-Fake-long-processing-during-atomic-flush.patch

From eLinux.org
Jump to: navigation, search
DNI-TEST-Fake-long-processing-during-atomic-flush.patch(file size: 4 KB, MIME type: text/x-diff)
Warning: This file type may contain malicious code. By executing it, your system may be compromised.

Perform a sleep operation before processing the display list to imitate a long delay from userspace.

This delay can be manipulated through sysfs by sending a number, representing the quantity of microseconds to delay as follows:

 echo 8000 > /sys/module/vsp1/parameters/vsp1_delay

For testing, a value of up to 20 milliseconds is recommended, but extreme values can be tested also.

Please note that values above 35 milliseconds, will cause faults at pipeline shutdown where timeout values will be exceeded.

In the event of testing longer delays (such as 100 milliseconds), please ensure that the delay is reduced before ending the stream.

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> [Use usleep_range(), trace UPD races] Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>

File history

Click on a date/time to view the file as it appeared at that time.

Date/TimeDimensionsUserComment
current03:46, 6 March 2017 (4 KB)Kbingham (talk | contribs)Perform a sleep operation before processing the display list to imitate a long delay from userspace. This delay can be manipulated through sysfs by sending a number, representing the quantity of microseconds to delay as follows: echo 8000 > /sys/mo...
  • You cannot overwrite this file.

There are no pages that link to this file.