Messages in this thread | | | From | Dmitry Torokhov <> | Date | Thu, 21 Jul 2016 17:57:55 -0700 | Subject | Re: v4.1 to v4.7: regression in tsc2005 driver |
| |
On Thu, Jul 21, 2016 at 5:10 PM, Peter Hutterer <peter.hutterer@who-t.net> wrote: > On Thu, Jul 21, 2016 at 10:54:21AM +0200, Pavel Machek wrote: >> Should we have calibration info in the device tree, with kernel >> passing it to the x? >> >> Should kernel somehow do the calibration itself? > > if the kernel knows about the calibration it would make more sense to just > do it in the kernel directly.
Historically we relied on userspace to perform calibration/transformation. Lately we've been introducing trivial transformations (inversion and axes swapping) and we allow plumbing this though DT; the rest I think is still better done in userspace (where you can do floating point, if desired).
> but for anything even remotely run-time or > user-configured the xorg.conf snippet is the best solution.
Thanks.
-- Dmitry
| |