summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing Shen <phoenixshen@google.com>2023-04-10 16:00:23 +0800
committerChromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com>2023-04-10 10:10:12 +0000
commit2398ea805370730e25c8ea95adf088d3b9684fa8 (patch)
treed33dc525d0ab85180cfd109b9401898619ea0c18
parent425abc4faa224fbeb854af04a71a4a4512ca0c14 (diff)
downloadchrome-ec-2398ea805370730e25c8ea95adf088d3b9684fa8.tar.gz
geralt: fix roration matrix
Fix the rotation matrix after kernel rotates panel by 270 degree (CL:4379961) BUG=b:273687730 TEST=display orientation looks good BRANCH=none Change-Id: Id7d3f3f2842d7aae48b092331b738f0daee795ff Signed-off-by: Ting Shen <phoenixshen@google.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4411757 Commit-Queue: Ting Shen <phoenixshen@chromium.org> Reviewed-by: Eric Yilun Lin <yllin@google.com> Tested-by: Ting Shen <phoenixshen@chromium.org>
-rw-r--r--zephyr/program/geralt/motionsense.dtsi4
1 files changed, 2 insertions, 2 deletions
diff --git a/zephyr/program/geralt/motionsense.dtsi b/zephyr/program/geralt/motionsense.dtsi
index 345eb6b278..1446d1cb22 100644
--- a/zephyr/program/geralt/motionsense.dtsi
+++ b/zephyr/program/geralt/motionsense.dtsi
@@ -33,8 +33,8 @@
motionsense-rotation-ref {
compatible = "cros-ec,motionsense-rotation-ref";
lid_rot_ref: lid-rotation-ref {
- mat33 = <0 1 0
- (-1) 0 0
+ mat33 = <1 0 0
+ 0 1 0
0 0 1>;
};
};