tmakin 3d240e46cc nx: hwc: Work around broken hwcomposer impl
NVIDIA's hwcomposer implementation has a number of crippling issues
which we manually work around.

* It completely breaks down when default rotation is anything but 0,
so the DTB has been modified so HWC treats the display as being in
portrait (natural rotation of the panel). SurfaceFlinger now handles
the default orientation settings (ORIENTATION_270) and lock screen
rotation has been enabled previously via overlay.

* It lacks proper display duplication, so pending an OSS docking
handler service, `stb_mode` has been enabled to attempt to replicate
stock Switch behavior. NOTE: at the moment, the 2nd display out shows
as rotated 1080p.

Change-Id: Ic7d46ed0c61c9aea44faf2e91bd102f9d7360fde
2024-01-25 15:54:02 -05:00
2024-01-25 14:56:46 -05:00
2024-01-25 14:56:45 -05:00
2024-01-25 15:54:01 -05:00
2024-01-25 14:56:45 -05:00
2024-01-25 14:56:45 -05:00
2021-03-25 22:35:35 -05:00
2021-03-27 17:12:24 -05:00
2024-01-25 14:56:45 -05:00
2024-01-25 14:56:45 -05:00
2021-10-04 12:53:17 -05:00
2024-01-25 14:56:45 -05:00
2024-01-25 14:56:45 -05:00

Common configuration for Nintendo Switch devices

#
# Copyright (C) 2022 The LineageOS Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
#      http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
S
Description
No description provided
Readme
842 KiB
0 Stars 1 Watchers 0 Forks
Languages
Java 69.3%
Makefile 20.5%
Shell 5%
C++ 2.8%
Python 2.4%