diff options
| author | Tomasz Rusinowicz <tomasz.rusinowicz@intel.com> | 2026-09-15 10:36:51 +0200 |
|---|---|---|
| committer | Karol Wachowski <karol.wachowski@linux.intel.com> | 2026-09-17 09:35:08 +0200 |
| commit | a8fe4e162ba8212b7e51fdb024b37800f36b496c (patch) | |
| tree | 256b9c39cbcee6d4435000bd229ee7bfd565366d /Documentation/gpu | |
| parent | 2c6be28cee1624b622d5dbd02f85c80bc7b8dbc5 (diff) | |
| download | linux-next-a8fe4e162ba8212b7e51fdb024b37800f36b496c.tar.gz linux-next-a8fe4e162ba8212b7e51fdb024b37800f36b496c.zip | |
accel/ivpu: Move register poll timeouts to vdev->timeout
Use the vdev->timeout structure for register poll timeouts. This allows
adjusting those timeouts depending on the platform type.
For FPGA set MMU timeouts to 10x.
Register poll timeouts are expressed in microseconds and are passed to
read_poll_timeout(), which disables a timeout when it is 0, unlike the
millisecond timeouts that are disabled with a negative value.
Also initialize state_dump_msg in the IVPU_TEST_MODE_DISABLE_TIMEOUTS
branch, which was missed when the field was added. Unlike the other
fields, it is a fixed delay passed to msleep() rather than a timeout, so
it has to keep a finite value. It is only reachable with this debug test
mode enabled, so there is no need for backporting.
Signed-off-by: Tomasz Rusinowicz <tomasz.rusinowicz@intel.com>
Reviewed-by: Andrzej Kacprowski <andrzej.kacprowski@linux.intel.com>
Reviewed-by: Dawid Osuchowski <dawid.osuchowski@linux.intel.com>
Signed-off-by: Karol Wachowski <karol.wachowski@linux.intel.com>
Link: https://patch.msgid.link/20260915083651.950890-1-karol.wachowski@linux.intel.com
Diffstat (limited to 'Documentation/gpu')
0 files changed, 0 insertions, 0 deletions
