README 1.3 KB

12345678910111213141516171819202122232425
  1. Driver parameters:
  2. - firmware_command_timeout, int: a number of seconds that the host waits for
  3. the DSP to respond to a synchronization request or a command. Can be changed
  4. at runtime through the following sysfs entry:
  5. /sys/module/xrp/parameters/firmware_command_timeout
  6. - firmware_reboot, 0/1: controls whether the driver reboots firmware on
  7. command timeout. Enabled by default and can be changed at runtime through
  8. the following sysfs entry: /sys/module/xrp/parameters/firmware_reboot
  9. - loopback, 0/1/2/3: controls level of interaction between the driver and
  10. the firmware.
  11. 0: normal operation. The driver loads firmware, controls DSP and interacts
  12. with the firmware through shared memory;
  13. 1: no-communication loopback. The driver loads the firmware and controls
  14. DSP, but does not communicate with firmware. Initial synchronization
  15. is not performed and command submission is completed immediately after
  16. all normal preparation steps related to buffer mapping. Communication
  17. area is not touched by the driver.
  18. 2: no-control loopback. The driver loads the firmware, but does not control
  19. DSP nor does it communicate with the firmware. Neither communication
  20. area nor DSP MMIO area are touched by the driver.
  21. 3: no-firmware loopback. The driver doesn't load firmware, doesn't control
  22. DSP and doesn't communicate with DSP.