]>
Devoid-pointer.net GitWeb - KLGD.git/log
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Michal Malý [Sun, 4 Oct 2015 12:50:59 +0000 (14:50 +0200)]
Be more thread-safe in error handling
Michal Malý [Sat, 26 Sep 2015 17:51:51 +0000 (19:51 +0200)]
Remove the "mutex_trylock" hack
Michal Malý [Wed, 23 Sep 2015 16:01:04 +0000 (18:01 +0200)]
Add a "spinning" alternative to plugin locking (might not be a good
idea!)
Michal Malý [Sun, 16 Aug 2015 13:28:57 +0000 (15:28 +0200)]
Documentation incorrectly mentioned spinlocks instead of mutexes
Michal Malý [Sun, 16 Aug 2015 13:27:03 +0000 (15:27 +0200)]
Export klgd_free_command()
Michal Malý [Wed, 12 Aug 2015 08:53:55 +0000 (10:53 +0200)]
Use more flexible format of user data in klgd_command struct
Michal Malý [Tue, 11 Aug 2015 23:47:13 +0000 (01:47 +0200)]
Merge https://github.com/MadCatX/LinuxFF-KLGD
Michal Malý [Tue, 11 Aug 2015 22:45:24 +0000 (00:45 +0200)]
Extend user data in klgd_command struct by a union of either two u32 or
a pointer to arbitrary data.
Michal Malý [Tue, 11 Aug 2015 22:33:21 +0000 (00:33 +0200)]
Simplify handling of partial failures when the command stream is built
Michal Malý [Sun, 9 Aug 2015 16:51:06 +0000 (18:51 +0200)]
Allow for arbitrary data to be stored with KLGD commands.
MadCatX [Sun, 9 Aug 2015 16:33:08 +0000 (18:33 +0200)]
Merge pull request #2 from Eliasvan/patch-1
Fix small typo in README
Elias Vanderstuyft [Fri, 7 Aug 2015 12:16:50 +0000 (14:16 +0200)]
Fix small typo in README
MadCatX [Mon, 3 Aug 2015 06:51:04 +0000 (08:51 +0200)]
Merge pull request #1 from Eliasvan/master
Render images in doc.
Elias Vanderstuyft [Mon, 3 Aug 2015 05:53:56 +0000 (07:53 +0200)]
Update README.md
Swap SVGs with PNGs.
Elias Vanderstuyft [Mon, 3 Aug 2015 05:52:14 +0000 (07:52 +0200)]
Export SVGs to PNGs for GitHub to properly render README.
Michal Malý [Sat, 1 Aug 2015 23:13:42 +0000 (01:13 +0200)]
Merge branch 'master' of devoid-pointer.net:KLGD
Michal Malý [Sat, 1 Aug 2015 23:12:11 +0000 (01:12 +0200)]
Start work on improved error handling
Michal Malý [Mon, 27 Jul 2015 20:50:25 +0000 (22:50 +0200)]
Add documentation files.
MadCatX [Mon, 27 Jul 2015 10:56:36 +0000 (12:56 +0200)]
Create LICENSE.md
Michal Malý [Sun, 26 Jul 2015 14:41:31 +0000 (16:41 +0200)]
- Set TRYAGAIN delay in milliseconds
- Improve debugging output
Michal Malý [Fri, 19 Sep 2014 23:42:16 +0000 (01:42 +0200)]
Return ints from stream manipulation functions for better error handling
Michal Malý [Thu, 18 Sep 2014 07:28:39 +0000 (09:28 +0200)]
Export append_stream() and free_stream()
Michal Malý [Thu, 28 Aug 2014 10:45:39 +0000 (12:45 +0200)]
Add quirk to prevent freeing of a plugin by KLGD.
Michal Malý [Wed, 27 Aug 2014 10:01:42 +0000 (12:01 +0200)]
Check fur null pointers in klgd_deinit()
Michal Malý [Tue, 26 Aug 2014 18:46:04 +0000 (20:46 +0200)]
Export klgd_make_command() for use by modules
Michal Malý [Tue, 26 Aug 2014 18:42:28 +0000 (20:42 +0200)]
Fix compiler warning
Michal Malý [Tue, 26 Aug 2014 18:40:05 +0000 (20:40 +0200)]
Add klgd_make_command() function to create commands from already
allocated byte arrays
Michal Malý [Tue, 26 Aug 2014 00:20:06 +0000 (02:20 +0200)]
Remove the helper variable
Michal Malý [Mon, 25 Aug 2014 23:52:28 +0000 (01:52 +0200)]
- Allocate struct klgd_command correctly
- Prevent modification of bytes pointer in struct klgd_command
Michal Malý [Wed, 13 Aug 2014 16:39:03 +0000 (18:39 +0200)]
Free command stream once its processed
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 09:54:56 +0000 (11:54 +0200)]
Allow plugins state unlocking without rescheduling
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 15:53:04 +0000 (17:53 +0200)]
Do not free plugins as they might be allocated statically
Michal Malý [Sun, 27 Jul 2014 15:15:04 +0000 (17:15 +0200)]
- Do not use printk unless we report error
- Keep function definitions in alphabetical order
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
Michal Malý [Sun, 27 Jul 2014 08:45:40 +0000 (10:45 +0200)]
Fix memory allocation checks in _init
Michal Malý [Sun, 27 Jul 2014 08:38:06 +0000 (10:38 +0200)]
Do not post events to invalid plugins
Michal Malý [Sun, 27 Jul 2014 08:32:55 +0000 (10:32 +0200)]
Do not free empty plugin slots
Michal Malý [Sun, 27 Jul 2014 08:31:19 +0000 (10:31 +0200)]
Fix symbol exporting and qualify internal functions as static
Michal Malý [Fri, 25 Jul 2014 23:45:41 +0000 (01:45 +0200)]
Use delayed workqueue instead of timer
Michal Malý [Fri, 25 Jul 2014 19:16:10 +0000 (21:16 +0200)]
Add module license and description
Michal Malý [Fri, 25 Jul 2014 19:12:45 +0000 (21:12 +0200)]
Fix argument for klgd_schedule_update()
Michal Malý [Fri, 25 Jul 2014 19:12:12 +0000 (21:12 +0200)]
Implement rudimentary deinitialization
Michal Malý [Fri, 25 Jul 2014 19:05:24 +0000 (21:05 +0200)]
Export symbols for other modules to use
Michal Malý [Fri, 25 Jul 2014 19:01:33 +0000 (21:01 +0200)]
Export klgf_notify_commands_sent()
Michal Malý [Fri, 25 Jul 2014 19:00:01 +0000 (21:00 +0200)]
Add some debugging output, this shall be useful quite soon
Michal Malý [Fri, 25 Jul 2014 18:56:15 +0000 (20:56 +0200)]
Initial commit