| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/#/c/157220
Bug: 5449033
Change-Id: I7d131473964d92c62a495d082a1207867f435885
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/157065
Bug: 5449033
Change-Id: I71aea6795e3ed22beacb9a8f5774499e96c69a4d
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156801
Bug: 5449033
Change-Id: Ib3b6ce6a89755e29aa9f830e9185064c25dd138e
|
|
|
|
|
|
|
| |
See https://android-git.corp.google.com/g/156016
Bug: 5449033
Change-Id: I551e5a040249a8908251cd8c8d7131287f1f53de
|
|\
| |
| |
| |
| | |
* commit '40e6beac1e9977ff2ca763e6e8abcc2463fa76cf':
hwc: set FB z-order when there are no hwc layers
|
| |
| |
| |
| |
| |
| |
| |
| | |
When there are no layers passed to hwc, FB is still used, and
z-order must be set.
Change-Id: I7e45f56468b47712f7686b78ba0650943037c64a
Signed-off-by: Lajos Molnar <lajos@ti.com>
|
|\ \
| |/
| |
| |
| | |
* commit 'c7bdd44463cd9b32a3d6a5647beaff541a5e29f7':
hwc: added static image support
|
| |
| |
| |
| |
| |
| |
| |
| | |
Display static image if connected to portrait dock and there are no
dockable layers.
Change-Id: I572cf9ef5bf66ac194c3a83920a8de3be1e6d4e4
Signed-off-by: Lajos Molnar <lajos@ti.com>
|
|\ \
| |/
| |
| |
| | |
* commit '252f905d197c5f385d21686a4368ab1114b84e39':
hwc: update to new addressing mode handling
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Specify Post2 and cloned layers.
Fix potential overflow in zorder of cloned (dock) layer.
Change-Id: I534fe30e6b90415070824ceb7abff65e9b93c9ec
Signed-off-by: Lajos Molnar <lajos@ti.com>
Conflicts:
hwc/hwc.c
|
|\ \
| |/
| |
| |
| | |
* commit '04a0e38d7c4d8a94fbc84eac36cb6d06412cd7b7':
hwc: add support for forced docking (in the dock)
|
| |
| |
| |
| |
| |
| |
| |
| | |
If the dock switch is set high, mirroring is disabled and docking
transformation is set to 0.
Change-Id: Ief0f14874459f3ff435e6b43088f524af322524f
Signed-off-by: Lajos Molnar <lajos@ti.com>
|
|\ \
| |/
| |
| |
| | |
* commit '5119962cd2520a3e4d3f2a2a15d6596c28fba04f':
hwc: extract HDMI mode scoring function
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Separate HDMI mode scoring function so that it is easier to
modify.
Also changed scoring function to be cumulative instead of
absolute, so that priorities of the sub-scores can be easily
changed.
Change-Id: I3f803c13c1482653b8a3fb26a47a8fefecc51b4b
|
|\ \
| |/
| |
| |
| |
| |
| | |
methods
* commit '20e79c05615092da8f48d8ca41745d0c9c5479ce':
hwc: refactor prepare: extract out hdmi cloning methods
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Extract setting up mirroring into setup_mirroring().
Extract cloning an overlay into clone_layer().
Extract cloning an external layer into clone_external_layer(). This
also sets up the transformation for that layer.
Remove omap4_hwc_create_ext_matrix as it was nearly the same
as setup_mirroring(). Move missing functionality (VGA default) into
omap4_hwc_set_best_hdmi_mode().
Removed forced "common" cloning loop for mirroring and docking
support. Instead implement them using the extracted functions.
Change-Id: I3d53397f6f5c98d1f1c512b7098f5a1c495dd93f
|
|\ \
| |/
| |
| |
| |
| |
| | |
statistics and cloning decision
* commit '25487b340cdb1cf93882d874858615872c2035de':
hwc: refactor prepare: separate gathering layer statistics and cloning decision
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Extract logic that gathers layer statistics into gather_layer_statistics().
Extract logic that decides supported cloning configuration into
decide_supported_cloning().
Move prepare log to end of function.
Change-Id: I9bf3a5a1072b9d548da039e25739009dfb5ba06e
|
|\ \
| |/
| |
| |
| | |
* commit '53d3c74d3113a666167062afa15be6d447ae7361':
hwc: use LCD's pixel aspect ratio
|
| |
| |
| |
| |
| |
| |
| |
| | |
Now that LCD provides its dimension, use it instead of assuming 1:1
pixel ratio.
Change-Id: I92e90132986aed66d43165d181789efaa2369bbd
Signed-off-by: Lajos Molnar <molnar@ti.com>
|
|\ \
| |/
| |
| |
| | |
* commit '226ff52b58437487ac65c8fa853fe6c646d3d468':
hwc: minor code cleanup
|
| |
| |
| |
| | |
Change-Id: I51434effcb688fa065bdd422a721282b05a192f4
|
|\ \
| |/
| |
| |
| | |
* commit 'e10ef2cd8f619915d9638b5b5178ceae23520290':
hwc: simplify layer hint setting
|
| |
| |
| |
| |
| |
| | |
Set HWC_CLEAR_FB hints in the main loop.
Change-Id: I9fb0e4241b9d3975422070daeef0706d954947b2
|
|\ \
| |/
| |
| |
| | |
* commit 'c8124479e9a96661bc6394456c5a8b7e8e869e94':
hwc: simplify color format handling
|
| |
| |
| |
| |
| |
| |
| | |
use handle instead of handle->format for most format checker methods
incorporate blending handling check into omap4_hwc_setup_layer_base
Change-Id: I336b3063c162733151f403b5c3de06699fcc3404
|
|\ \
| |/
| |
| |
| | |
* commit 'd4d10c5f5080ca01469ebf8429bb3c164a6f9856':
hwc: cleanup: fix spacing, removed dead code
|
| |
| |
| |
| | |
Change-Id: Ie36e79f80bc610b75361f592c6ed7a028e877cd5
|
|\ \
| |/
| |
| |
| | |
* commit 'bda528cf43b2d7ca91fd9da3ebb08e5166fa7cfc':
hwc: cleanup: cleaned up debug messages
|
| |
| |
| |
| | |
Change-Id: Idf7a0623dd5559cc1273389a5a673b28a8be39f6
|
|\ \
| |/
| |
| |
| | |
* commit '8fc542adafd4ac4e94d24b75e5e1bf4b3f64f1ba':
hwc: cleanup: resolve compiler warnings
|
| |
| |
| |
| |
| |
| | |
Removed compiler warnings
Change-Id: I5b6da58e48e526ccceada1cbe89291275b62c60f
|
|\ \
| |/
| |
| |
| | |
* commit 'cc230bb412aa0bba51d0ca32cc82d1555538e392':
hwc: remove name collision for DISPLAY_SETUP_DISPLAY
|
| |
| |
| |
| |
| |
| |
| |
| | |
This was defined both as an enum (flag) and as a define. It is
now separated in dsscomp.h
Change-Id: I1626842b9c3b22588d0d5a48e4509e1bc353eaab
Signed-off-by: Lajos Molnar <molnar@ti.com>
|
|\ \
| |/
| |
| |
| | |
* commit '085c0e5468f3ba46f42749f84828cfd3ec6a7b78':
hwc: Fix calculation of on_tv
|
| |
| |
| |
| |
| |
| | |
We are only on TV if we are actually cloning to external display.
Change-Id: I4a6cb7a58f5a00b71cf18c0cd3927bbec0fe74a1
|
|\ \
| |/
| |
| |
| | |
* commit '4b9a8e20618eab9b5a581a97586c5808f8571d28':
hwc: fix issues handling force_sgx
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
There were a couple of incorrect fixes to force_sgx handling that
are fixed by this patch.
1. no need to disable force_sgx if there are protected layers.
We only need to route protected layer to DSS.
2. dockable layer must be rendered via DSS (or force_sgx must be
disabled, although that reduces power savings) if we are in
docking mode. Prior fix of cloning an arbitrary layer as the
docking layer was incorrect (as it was doing UI mirroring),
and was calculating the layer index incorrectly.
3. forcing sgx rendering actually increases power if there is only
one layer.
Change-Id: I121747ed06834f870e0f0793d38bf4e77f969858
Signed-off-by: Lajos Molnar <molnar@ti.com>
|
|\ \
| |/
| |
| |
| | |
* commit '2f9d236b408d1209bc97f1b45951b9e21adef542':
HWC: Only invalidate on idle when blending
|
| |
| |
| |
| | |
Change-Id: I6e07129502f59f26768895c30dcdb50b01011738
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The dock plane index is set correctly, in the scenario
where there is no HW accelerated overlays.
Earlier in this scenario, where all the layers were composed
by SGX (no layer for HW acceleration), and the external display
was setup for DOCK mode, the dock_layer index was left undefined (-1)
and hence the behavior was unpredictable.
Change-Id: I69ff7795080f3257db70b5a6a143afca53924524
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
|
| |
| |
| |
| |
| |
| |
| | |
See https://android-git.corp.google.com/g/#/c/143865
Bug: 5449033
Change-Id: Ic854588fa661ebcc63395c388bf98af268b709c7
|
|/
|
|
|
|
|
|
|
|
|
|
| |
The dock plane index is set correctly, in the scenario
where there is no HW accelerated overlays.
Earlier in this scenario, where all the layers were composed
by SGX (no layer for HW acceleration), and the external display
was setup for DOCK mode, the dock_layer index was left undefined (-1)
and hence the behavior was unpredictable.
Change-Id: I69ff7795080f3257db70b5a6a143afca53924524
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fixes b/5475085
In secure playback mode, SGX does not have access to protected buffers and a
forced SGX usage results in an invalid frame to be rendered and displayed. This
patch disables SGX force usage if any of the layers is protected.
Change-Id: I188cf1639050687a96df42b310c12875fec383f7
Signed-off-by: Sunita Nadampalli <sunitan@ti.com>
Signed-off-by: Iliyan Malchev <malchev@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Prefer to use the same mode for docking as used for mirroring.
This avoids changing modes when playing low resolution videos, but
may produce worse quality on some TVs.
Added persist.hwc.avoid_mode_change property (default 1) so that
this behavior can be disabled.
Also, reworked mode scoring so that each term can be easily reordered.
Change-Id: Ie25aa4dba11d3922e510257e7a8e88d2379bb6d7
|
|
|
|
|
|
|
| |
Reduce delays while reconfiguring HDMI mode if the mode doesn't
actually change.
Change-Id: I72f30074f09a6440e12c9eff33bd5f71b8f37e85
|
|
|
|
|
|
|
|
|
| |
Slight changes in the aspect ratio of the external layer occur
when the layer is resized on screen due to rounding errors.
Add tolerance, so we do not reconfigure HDMI due to these slight
changes.
Change-Id: I4b1b4c5dfb80ebbd83e26eb78dd86269b756307c
|
|
|
|
| |
This reverts commit fe265d600bd8d8f17df5f0f0b387dbd4608562e8.
|
|
|
|
|
|
|
| |
This reverts commit c56ae9077b825d952a6498bd25afdfc4b344f929.
We believe this change is triggering another bug causing hangs.
Change-Id: I91cae91fbbfdde195a98ea7e14562cfc5894d466
|
|
|
|
|
|
|
|
| |
If no frame has been posted for 250ms, rerender using GL to take load off
the overlay engine.
Change-Id: I1790f7b7b43fd0d60b7392b9aec01339234aa915
Signed-off-by: Erik Gilling <konkers@android.com>
|