diff options
author | Benjamin Tissoires <benjamin.tissoires@redhat.com> | 2018-07-13 16:13:48 +0200 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2018-07-17 15:33:47 +0200 |
commit | 01eaac7e57134cae4e75b36195a10d525939c7bf (patch) | |
tree | 80538e4cccd73d57434322359ef698ecce8b7d83 /include/drm/gpu_scheduler.h | |
parent | 8dfe14b3b47ff832cb638731f9fc696a3a84f804 (diff) | |
download | blackbird-obmc-linux-01eaac7e57134cae4e75b36195a10d525939c7bf.tar.gz blackbird-obmc-linux-01eaac7e57134cae4e75b36195a10d525939c7bf.zip |
HID: multitouch: remove one copy of values
The current way of handling multitouch data is not very straightforward:
- in mt_event() we do nothing
- in mt_report() we:
- do some gym to fetch the scantime and the contact count
- then iterate over the input fields where we copy the data to a
temporary place
- when we see the last field in a slot, we then use this data to emit
the input data
A more streamlined way is to first get all of the address in the report
of all fields, and then just pick the fields we are interested in in
mt_report()
Acked-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'include/drm/gpu_scheduler.h')
0 files changed, 0 insertions, 0 deletions