diff options
author | Hans de Goede <hdegoede@redhat.com> | 2017-10-19 09:44:14 +0200 |
---|---|---|
committer | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2017-11-03 13:32:09 +0200 |
commit | 5c24c05efa4800bbe42de0ad3e752c5fd75fa351 (patch) | |
tree | cdd2231c589ef2bfa2802a36e83aa6c46770d351 /drivers/cpufreq/mediatek-cpufreq.c | |
parent | f6c7b8031d7e177c837c23d1065204b697fb54b7 (diff) |
platform/x86: silead_dmi: Fix GP-electronic T701 entry
The GP-electronic T701 has its LCD panel mounted upside-down, initially
my plan was to fix this by transparently rotating the image in the i915
driver (my "drm/i915: Deal with upside-down mounted LCD" patch), but
that approach has been rejected instead the kernel will now export
a "panel orientation" property on the drm-connector for the panel and
let userspace deal with it.
But userspace expects the touchscreen coordinates to match the panel
coordinates *before* applying any rotation, so now that we no longer hide
the upside-down-ness of the LCD panel from userspace the coordinates being
generated are wrong and we need to apply a rotation of 180 degrees to the
coordinates to fix this.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Diffstat (limited to 'drivers/cpufreq/mediatek-cpufreq.c')
0 files changed, 0 insertions, 0 deletions