1. Define gralloc1 function pointers needed to allocate buffer
2. Use the gralloc1 function pointers to allocate buffer instead of
perform function to avoid any synchronization issues.
3. Remove functionality to allocate buffer from perform function
Change-Id: If686181409a179d3d911dfbd0f0c0eab7a7ffa99
CRs-Fixed: 2115331
- Support handling secure display in HWC
- Issue NULL commit on primary display when secure display session
starts and ends.
Change-Id: I95a8caaf1366c1d9384843d382244e1555dd6ad2
Doze should have a synchronous commit. Doze suspend is missing a
CRTC activation and commit. Add support to retain previously staged
planes by client, since it may not be able to program again in some
situations like Doze and Doze-Suspend. Also retain planes on resume
since it can happen after Doze and Doze-Suspend that may have planes
staged.
Change-Id: Ibb65da16e893a9ae33fd30d19308779ee8687258
CRs-fixed: 2106183
Dpps should wait opening driver before composer comes up.
Add a wservice binder call to query composer init status.
Add util function to block dpps until composer is up.
Change-Id: I82c025011e23a0b159ef2449b00b868a365d681a
CRs-fixed: 2102579
Mode index validation required each time when we get
connecotor info as hotplug disconnect can clear the
modes listed on crtc.
Change-Id: Ibe3f64e8ceb5e3cb11c56f06256c7e71eb5ec220
CRs-fixed: 2110309
In case of flush no release fence is pushed to hwc_layer queue and
no error is returned to f/w, so it could end up requesting release
fences. In such a case the queue can be emptied and from the next
valid cycle we end up giving the same cycle's release fence back.
Push a dummy -1 fence to avoid this.
Change-Id: I1330d0b47a23df3203c06cc23aa4b6b4a6fe669e
CRs-fixed: 1114808
Driver uses same event to trigger idle fall back on video mode panels
and idle power collapse on command mode panels. Handle both with same
event at HAL event handler.
Skip validate should be reset during idle power collapse event.
CRs-Fixed: 2110497
Change-Id: Ie3a0195c4375aebd79e8c7daef7131579bceda9f
Driver events could happen between or during Validate/Present cycles
causing synchronization issues. Add sequence lock to driver event
handling to make sure they are serialized.
Change-Id: I98d6613012251e3de428e8d3ef8b89e7f5a7e40c
CRs-fixed: 1114808
DRM driver provides the total h_blanking for the display. So, on a
display with dual DSI panels, DRM driver has already accounted for
both panels, hence SDM should not account for h_blanking per panel.
CRs-Fixed: 2092799
Change-Id: I621cf6de225a3caeb5f5c93d1e7c6b47e86a2fa2
Revert "hwc2: Allow non-atomic execution of validate and present apis"
This reverts commit 6c26ba9560.
Add per display granular locking in HWC to align with the Validate,
Present call sequence from SF, that happens independently for each
display and possibly on different threads.
Change-Id: Ia092d7f6e6dc26ad22286a93de7b663e8bdf23d0
CRs-fixed: 2095334
1. Populate pixel clock of each connector mode to compute panel
transfer time for command mode panel.
2. Populate and store topology of the connector to compute clock.
Change-Id: I14fec26ff1ace19a82bdac060dd9521cdf7019ec
CRs-Fixed: 2108446
Add new size for 13x13x13 coarse gamut mode, so color
manager will copy over correct size of data for gamut
13x13x13 mode.
Change-Id: Id225f831c27040a87cdc4189d871229de1375839
QDCM PC tool provides rectangle info for partial solid-fill use-cases.
Rect info was not being used, change fixes the logic to consume info.
Change-Id: Ic1c29bd02b5ae0e545200e208b846f2c82435604
- On boot if HDMI is connected, we are dropping
the hotplug event which leads to SF crash
CRs-Fixed: 2085392
Change-Id: I6a3025bc50db5a302079614c49bd850a3f71ce10
Do not toggle CPU hint for draw cycles
with 0 updating layers during video
playback session.
Change-Id: I508f782f911ea4def44209a1b1c34b0c24a47f28
Crs-fixed: 1038379
Handlers can access uninitialized members for unregistered events,
so check for valid event fd and event occurrence before calling
handlers.
Change-Id: I804ea055c0b185dcb7516c8430f8e2a25a84c00a
CRs-fixed: 1114808
- Refactor the utility to retrieve csc from android_data_space_t
- Add RGB1010102 as supported client-target, except BT2020
standard
- Mark layers for GPU composition when client-target is
RGB1010102.
Change-Id: I3e4b32893cf2e349500bbae3e4fda7f6369209ff
Crs-fixed: 2078101