Age | Commit message (Collapse) | Author |
|
android13-gs-pixel-5.10-udc-qpr1" into android13-gs-pixel-5.10-udc-qpr1
|
|
Conflict files:
samsung/panel/panel-samsung-s6e3hc4.c
Bug: 292447561
SBMerger: 558810260
Change-Id: I8139867a3f5769154fc46180d22e54f2b2c4e2e4
|
|
If a decon doesn't support hibernation, decon_suspend() will return
directly and sometimes may cause power domain fails to suspend dpu.
Bug: 296744776
Test: echo mem > /sys/power/state
Test: echo 1 > /d/dri/0/crtc-0/recovery
Change-Id: Ib0d9008bd335d1200581e17979b16a6bb877d93a
Signed-off-by: Ken Huang <kenbshuang@google.com>
(cherry picked from commit ce371a081aacdcf8a988bafbf19f75ebbff633e6)
|
|
for RRS
Add the variable to indicate the mode switch is in progress with
refresh rate or/and resolution change in the same atomic commit.
Keep higher BTS in case we switch resolution and refresh rate
from high to low at the same time to avoid noises.
Bug: 283929569
Test: Boot on successfully
Test: Verified by PTE
Change-Id: I97685717527b70353eec2a65dc1317d4c70cf67d
Signed-off-by: Ken Lin <lyenting@google.com>
|
|
Delay DDIC DSC commands to the same VSYNC with framestart
Bug: 283929569
Test: Boot on successfully
Test: Verified by PTE
Change-Id: I0971f56200286e408211cce83de9c9126fc3ee9b
Signed-off-by: Ken Lin <lyenting@google.com>
|
|
There is a race condition during decon suspend if decon state has
been updated earlier than decon suspend while crtc is still enabled.
In that case, it makes pm suspend misunderstand dpu had suspended.
Bug: 282372962
Test: unplug usb to test AoD and suspend/resume
Change-Id: I133d14c049ad9c11cb02818d479513fe18b83aca
Signed-off-by: Ken Huang <kenbshuang@google.com>
(cherry picked from commit 9f1c59dd946fff4e1c7357fa81303065efb1987e)
|
|
Ensuring each call to increase block count can reset hibernation
timer. Besides, add more trace to debug hibernation issues.
Bug: 287054924
Test: check trace
Change-Id: I9a3ff1ae41e989b78bbac66c8173d2eb583482fb
Signed-off-by: Ken Huang <kenbshuang@google.com>
(cherry picked from commit 591a68c82f279f3f9d7a63c867fad09fe913dd3c)
|
|
If new rr has take effect, use current mode to get TE refresh rate type
information for wait TE low.
Bug: 290199919
Test: AOD, UDFPS
Change-Id: If68d35edf35637f498779ac7ce2a2e7949e2a7eb
Signed-off-by: Midas Chien <midaschieh@google.com>
(cherry picked from commit 3b8e8d398c39413a0c540952df82d6612a89b225)
|
|
Remove histogram hibernation WARN() message to avoid confusion.
We have more cases of pending frames at the time of hibernation
than initially anticipated.
Bug: 287900304
Change-Id: I3b8270eaf0f58ff22e120d7299ac8cba7e08b510
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
|
|
Bug: 289967462
Test: PTE display test
Change-Id: Iaeffc837051ef1f3f7f256e4a41ae709cb8d27e8
Signed-off-by: Shiyong Li <shiyongli@google.com>
|
|
Bug: 289967462
Test: PTE display test
Change-Id: Iaeffc837051ef1f3f7f256e4a41ae709cb8d27e8
Signed-off-by: Shiyong Li <shiyongli@google.com>
|
|
This patch rewrite the disable outputs for touch. Now adopting
the following sequence. Touch should be disabled before decon.
1. Disable all bridges (include touch)
2. Disable crtcs (decon)
3. Disable encoders (dsim)
4. post disable on all bridges
Bug: 255678834
Test: Single tap to wake up
Change-Id: I53d5b8d1906e80c98cbec1c09100b9a040700048
Signed-off-by: Leo Chen <yinchiuan@google.com>
|
|
SBMerger: 526756187
Change-Id: Ief95a8b72785b5261970866f23bda8fa5339c471
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
This reverts commit 10257b6c36f6aa404385dbd72ea69b865e9fb5f4.
Reason for revert: flaky test as mentioned in b/285587335#comment22
Bug: 261376040
Change-Id: I277fcc417968b9fa3ae755dd2ca33fc3d723a108
Signed-off-by: Leo Chen <yinchiuan@google.com>
|
|
This reverts commit f3deb4be40c0d55b5c676c47acb65d8605111a5f.
Reason for revert: b/285587335
Bug: 285587335
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
Change-Id: I959256cc689a75fe1ed96cedead254a6a6da7218
|
|
SBMerger: 526756187
Change-Id: I2be715cb3c9b76f3f7bb6e8a3ff7cfbca38e737b
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Changes:
* track histogram engine status via simple state machine.
* preserve histogram_bins data when required.
* immediate return cached histogram data in context of
histogram_request ioctl whenever possible.
Note, histogram is enabled as long as DRM histogram properties are
valid.
Bug: 261376040
Change-Id: Iadc71d6af32651b760194156ce902e0b47fc2d8b
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
|
|
Bug: 277560840
Change-Id: I0a457a0a13302d9b1f77c7a8e73a23f671bf3397
Signed-off-by: Wilson Sung <wilsonsung@google.com>
|
|
Set fixed TE to have a consistent TE frequency (30Hz) in AOD mode.
Bug: 281917185
Test: capture trace, signal measurement, AOD in/out
Change-Id: I7850d1bf9941f00dcb08fbc176784030a5c4bfde
Signed-off-by: Chris Lu <luchris@google.com>
|
|
Add the trace which will be changed according to frame start and
frame done IRQs.
Bug: 283419973
Test: capture the trace and check "frame_transfer"
Change-Id: I90417482fcba520f068b0cbb681528939b3dcf5c
Signed-off-by: Chris Lu <luchris@google.com>
(cherry picked from commit a32af6fcb0950c573fc2bfd3d6de53cf4bde02df)
|
|
Scandump doesn't record the right timing after receiving itmon error.
Trigger emergency reboot to ensure the issue timing.
Bug: 279094593
Test: trigger ramdump by hard code
Change-Id: I3da1f5febd335de8ffaf472b7fb27ff5c76ba61e
Signed-off-by: Ken Huang <kenbshuang@google.com>
|
|
The refresh rate indicator reads the sysfs node of display state,
and the state shows the actual refresh rate according to whether
panel idle refresh rate is set. This change sets idle refresh rate
to 10 in AOD mode so that the indicator can show correct refresh
rate.
Bug: 273577459
Test: cat sys/class/backlight/panel0-backlight/state while AOD
Change-Id: I5b023fd5a4f177c99bf2ea2cd36930d4b020ae19
Signed-off-by: Leo Chen <yinchiuan@google.com>
(Cherry picked from commit c18b655dde3e58c7c5274fc5420753557795c3c5)
|
|
The refresh rate indicator reads the sysfs node of display state,
and the state shows the actual refresh rate according to whether
panel idle refresh rate is set. This change sets idle refresh rate
to 10 in AOD mode so that the indicator can show correct refresh
rate.
Bug: 273577459
Test: cat sys/class/backlight/panel0-backlight/state while AOD
Change-Id: If8fb450caf5b12913d43ae2281bdeaa04ff77394
Signed-off-by: Leo Chen <yinchiuan@google.com>
(Cherry picked from commit c18b655dde3e58c7c5274fc5420753557795c3c5)
|
|
possible""
This reverts commit e302f182ae12d5d5ce8cec93e5aefe8dfb4c866d.
Bug: 280727794
Test: refresh rate switch, LHBM
Change-Id: I1372996beaade519e49a6256b91c273c43bde4d2
Signed-off-by: Midas Chien <midaschieh@google.com>
|
|
Bug: 278834131
Test: trigger sysmmu fault and check last kmsg
Change-Id: I809763e39b0441c545f65bbbb8c3bed87a92317c
Signed-off-by: Ken Huang <kenbshuang@google.com>
|
|
This reverts commit e65e7c4f651fd8a11c7eeba894e99bae8a3eb3a5.
Reason for revert: revert AOD changes since it's not needed
Bug: 280519993
Test: enter/exit AOD, change AOD brightness
Change-Id: I040de7e329b145c2876e153f918f56ffa7bc21a2
Signed-off-by: Chris Lu <luchris@google.com>
|
|
Use "CH" for id of dpp device. Add zpos to ATOMIC_COMMIT event. Correct
resource occupancy information in DECON_RSC_OCCUPANCY event. Add marco
to map id of plane to dpp device.
Bug: 247790341
Test: check dpu event
Signed-off-by: Midas Chien <midaschieh@google.com>
Change-Id: I92e308ed22331eb1b72cc7523891eed5448d5435
|
|
Report both TE rising and falling edge event to measure TE width.
Bug: 266484665
Test: echo 1 > /d/dri/0/crtc-0/force_te_on, check perfetto trace
Change-Id: I1f8c2a69739fee825b7de371efe0812e0fe554cc
Signed-off-by: Shiyong Li <shiyongli@google.com>
(cherry picked from commit 2d0a3e6aa273582a97cca581cd99a9c3dd4daa90)
|
|
Bug: 255246572
Change-Id: Idd002e6ca61c6f950d2e6e0f059fffe997dbab76
Signed-off-by: Robin Peng <robinpeng@google.com>
|
|
Bug: 274187749
Test: check AOD flicker
Change-Id: I95ee814a8e6a0f80f83c967fd76f8e69beb99783
Signed-off-by: Shiyong Li <shiyongli@google.com>
|
|
- set Vreg = 4.5V instead of 6.4V at display-off and 6.8V at
display-on.
- disable idle before setting Vreg=4.5V
- refactor AOD enter/exit command sequence, remove lp_off mode
Bug: 274187749
Test: check perfetto trace, enter and exit AOD
Signed-off-by: Shiyong Li <shiyongli@google.com>
Change-Id: If124d4ef0a0de56189cb5311598ecd98d402b1f3
|
|
Bug: 274187749
Change-Id: Iedd736ff7753da1ada8669e8f30c7603f87838ba
Signed-off-by: Shiyong Li <shiyongli@google.com>
|
|
Bug: 261700544
Test: add debug log to check coherent_dma_mask in plane update
Change-Id: I7bdb312d46de32913af17ddabb10d65845ffa3f2
Signed-off-by: Ken Huang <kenbshuang@google.com>
|
|
SBMerger: 516612970
Change-Id: Ic325879d956ee882d8e978604aa6f05627ae0660
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
The feature to support sbwc encoded writeback was added. And,
DRM_FORMAT_NV12 to writeback also was added.
Bug: 187000170
Test: ./build_cloudripper.sh
Signed-off-by: Kwanghyun Chung <khyun.chung@samsung.com>
Change-Id: Id38229165b799799fecd653e2386a4d87bdfe368
|
|
support 10, 20 and 30 nits.
Bug: 274187749
Test: turn on/off screen, check AOD
Change-Id: Ieb764fbfd6a27f5b6671b52bbaff114b4556956d
Signed-off-by: Shiyong Li <shiyongli@google.com>
|
|
Bug: 274187749
Test: check AOD flicker
Change-Id: I95ee814a8e6a0f80f83c967fd76f8e69beb99783
Signed-off-by: Shiyong Li <shiyongli@google.com>
|
|
This reverts commit 72a95a72d5ea77fc0deb2067774a4ae52cddeb75.
Reason for revert: some phone sees band issue
Change-Id: I0c3bea911663cdc3ae6e59bf72851f72e1c8ea6a
|
|
Bug: 274187749
Test: check artifacts in AOD
Change-Id: Iea713e56d007d0fbf2cf1516d43352496bbd0ad4
Signed-off-by: Shiyong Li <shiyongli@google.com>
|
|
- set Vreg = 4.5V instead of 6.4V at display-off and 6.8V at
display-on.
- disable idle before setting Vreg=4.5V
- refactor AOD enter/exit command sequence, remove lp_off mode
Bug: 274187749
Test: check perfetto trace, enter and exit AOD
Signed-off-by: Shiyong Li <shiyongli@google.com>
Change-Id: If124d4ef0a0de56189cb5311598ecd98d402b1f3
|
|
Bug: 274187749
Change-Id: Iedd736ff7753da1ada8669e8f30c7603f87838ba
Signed-off-by: Shiyong Li <shiyongli@google.com>
|
|
Bug: 268038983
Change-Id: Ieb2aa0522b2cba057b5569883fe546530eced8aa
Signed-off-by: Adrian Salido <salidoa@google.com>
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
|
|
The private object is global for all devices so it's possible that
commits on different crtc could cause previous private objects to be
removed and cause use-after-free issues.
To avoid this, move commit work to happen within crtc. Since we are
already using per crtc/decon worker, it won't be possible to get ahead
in this case.
Bug: 263674548
Test: perform empty atomic commits after non-blocking one on crtc
Change-Id: Ie648a2e7069290cd3168ed2d847b97e176f8a2ee
Signed-off-by: Adrian Salido <salidoa@google.com>
|
|
SBMerger: 516612970
Change-Id: I57d5d75c494ada7ce630f1aa08f5b2511a9c3ad8
Signed-off-by: SecurityBot <android-nexus-securitybot@system.gserviceaccount.com>
|
|
Bug: 270193879
Bug: 232723067
Change-Id: Icef95f24bb1b4906d8187fa530ada17785010091
Signed-off-by: Adrian Salido <salidoa@google.com>
|
|
This reverts commit e93401fb68a8cf2e3c99c6b349274cf6aa7f0ffe.
Reason for revert: b/241837873 is fixed.
Bug: 241837873
Change-Id: I7b2aab7d5a705bf7e737b5e5f111a2a7e0a60bb5
Signed-off-by: Oleg Matcovschi <omatcovschi@google.com>
|
|
Dump the security bit as well when the sysmmu fault happens.
Bug: 260514681
Test: check dpu event log
Change-Id: I9af612686ce35d24fa271045959f14b59a942fc2
Signed-off-by: Ken Huang <kenbshuang@google.com>
|
|
The timestamp in dpu event log missaligns with printk and causes
sometimes we can see future time in the event log.
Bug: 273665747
Test: check dpu event log
Change-Id: Id1a5720f65e394327193134e4decb281ca1c32ee
Signed-off-by: Ken Huang <kenbshuang@google.com>
|
|
PLL enable timeout may be from a wrong PLL_EN setting. Add a readback
to make sure the config is applied correctly.
Bug: 269239140
Test: frequently enter or exit hibernation then check log
Change-Id: Iac75235f6a8f045c6d951694a747c19bc88aecac
Signed-off-by: Ken Huang <kenbshuang@google.com>
|
|
Bug: 269239140
Test: check dpu event log
Change-Id: Ia7c3cb8753d382de016c6ed8c5fef194a16203af
Signed-off-by: Ken Huang <kenbshuang@google.com>
|