Michal Malý [Wed, 13 Aug 2014 15:18:46 +0000 (17:18 +0200)]
Rework the command sending logic so that the actual command submission
is always asynchronous to plugin state changes.
This requires the HW-spec driver to use synchronous ways of delivering
commands to the device as the sumbission routine now blocks with a mutex
held until the HW-spec submission function returns.
Michal Malý [Wed, 13 Aug 2014 08:44:40 +0000 (10:44 +0200)]
MAJOR CHANEGS:
- Add helper functions for command and stream manipulation
- Change KLGD x Plugin relationship. Plugins can and must lock the KLGD
state when their internal data is manipulated
- Try to send the command stream again if a recoverable error occurs
during sending
Michal Malý [Sun, 27 Jul 2014 13:56:25 +0000 (15:56 +0200)]
- Allow for no init function in plugin
- No extra data to plugin init (use private instead)
- Allow for synchronous send_command_stream() callback
- Move the module-speific macros out of the header file